Csound Csound-dev Csound-tekno Search About

[Cs-dev] Midi Sequencer - error of importance?

Date2015-05-06 11:10
FromMenno Knevel
Subject[Cs-dev] Midi Sequencer - error of importance?
Hi dev,
I am using and testing the Midi Sequencer driver and it all seems to work. I
am thinking about rewriting the Midi section for Linux in the manual but
there is still something not clear to me about the output text of Csound:
 *** error reading MIDI device: -2 (Unknown MIDI error)

So somewhere there is something not right, or is it just a warning that one
could ignore?

Here is the csd, using midiin and midiout:  alsaseq02.csd
  
It all works well: notes are being played on my synth module using my
(hardware)midikeyboard.

And here is all the output of Csound, running inside blue:
Render Command ( csound -+msg_color=false -+rtaudio=JACK -o
dac:system:playback_ -M 1 -d -m135 -+rtmidi=alsaseq -M16 -Q16
/home/menno/onderzoek/MIDI Raw and MIDI
Sequencer/tempCsd5832484901845297480.csd
--env:SFDIR=/home/menno/onderzoek/MIDI Raw and MIDI Sequencer )
UnifiedCSD:  /home/menno/onderzoek/MIDI Raw and MIDI
Sequencer/tempCsd5832484901845297480.csd
STARTING FILE
Creating orchestra
Creating score
Error: define environment variable RAWWAVE_PATH
(points to rawwaves directory) to use STK opcodes.
rtaudio: JACK module enabled
Elapsed time at end of orchestra compile: real: 0.005s, CPU: 0.005s
sorting score ...
	... done
Elapsed time at end of score sort: real: 0.005s, CPU: 0.005s
ALSASEQ: opened MIDI output sequencer
ALSASEQ: created output port 'Csound' 130:0
ALSASEQ: connected to 16:0
--Csound version 6.04 (double samples) Apr 27 2015
midi channel 1 using instr 130
midi channel 2 using instr 130
midi channel 3 using instr 130
midi channel 4 using instr 130
midi channel 5 using instr 130
midi channel 6 using instr 130
midi channel 7 using instr 130
midi channel 8 using instr 130
midi channel 9 using instr 130
midi channel 10 using instr 130
midi channel 11 using instr 130
midi channel 12 using instr 130
midi channel 13 using instr 130
midi channel 14 using instr 130
midi channel 15 using instr 130
midi channel 16 using instr 130
displays suppressed
0dBFS level = 32768.0
chnl 1 using instr 130
chnl 2 using instr 130
chnl 3 using instr 130
chnl 4 using instr 130
chnl 5 using instr 130
chnl 6 using instr 130
chnl 7 using instr 130
chnl 8 using instr 130
chnl 9 using instr 130
chnl 10 using instr 130
chnl 11 using instr 130
chnl 12 using instr 130
chnl 13 using instr 130
chnl 14 using instr 130
chnl 15 using instr 130
chnl 16 using instr 130
ALSASEQ: opened MIDI input sequencer
ALSASEQ: created input port 'Csound' 131:0
ALSASEQ: connected from 16:0
orch now loaded
audio buffered in 256 sample-frame blocks
 0: dac:system:playback_ (system:playback_)
 1: dac:PulseAudio JACK Source:front-left (PulseAudio JACK
Source:front-left)
 2: dac:PulseAudio JACK Source:front-right (PulseAudio JACK
Source:front-right)
 3: dac:PulseAudio JACK Source:rear-left (PulseAudio JACK Source:rear-left)
 4: dac:PulseAudio JACK Source:rear-right (PulseAudio JACK
Source:rear-right)
 5: dac:PulseAudio JACK Source:front-center (PulseAudio JACK
Source:front-center)
 6: dac:PulseAudio JACK Source:lfe (PulseAudio JACK Source:lfe)
 7: dac:PulseAudio JACK Source:side-left (PulseAudio JACK Source:side-left)
 8: dac:PulseAudio JACK Source:side-right (PulseAudio JACK
Source:side-right)
 9: dac:PulseAudio JACK Source:aux (PulseAudio JACK Source:aux)
writing 256 sample blks of 64-bit floats to dac:system:playback_ 
SECTION 1:
new alloc for instr 130:
new alloc for instr 131:
 *** error reading MIDI device: -2 (Unknown MIDI error)
 *** error reading MIDI device: -2 (Unknown MIDI error)
WARNING: rtjack: xrun in real time audio
  rtevent:	   T  1.963 TT  1.963 M:      0.0
new MIDI alloc for instr 130:
kstatus= 144, kchan = 1, 	note#  = 59, velocity = 67 	Note ON	1.963333
  rtevent:	   T  2.389 TT  2.389 M:      0.0
kstatus= 144, kchan = 1, 	note#  = 59, velocity = 0 	Note ON	2.390000
  rtevent:	   T  2.571 TT  2.571 M:      0.0
kstatus= 144, kchan = 1, 	note#  = 57, velocity = 72 	Note ON	2.571333
  rtevent:	   T  2.875 TT  2.875 M:      0.0
new MIDI alloc for instr 130:
kstatus= 144, kchan = 1, 	note#  = 62, velocity = 63 	Note ON	2.875333
kstatus= 144, kchan = 1, 	note#  = 62, velocity = 63 	Note ON	2.875333
  rtevent:	   T  3.051 TT  3.051 M:      0.0
kstatus= 144, kchan = 1, 	note#  = 57, velocity = 0 	Note ON	3.051333
kstatus= 144, kchan = 1, 	note#  = 57, velocity = 0 	Note ON	3.051333
  rtevent:	   T  3.109 TT  3.109 M:      0.0
kstatus= 144, kchan = 1, 	note#  = 62, velocity = 0 	Note ON	3.110000
inactive allocs returned to freespace
end of score.		   overall amps:      0.0
	   overall samples out of range:        0
0 errors in performance
Elapsed time at end of performance: real: 9.832s, CPU: 0.680s
1821 256 sample blks of 64-bit floats written to dac:system:playback_



--
View this message in context: http://csound.1045644.n5.nabble.com/Midi-Sequencer-error-of-importance-tp5741389.html
Sent from the Csound - Dev mailing list archive at Nabble.com.

------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net