TooTallNate / node-speaker

Output PCM audio data to the speakers
650 stars 147 forks source link

Unable to change samples per frame #118

Open jfalameda opened 6 years ago

jfalameda commented 6 years ago

Hi,

I am following the provided sine wave generator. The writable is always requesting 4096 samples regardless of the value I provide to samplesPerFrame.

To reproduce just copy the sine example and initialize the Speaker with a value of 128.

Operative system OSX.

Kind Regards, / José.

weepy commented 3 years ago

+1 I have the same issue here , except my readable stream is always asked for 16384 !