Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] re: crash when enabling midi on and out

Date2006-01-20 14:54
FromMichael Gogins
SubjectRe: [Cs-dev] re: crash when enabling midi on and out
The PortMidi Windows timer DLL is not initialized. Is it present in your PATH?

Regards,
Mike

-----Original Message-----
>From: Oeyvind Brandtsegg 
>Sent: Jan 20, 2006 6:20 AM
>To: csound-devel@lists.sourceforge.net
>Subject: [Cs-dev] re: crash when enabling midi on and out
>
>I forgot to tell how csound crashes...
>This is the console print (I'm using csound via csnd module in python)
>
>E:\Csound\csd\develop\modules\flyndra>Main_CsFlyndra.py
>Localisation of messages is disabled, using default language.
>time resolution is 279.365 ns
>csound loaded
>BEGAN CppSound::compile()...
>BEGAN CppSound::compile(3, 00972790)...
>PortMIDI real time MIDI plugin for Csound
>PortAudio real-time audio module for Csound
>PortAudio real-time audio module for Csound
>Windows MME real time audio and MIDI module for Csound by Istvan Varga
>0dBFS level = 32768.0
>Csound version 5.00.0rc2 beta (double samples) Jan 15 2006
>libsndfile-1.0.11
>orchname:  temp.orc
>scorename: temp.sco
>rtaudio: PortAudio module enabled ... using callback interface
>rtaudio: PortAudio module enabled ... using callback interface
>rtmidi: PortMIDI module enabled
>orch compiler:
>845 lines read
>        instr   501
>        instr   1001
>        instr   1003
>        instr   1004
>        instr   1100
>        instr   1101
>        instr   1110
>        instr   8001
>        instr   9899
>        instr   9999
>sorting score ...
>        ... done
>PortMIDI: selected output device 3: 'MIDI Yoke NT:  2' (MMSystem)
>Csound version 5.00.0rc2 beta (double samples) Jan 15 2006
>midi channel 1 using instr 501
>midi channel 2 using instr 501
>midi channel 3 using instr 501
>midi channel 4 using instr 501
>midi channel 5 using instr 501
>midi channel 6 using instr 501
>midi channel 7 using instr 501
>midi channel 8 using instr 501
>midi channel 9 using instr 501
>midi channel 10 using instr 501
>midi channel 11 using instr 501
>midi channel 12 using instr 501
>midi channel 13 using instr 501
>midi channel 14 using instr 501
>midi channel 15 using instr 501
>midi channel 16 using instr 501
>displays suppressed
>0dBFS level = 32768.0
>audio sr = 44100, monaural
>opening WAV infile Zyne_3v_harmonic_100110_a.wav
> *** error initialising PortTime
> *** error opening MIDI in device: -1 (Unknown MIDI error)
>ENDED CppSound::compile.
>ENDED CppSound::compile.
> *** PortMIDI: error polling input device
> *** error reading MIDI device: -1 (Unknown MIDI error)
>





-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2006-01-23 10:11
FromOeyvind Brandtsegg
Subjectre: [Cs-dev] re: crash when enabling midi on and out
I think the 
> > *** error initialising PortTime
just is related to the fact the PortMidi does not tackle opening both input and output,
as it seems it can't initialize (input) when another port (output) has already been opened.
There is not errors related to PortMidi or PortTime when I use only midi input or only midi output, so I think the application can find my dll.

Can you open in and out simultaneously on your system ?
I can, if I use mme midi, but not if I use portmidi. 

best
Oeyvind




> From: Michael Gogins [gogins@pipeline.com]
> Sent: 2006-01-20 15:54:53 CET
> To: csound-devel@lists.sourceforge.net
> Subject: Re: [Cs-dev] re: crash when enabling midi on and out
> 
> The PortMidi Windows timer DLL is not initialized. Is it present in your PATH?
> 
> Regards,
> Mike
> 
> -----Original Message-----
> >From: Oeyvind Brandtsegg 
> >Sent: Jan 20, 2006 6:20 AM
> >To: csound-devel@lists.sourceforge.net
> >Subject: [Cs-dev] re: crash when enabling midi on and out
> >
> >I forgot to tell how csound crashes...
> >This is the console print (I'm using csound via csnd module in python)
> >
> >E:\Csound\csd\develop\modules\flyndra>Main_CsFlyndra.py
> >Localisation of messages is disabled, using default language.
> >time resolution is 279.365 ns
> >csound loaded
> >BEGAN CppSound::compile()...
> >BEGAN CppSound::compile(3, 00972790)...
> >PortMIDI real time MIDI plugin for Csound
> >PortAudio real-time audio module for Csound
> >PortAudio real-time audio module for Csound
> >Windows MME real time audio and MIDI module for Csound by Istvan Varga
> >0dBFS level = 32768.0
> >Csound version 5.00.0rc2 beta (double samples) Jan 15 2006
> >libsndfile-1.0.11
> >orchname:  temp.orc
> >scorename: temp.sco
> >rtaudio: PortAudio module enabled ... using callback interface
> >rtaudio: PortAudio module enabled ... using callback interface
> >rtmidi: PortMIDI module enabled
> >orch compiler:
> >845 lines read
> >        instr   501
> >        instr   1001
> >        instr   1003
> >        instr   1004
> >        instr   1100
> >        instr   1101
> >        instr   1110
> >        instr   8001
> >        instr   9899
> >        instr   9999
> >sorting score ...
> >        ... done
> >PortMIDI: selected output device 3: 'MIDI Yoke NT:  2' (MMSystem)
> >Csound version 5.00.0rc2 beta (double samples) Jan 15 2006
> >midi channel 1 using instr 501
> >midi channel 2 using instr 501
> >midi channel 3 using instr 501
> >midi channel 4 using instr 501
> >midi channel 5 using instr 501
> >midi channel 6 using instr 501
> >midi channel 7 using instr 501
> >midi channel 8 using instr 501
> >midi channel 9 using instr 501
> >midi channel 10 using instr 501
> >midi channel 11 using instr 501
> >midi channel 12 using instr 501
> >midi channel 13 using instr 501
> >midi channel 14 using instr 501
> >midi channel 15 using instr 501
> >midi channel 16 using instr 501
> >displays suppressed
> >0dBFS level = 32768.0
> >audio sr = 44100, monaural
> >opening WAV infile Zyne_3v_harmonic_100110_a.wav
> > *** error initialising PortTime
> > *** error opening MIDI in device: -1 (Unknown MIDI error)
> >ENDED CppSound::compile.
> >ENDED CppSound::compile.
> > *** PortMIDI: error polling input device
> > *** error reading MIDI device: -1 (Unknown MIDI error)
> >
> 
> 
> 
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>