79117483

Date: 2024-10-23 10:22:32
Score: 1
Natty:
Report link

One workaround I have found is to create a silent Wave object directy as follows:

sr = 22050
silence_length <- 1.5
silent_samples <- rep(0, sr * silence_length)
padding <- tuneR::Wave(left = silent_samples, bit = 16, samp.rate = sr)

But the original question remains about whether tuneR::silence() with bit=16 should work.

Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Simon Gillings