You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I run MacOS 10.11.5. Regarding the given examples I would like to know if they should work out of the box and what the expected audio output should be. Maybe I have interpreted the examples wrongly but the following code should produce no hearable output (or even silence the system if music is running) but actually results in "tr-tr-tr-tr-..." noises coming out of the speakers that get louder over time.
varcoreAudio=require('node-core-audio')varengine=coreAudio.createNewAudioEngine()engine.addAudioCallback(processAudio)functionprocessAudio(buffer){console.log('%d channels',buffer.length)console.log('Channel 0 has %d samples',buffer[0].length)for(varsample=0;sample<buffer[0].length;sample++){buffer[0][sample]=0.0}returnbuffer}
The text was updated successfully, but these errors were encountered:
I run MacOS 10.11.5. Regarding the given examples I would like to know if they should work out of the box and what the expected audio output should be. Maybe I have interpreted the examples wrongly but the following code should produce no hearable output (or even silence the system if music is running) but actually results in "tr-tr-tr-tr-..." noises coming out of the speakers that get louder over time.
The text was updated successfully, but these errors were encountered: