Hi Nathan, using the audio render components is the wrong way to go here. You'd have to write a separate component which loops through all tracks and their patterns where each individual note should be handled and converted to a MIDI event to be stored in the output file. Later also automation could be taken into accout even though this is going to be rather complicated.
HTH Toby 2013-06-17 Nathan McCoy <[email protected]>: > I would like to implement MIDI export but I am having trouble following the > control flow and understanding a few things. > > it looks like when a project is "rendered" either a a "wav" or "ogg" type is > selected. I would like to add a new type and interface for the type "mid". > > the ProjectRenderer can either be a "AudioFileWav" or an "AudioFileOgg". > These are both inherited from AudioDevice which seems to get buffers of raw > wave data by its "getNextBuffer()" member function. I am not sure about how > to proceed from here, since MIDI data is a data sequence file, not a raw > wave file. > > Any ideas or input would be helpful since I am just getting my feet wet with > the overall control flow. > > Also, Should a new class be defined? or is there something existing that I > dont know of yet. thank you. > > Nathan > ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk _______________________________________________ LMMS-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/lmms-devel
