To do disk streaming, you will need to create multiple threads for reading from disc and synchronizing the threads. Each voice has its own file reading thread, and then you implement a mixer thread to blend the voices (notes).
The main issue here is that disc streaming is slow (there is a section of my new Synth book that addresses this issue), so one option is to pre-load the first bunch of samples from every file, then output those while you start your worker thread that streams from disc. Be careful, as there are patents out there regarding this very thing.
Most Users Ever Online: 152
Currently Browsing this Page:
Guest Posters: 1
Newest Members:John Fuhrman, YizAKat, studentcode, moritzsur_1, moritzsur, alehouse, Scarlett, kait, smadger, jcayetano
Moderators: W Pirkle: 515
Administrators: Tom: 74, JD Young: 80, Will Pirkle: 0, W Pirkle: 515, VariableCook: 3