| Bugs item #2959788, was opened at 2010-02-26 19:54
Message generated for change (Comment added) made by rene-djack
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=2959788&group_id=81968
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: csound
Group: csound5
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Rene Djack (rene-djack)
Assigned to: Michael Gogins (gogins)
Summary: STKShakers not stable in real time on UBUNTU
Initial Comment:
Below csd give seg fault on Ubuntu 32b when playing in RT with midi.
Problem occurs when playing around midi keys 57 to 61.
(all other STK opcodes are OK in real time)
-fdhnm0 -odac:plughw -b16 -B512 --expression-opt -+rtaudio=alsa -+rtmidi=alsa -Mhw:1,0 --midi-key=4
; MESSAGE : not stable; seg fault with midi-key 57 to 61
sr = 44100
ksmps = 16
nchnls = 1
0dbfs = 2.0
instr 1 ; STK Shakers
print p4
iHz = cpsmidinn(p4)
asig STKShakers iHz, 1.0, 1071, 22, 11, 1, 128, 100, 1, 30
out asig
endin
f 0 300
----------------------------------------------------------------------
>Comment By: Rene Djack (rene-djack)
Date: 2010-03-05 18:49
Message:
I'have done:
rt-midi play -> midi record -> midi file -> score file --->score
instrument
and isolate a faulty section as below, i have changed the frequency to the
same values.
-Wfd -+rtaudio=null -+rtmidi=null --expression-opt
sr = 44100
ksmps = 16
instr 1 ; STK Shakers
asig STKShakers p4, 1.0, 1071, 22, 11, 1, 128, 100, 1, 30
out asig*100000
endin
i 1 10.0 0.45 261.626
i 1 10.3 0.29 261.626
i 1 10.7 0.48 261.626
i 1 11.1 0.27 261.626
i 1 11.5 0.63 261.626
This give seg fault every time i run it.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody)
Date: 2010-03-04 17:49
Message:
I have tried with score activated (without midi), but i don't success to
have any seg fault.
Seg fault appears if i play "fast" on my midi keyboard.
Below midi note 57 no problem
Higher midi note 61 no problem
Between 57 and 61 seg fault
Note 57 and 59 played at the same time give seg fault, most of the time
but not always!!!
I will record a midi file to test with score.
Thanks
René
----------------------------------------------------------------------
Comment By: John ffitch (jpff)
Date: 2010-03-04 17:05
Message:
Does this fail without MIDI? That is, is it the high frequency?
----------------------------------------------------------------------
Comment By: John ffitch (jpff)
Date: 2010-02-28 18:30
Message:
This is Michael's code; referred to him
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=564599&aid=2959788&group_id=81968
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listi |