Csound Csound-dev Csound-tekno Search About

[Csnd] drone.py

Date2013-12-04 19:08
Frommenno
Subject[Csnd] drone.py
This mail is especially intended for Michael Gogins.
I saw that some of the python examples were recently updated for use with
Csound6 and i wanted to give Drone.py a try.
Because i use jack i changed the Preview line (line 299) to: 
	'Preview':  '-+rtaudio=jack -o dac:system:playback_ -r48000 -k750
--env:RAWWAVE_PATH=/usr/local/share/csound/rawwaves ---midi-key=4
--midi-velocity=5 -+id_artist=%s -+id_copyright=Copyright_2007_by_%s
-+id_title=%s --output=%s' % (author, author, title, soundfileName),

which i presume to be correct. 

Then i ran drone.py with WinXound and the command line an got a segmentation
fault when i push the Play button.
I see the errors but do not know how to solve them.
Can you have a look at it?

drone.py.output
  



--
View this message in context: http://csound.1045644.n5.nabble.com/drone-py-tp5730553.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-05 09:25
FromMichael Gogins
SubjectRe: [Csnd] drone.py

I get this same error on Linux with Alsa and with rendering to soundfile. I will try to update this piece for Csound 6.

On Dec 4, 2013 8:08 PM, "menno" <nabob_cd@yahoo.com> wrote:
This mail is especially intended for Michael Gogins.
I saw that some of the python examples were recently updated for use with
Csound6 and i wanted to give Drone.py a try.
Because i use jack i changed the Preview line (line 299) to:
        'Preview':  '-+rtaudio=jack -o dac:system:playback_ -r48000 -k750
--env:RAWWAVE_PATH=/usr/local/share/csound/rawwaves ---midi-key=4
--midi-velocity=5 -+id_artist=%s -+id_copyright=Copyright_2007_by_%s
-+id_title=%s --output=%s' % (author, author, title, soundfileName),

which i presume to be correct.

Then i ran drone.py with WinXound and the command line an got a segmentation
fault when i push the Play button.
I see the errors but do not know how to solve them.
Can you have a look at it?

drone.py.output
<http://csound.1045644.n5.nabble.com/file/n5730553/drone.py.output>



--
View this message in context: http://csound.1045644.n5.nabble.com/drone-py-tp5730553.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-12-05 16:40
FromMichael Gogins
SubjectRe: [Csnd] drone.py
Attachmentsdrone.py  
I think i have fixed this (in git develop branch head, and attached to this emal). I believe the problem was caused by the way I using chnexport, or possibly even a bug in chnexport. I have replaced chnexport with an instrument that is always on and reads all the channels into variables.

Thanks for the info,
Mike


-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Dec 5, 2013 at 4:25 AM, Michael Gogins <michael.gogins@gmail.com> wrote:

I get this same error on Linux with Alsa and with rendering to soundfile. I will try to update this piece for Csound 6.

On Dec 4, 2013 8:08 PM, "menno" <nabob_cd@yahoo.com> wrote:
This mail is especially intended for Michael Gogins.
I saw that some of the python examples were recently updated for use with
Csound6 and i wanted to give Drone.py a try.
Because i use jack i changed the Preview line (line 299) to:
        'Preview':  '-+rtaudio=jack -o dac:system:playback_ -r48000 -k750
--env:RAWWAVE_PATH=/usr/local/share/csound/rawwaves ---midi-key=4
--midi-velocity=5 -+id_artist=%s -+id_copyright=Copyright_2007_by_%s
-+id_title=%s --output=%s' % (author, author, title, soundfileName),

which i presume to be correct.

Then i ran drone.py with WinXound and the command line an got a segmentation
fault when i push the Play button.
I see the errors but do not know how to solve them.
Can you have a look at it?

drone.py.output
<http://csound.1045644.n5.nabble.com/file/n5730553/drone.py.output>



--
View this message in context: http://csound.1045644.n5.nabble.com/drone-py-tp5730553.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"




Date2013-12-05 18:32
Frommenno
Subject[Csnd] Re: drone.py
With Preview a drone.py.wave is created and when i play it back in Audacity i
notice 2 things:
- it's beautiful!
- i notice a small DC offset, but i'm sure i can put in dcblock somewhere in
the code,  or the butterhp opcode.

Also, with choosing the Audio button (and adapting the csound command to
reflect that i am running jack) i could manipulate the sound in real time.

thanks for the fix!




--
View this message in context: http://csound.1045644.n5.nabble.com/drone-py-tp5730553p5730598.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-05 19:36
Frommenno
Subject[Csnd] Re: drone.py
it could be the reason why CsoundAC.csd is producing undefined errors all the
time; it may have to do with this bug in chnexport? The whole csd is running
on it...
Does CsoundAC.csd together with Lindenmayer.py work on your Linux box?



--
View this message in context: http://csound.1045644.n5.nabble.com/drone-py-tp5730553p5730599.html
Sent from the Csound - General mailing list archive at Nabble.com.

Date2013-12-05 21:19
FromMichael Gogins
SubjectRe: [Csnd] Re: drone.py
I think there are other problems, but I will try it, and fix the problems if I can, perhaps tomorrow, maybe the next day.

Thanks,
Mike


-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


On Thu, Dec 5, 2013 at 2:36 PM, menno <nabob_cd@yahoo.com> wrote:
it could be the reason why CsoundAC.csd is producing undefined errors all the
time; it may have to do with this bug in chnexport? The whole csd is running
on it...
Does CsoundAC.csd together with Lindenmayer.py work on your Linux box?



--
View this message in context: http://csound.1045644.n5.nabble.com/drone-py-tp5730553p5730599.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug trackers
csound6:
            https://sourceforge.net/p/csound/tickets/
csound5:
            https://sourceforge.net/p/csound/bugs/
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"