I R, thanks to the library sound
, we are able to create a sine wave:
s1 <- Sine(650, 1, 44100, 16, 2)
Plotting the waveform we obtain an image like this:
plot(s1[1:100])
The waveform moves in the interval [-1, +1]. If I play it, to what deciBel does it correspond?
How to generate a wave sound (with the same parameters), with a specified deciBel level (i.e. a wave sound, frequency 650Hz, duration 1 sec, sampling rate 44100, 16 bits, 2 channels, 55dB)?
Thanks in advance!