Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: RE: Re: Re: Re: MIDI controllers

Date2008-04-05 18:53
Fromvictor
Subject[Csnd] Re: Re: RE: Re: Re: Re: MIDI controllers
you don't need -+rtmidi=portmidi, it's the default.
-M0 should give a list.

Victor
----- Original Message ----- 
From: "Andres Cabrera" 
To: 
Sent: Saturday, April 05, 2008 6:31 PM
Subject: [Csnd] Re: RE: Re: Re: Re: MIDI controllers


I tried a very simple csd with just one instrument (instr 1) and no
mallocs or anyhting else. Maybe if you add -+rtmidi=portmidi it will
give you the list?

Cheers,
Andrés


On Sat, Apr 5, 2008 at 11:43 AM, Diego Saá  wrote:
>
> I just ran the csd without "-+rtmidi=virtual" and still, no messages are
> displayed in the console when I play the keyboard or move the knobs... 
> Guess
> there is some issue with OS X 10.5.2? Andres, could you please post any 
> csd
> that is actually working with MIDI in this OS?
>
> Diego
>
>
>
> ________________________________
> > From: Victor.Lazzarini@nuim.ie
>
> > To: csound@lists.bath.ac.uk
> > Date: Sat, 5 Apr 2008 16:56:41 +0100
> > Subject: [Csnd] Re: Re: Re: MIDI controllers
>
>
> >
> > Since portmidi has been built on 10.4, I would not be surprised if
> > midi was funny on 10.5. Apple has a tendency of introducing
> > incompatible changes to its APIs in new OS versions
> > that is very annoying.
> >
> > Victor
> > ----- Original Message -----
> > From: "Andres Cabrera" 
> > To: 
> > Sent: Saturday, April 05, 2008 4:49 PM
> > Subject: [Csnd] Re: Re: MIDI controllers
> >
> >
> > Yesterday I tried Csound5.08 in 10.5 and got a very strange behavior
> > with MIDI. It seemed that when just notes were received, all was OK,
> > but when I added a ctrl7 opcode and sent control messages from the
> > keyboard (modulation), the operating system lost communication with
> > the USB MIDI keyboard (an M-audio keystation) -no more input after a
> > few messages received, no matter if I restart csound- and I had to
> > disconnect/reconnect the keyboard. I don't have 10.5 available, so can
> > anyone confirm?
> >
> > Cheers,
> > Andrés
> >
> > On Sat, Apr 5, 2008 at 8:34 AM, victor  wrote:
> > >
> > >
> > > -+rtmidi=virtual is the FLTK keyboard, you don't want that. Just run
> > > the cSD without it. Csound will then use portmidi. Hopefully there are
> > > no midi issues with 10.5 (binaries are for 10.4).
> > >
> > > Victor
> > >
> > >
> > >
> > > ----- Original Message -----
> > >
> > > From: Diego Saá
> > > To: csound@lists.bath.ac.uk
> > > Sent: Saturday, April 05, 2008 9:20 AM
> > > Subject: [Csnd] MIDI controllers
> > >
> > > Hello, I just bought a M-audio keystation pro 88 MIDI controller
> keyboard
> > > which is connected via USB to my computer. I'm using MAC OS X version
> > > 10.5.2
> > > I want to control Csound with this keyboard, so as a first test, I
> pasted
> > > the midiin.csd code provided in Csound's documentation. I ran it, but 
> > > no
> > > messages are registered in the console when I turn the knobs or play 
> > > the
> > > keyboard. Any help would be very appreciated.
> > >
> > > This is the midiin.csd example code... Also, the virtual keyboard does
> not
> > > appear when I run this csd.
> > >
> > > 
> > > 
> > > -odac -iadc -d -+rtmidi=virtual -M0
> > > 
> > > 
> > >
> > > sr = 44100
> > > ksmps = 10
> > > nchnls = 1
> > >
> > > massign 0, 130 ; make sure that all channels
> > > pgmassign 0, 130 ; and programs are assigned to test instr
> > >
> > >
> > > instr 130
> > >
> > > knotelength init 0
> > > knoteontime init 0
> > >
> > > kstatus, kchan, kdata1, kdata2 midiin
> > >
> > > if (kstatus == 128) then
> > > knoteofftime times
> > > knotelength = knoteofftime - knoteontime
> > > printks "kstatus= %d, kchan = %d, \\tnote# = %d, velocity = %d \\tNote
> > > OFF\\t%f %f\\n", 0, kstatus, kchan, kdata1,kdata2, knoteofftime,
> > > knotelength
> > >
> > > elseif (kstatus == 144) then
> > > knoteontime times
> > > printks "kstatus= %d, kchan = %d, \\tnote# = %d, velocity = %d \\tNote
> > > ON\\t%f\\n", 0, kstatus, kchan, kdata1, kdata2, knoteontime
> > >
> > >
> > > elseif (kstatus == 160) then
> > > printks "kstatus= %d, kchan = %d, \\tkdata1 = %d, kdata2 = %d
> > > \\tPolyphonic
> > > Aftertouch\\n", 0, kstatus, kchan, kdata1, kdata2
> > >
> > > elseif (kstatus == 176) then
> > > printks "kstatus= %d, kchan = %d, \\t CC = %d, value = %d \\tControl
> > > Change\\n", 0, kstatus, kchan, kdata1, kdata2
> > >
> > > elseif (kstatus == 192) then
> > > printks "kstatus= %d, kchan = %d, \\tkdata1 = %d, kdata2 = %d 
> > > \\tProgram
> > > Change\\n", 0, kstatus, kchan, kdata1, kdata2
> > >
> > > elseif (kstatus == 208) then
> > > printks "kstatus= %d, kchan = %d, \\tkdata1 = %d, kdata2 = %d 
> > > \\tChannel
> > > Aftertouch\\n", 0, kstatus, kchan, kdata1, kdata2
> > >
> > > elseif (kstatus == 224) then
> > > printks "kstatus= %d, kchan = %d, \\t ( data1 , kdata2 ) = ( %d, %d
> > > )\\tPitch Bend\\n", 0, kstatus, kchan, kdata1, kdata2
> > >
> > > endif
> > >
> > > endin
> > >
> > > 
> > > 
> > > i130 0 3600
> > > e
> > > 
> > > 
> > > 
> > >
> > > ________________________________
> > > Kostenlos bloggen + eigene Homepage + Fotospeicher = MSN Spaces Hier
> > > klicken!
> >
> >
> > Send bugs reports to this list.
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> > csound"=
> >
> >
> >
> > Send bugs reports to this list.
> > To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
> ________________________________
> Kostenlos bloggen + eigene Homepage + Fotospeicher = MSN Spaces Kostenlos!


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound"=