[CLAM] Play a note with MIDI

Xavier Amatriain xavier at create.ucsb.edu
Tue May 8 10:56:09 PDT 2007


(just copying my answer at irc, in case it is useful to anybody else)

At this point all the documentation we have on this is on the source
code. You should look at the MIDI_Synthesizer_example.cxx

On Mon, 2007-05-07 at 15:06 +0200, Simonin Vincent wrote:
> I can say that the other clam examples (playing a sound and read a mp3 tag)
> function well. But I'm a bit lost with the MIDI part. =) So I'm still looking
> for help.
> 
> Thanks
> 
> Vince
> 
> 
> -------- Message d'origine--------
> De: clam-bounces at iua.upf.edu de la part de Simonin Vincent
> Date: jeu. 26/04/2007 14:57
> À: clam at iua.upf.edu
> Objet : [CLAM] Play a note with MIDI
>  
> Hi !
>  
> I'm starting with CLAM and I'm trying to play a musical note (i.e. A at 440 Hz) with MIDI.
>  
> I have read the examples et the documentation about MIDI using CLAM but I'm not sure about what I'm doing because of some troubles with wavtables on OpenSUSE (I must use Timidity to play some MIDI files on my computer).
>  
> Must I start with the MIDIOut example to play some sound with MIDI (I'm not sure to understand this example, especially what DoControl do) ? Where can I find some examples or documentation to play some MIDI notes or chord with CLAM ?
>  
> Thanks for help
>  
> Vince
> 
> _______________________________________________
> CLAM mailing list
> CLAM at iua.upf.es
> http://www.iua.upf.es/mtg/clam
> 
> 
> 
> 
> 
> _______________________________________________
> CLAM mailing list
> CLAM at iua.upf.es
> http://www.iua.upf.es/mtg/clam
-- 
/*********************************
 *       Xavier Amatriain        *
 *  Associate Director - MATi    *
 *  Research Director - CREATE   *
 *    UCSB, Santa Barbara CA     *
 *      1-(805)- 893 83 52       *
 ********************************/





More information about the clam-users mailing list