-
-
Save zeffii/98cd631b03c54efc215c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// if you hear clicks or get messages in the post window like 'late <some number>' | |
// then, for whatever reason, your soundcard isn't getting enough of each frame processed | |
// in time for the audio to be glitch-free | |
s.options.blockSize = 1024; // must be a multiple of 64 | |
s.latency = 1 // 1 second, 0.2 = 1/5 second etc. | |
// what about ASIO? | |
// Q: i've seen my soundcards after doing an s.boot; | |
// but don't know how to tell supercollider to use a specific device. | |
// A: Then prior to your next s.boot; do something like | |
// | |
// s.options.device = "ASIO : ASIO4ALL v2"; | |
( | |
s.options.numInputBusChannels_(2); // optional | |
s.options.numOutputBusChannels_(6); // optional | |
s.options.sampleRate = 44100; // optional | |
s.options.device = "ASIO : ASIO4ALL v2"; | |
s.boot; | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment