On Sunday, 4 February 2007 13:47, Stan Novogroudski wrote:
> I am going to implement harmonisation plug-in for rosegarden using
> LADSPA for my thesis.
>
> This plug-in will handle MIDI-Data : I'll take one voiced MIDI-file with
> sopran and "compose" alt, tenor and bass for this melody using rules of
> functionally harmonie. This rules are defined restricted and I'm going
> to implement this rules for rosegarden.  That is my intention.
>
> I am a musician in past (studied musician with diploma). Now I study CS
> in Berlin - Germany.
>
> I'll be very happy about any help and advises about MIDI-interfaces
> using in rosegarden (where is it be able to become MIDI-data), about
> code style guide and about possibilities to build in any plug-ins and
> functions.

I wouldn'r use LADSPA or DSSI for this project.

LADSPA takes digital audio (DA) input and produces DA output. And you want to 
handle MIDI data as input.

DSSI takes ALSA MIDI events (via OSC) as input, and delivers DA output. It is 
used to implement synthesizers. But you want to implement a note generator,  
perhaps to trigger different synthesizers, or even to record the output notes 
into Rosegarden MIDI tracks. DSSI is not useful for this.

My advice: make an ALSA Sequencer MIDI program. This is the system used by 
Rosegarden, so both programs would be compatible. Your program would offer a 
MIDI input port and a MIDI output port. The MIDI events received by the input 
port would be processed, and used to generate MIDI events in the output MIDI 
port. These ports can be connected using QJackCtl or aconnect to other MIDI 
controllers or synthesizers on the system (and also to Rosegarden, of 
course), so you can test your program isolated from Rosegarden, using for 
instance an external MIDI keyboard to send events to your program, and 
routing the output events to any MIDI synth as QSynth. The program would be 
useful as an standalone harmonizer, and also as a Rosegarden complement. 

You can use QMidiArp, an ALSA MIDI arpeggiator, as a programming model. But 
please, not as a model for a graphic user interface.  QMidiArp can be found 
here: http://alsamodular.sourceforge.net/
There is a simpler command-line version in this article:
miniArp: http://www.suse.de/~mana/alsa090_howto.html#sect07

Regards,
Pedro


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Rosegarden-devel mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-devel

Reply via email to