Hi, I think I have a plan for how to enable multiple songs to be played at one time.
We would need to have a new class/array to manage the songs similar to the playlist. Lets call it the sampleArray. The sampleArray will hold a reference for each item/object in the sampler interface (red boxes in the mockup). To start with each object would only be a Hydrogen song. We could split the the H2Core namespace into two parts. songEngine - The song management code like bpm, position, volume, etc... audioEngine - The code for audio/midi i/o like jack, alsaseq, etc... We manage songs with a songEngine and the songEngine sends it's output to the audioEngine. This would allow us to have multiple songs at one time. For midi i/o it might be easiest to start with a generic set of controls for each song and user defined controls for each object trigger in the sampler interface. What do you think? Cheers. -- Patrick Shirkey Boost Hardware Ltd ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Hydrogen-devel mailing list Hydrogen-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/hydrogen-devel