Csound Csound-dev Csound-tekno Search About

[Csnd] Re: midi broken?

Date2008-10-11 23:20
Fromvictor
Subject[Csnd] Re: midi broken?
If pmidi worked, then alsa works too: it's just a different
way of specifing devices

Try
$amidi -l

to list devices and then

-Mhw:1,0

etc to select them. I only use alsa midi on Linux and it works
very well, including with virtual devices (soft connections).

Victor


----- Original Message ----- 
From: "menno" 
To: 
Sent: Saturday, October 11, 2008 9:11 PM
Subject: [Csnd] midi broken?


>
> Hi Victor,
>
> -+rtaudio=alsa makes no midi in/out available on my machine.
> But you're right, libpmidi.so was not included in the csound packages i
> installed from the Suse repo. I took this lib from the source package and
> now i can use my midi devices again :)
>
> thanks for the help,
> Menno
>
>
>
> Victor Lazzarini wrote:
>>
>> Looks like you don't have the portmidi module (libpmidi.so). Never mind,
>> you can use alsa. Just use -+rtaudio=alsa
>>
>> Victor
>> ----- Original Message ----- 
>> From: "menno" 
>> To: 
>> Sent: Saturday, October 11, 2008 8:05 PM
>> Subject: [Csnd] midi broken?
>>
>>
>>>
>>> Can it be that midi in/out is broken in 5.09?
>>> (I'm on OpenSuse11.0)
>>>
>>>
>>> virtual_keyboard real time MIDI plugin for Csound
>>> PortAudio real-time audio module for Csound
>>> 0dBFS level = 32768.0
>>> Csound version 5.09 (float samples) Oct  4 2008
>>> libsndfile-1.0.17
>>> UnifiedCSD:  /home/menno/data/blue_data/tests/tempCsd36889.csd
>>> STARTING FILE
>>> Creating orchestra
>>> Creating score
>>> orchname:  /tmp/fileI3PeC6.orc
>>> scorename: /tmp/fileU9Jhww.sco
>>> rtaudio: ALSA module enabled
>>> orch compiler:
>>> 52 lines read
>>> instr 1
>>> instr 2
>>> instr 3
>>> instr 4
>>> Elapsed time at end of orchestra compile: real: 0.008s, CPU: 0.010s
>>> sorting score ...
>>> ... done
>>> Elapsed time at end of score sort: real: 0.008s, CPU: 0.010s
>>> error: -+rtmidi='portmidi': unknown module
>>> *** error opening MIDI out device: -1 (Unknown MIDI error)
>>>
>>> thanks,
>>> Menno
>>>
>>> -----
>>> http://www.jamendo.com/de/album/6789/
>>> http://www.jamendo.com/en/album/7428/
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/midi-broken--tp19935497p19935497.html
>>> Sent from the Csound - General mailing list archive at Nabble.com.
>>>
>>>
>>>
>>> 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"
>>
>>
>
>
> -----
> http://www.jamendo.com/de/album/6789/
> http://www.jamendo.com/en/album/7428/
> -- 
> View this message in context: 
> http://www.nabble.com/midi-broken--tp19935497p19936043.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2008-10-12 12:28
FromDave Phillips
Subject[Csnd] Re: Re: midi broken?
victor wrote:
>
>
> ----- Original Message ----- From: "menno" 
>
>
>>
>>
>> -+rtaudio=alsa makes no midi in/out available on my machine.
>> But you're right, libpmidi.so was not included in the csound packages i
>> installed from the Suse repo. I took this lib from the source package 
>> and
>> now i can use my midi devices again :)
>>
>>
>>
>> Victor Lazzarini wrote:
>>>
>>> Looks like you don't have the portmidi module (libpmidi.so). Never 
>>> mind,
>>> you can use alsa. Just use -+rtaudio=alsa

I believe Victor meant "use -+rtmidi=alsa". Then use the -Mhw:0,0 
specifier for the appropriate ALSA device.

Works for me. :)

Best,

dp