[Csnd] specify opcode output type
Date | 2013-12-06 07:58 |
From | Tarmo Johannes |
Subject | [Csnd] specify opcode output type |
Hi,
I cannot find info, if I want to use adsr in an expression in a rate like:
a1 oscili adsr(0.05,0.1,0.4,p3*0.75)*0.1,cpsmidinn(p4),-1
how do I do that?
a1 oscili adsr.a(0.05,0.1,0.4,p3*0.75)*0.1,cpsmidinn(p4),-1
gives an error
error: syntax error, unexpected T_OPCODEB, expecting NEWLINE or ',' (token "a") line 12: >>>a1 oscili adsr.a <<<
thanks!
tarmo |
Date | 2013-12-06 08:33 |
From | Rory Walsh |
Subject | Re: [Csnd] specify opcode output type |
adsr:k() I think? sent from a mobile device... On 6 Dec 2013 07:56, "Tarmo Johannes" <tarmo.johannes@otsakool.edu.ee> wrote:
|
Date | 2013-12-06 08:38 |
From | Tarmo Johannes |
Subject | Re: [Csnd] specify opcode output type |
That was, it, <opcode>':'<type>, thanks!
tarmo
On Friday 06 December 2013 08:33:31 Rory Walsh wrote: adsr:k() I think? sent from a mobile device... On 6 Dec 2013 07:56, "Tarmo Johannes" <tarmo.johannes@otsakool.edu.ee> wrote: Hi,
I cannot find info, if I want to use adsr in an expression in a rate like:
a1 oscili adsr(0.05,0.1,0.4,p3*0.75)*0.1,cpsmidinn(p4),-1
how do I do that?
a1 oscili adsr.a(0.05,0.1,0.4,p3*0.75)*0.1,cpsmidinn(p4),-1
gives an error
error: syntax error, unexpected T_OPCODEB, expecting NEWLINE or ',' (token "a") line 12: >>>a1 oscili adsr.a <<<
thanks!
tarmo |
Date | 2013-12-06 08:51 |
From | David Worrall |
Subject | Re: [Csnd] drone.py |
or a1 oscili adsr.a(0.05,0.1,0.4,p3*0.75)*0.1,cpsmidinn(p4),-1 On 05.12.2013, at 22:19, Michael Gogins <michael.gogins@gmail.com> wrote:
a1 oscili adsr.a(0.05,0.1,0.4,(p3*0.75)*0.1,cpsmidinn(p4),-1 perhaps?
______________________________________ Prof. Dr. David Worrall Emerging Audio Research (EAR) Audio Department International Audio Laboratories Erlangen Fraunhofer-Institut für Integrierte Schaltungen IIS Am Wolfsmantel 33 91058 Erlangen Telefon +49 (0) 91 31 / 7 76-62 44 Fax +49 (0) 91 31 / 7 76-20 99 E-Mail: david.worrall@iis.fraunhofer.de Internet: www.iis.fraunhofer.de |
Date | 2013-12-06 08:52 |
From | David Worrall |
Subject | Re: [Csnd] drone.py |
forget my suggestion - i need to find my glasses! D. On 06.12.2013, at 09:51, David Worrall <david.worrall@iis.fraunhofer.de> wrote:
______________________________________ Prof. Dr. David Worrall Emerging Audio Research (EAR) Audio Department International Audio Laboratories Erlangen Fraunhofer-Institut für Integrierte Schaltungen IIS Am Wolfsmantel 33 91058 Erlangen Telefon +49 (0) 91 31 / 7 76-62 44 Fax +49 (0) 91 31 / 7 76-20 99 E-Mail: david.worrall@iis.fraunhofer.de Internet: www.iis.fraunhofer.de |
Date | 2013-12-09 20:48 |
From | Michael Gogins |
Subject | Re: [Csnd] drone.py |
I have fixed, in the develop branch, the errors that were causing Menno problems with the examples/python/Lindenmayer.py script. This is not a good piece of music, but it does now work. I had to make several changes to both CsoundAC.csd and to the Lindenmayer.py script itself. I also made a change to frontends/CsoundAC/MusicModel.cpp but I am not sure it is required.
The changes were to put in comments in Lindenmayer.py with instructions on where and how to run it, to take an f 0 statement no longer required out of CsoundAC.csd, and to #ifdef out VST opcodes that may not exist on the user's computer.
I will try to make this piece produce better music as well, in the coming days. Regards, Mike ----------------------------------------------------- Michael GoginsIrreducible Productions http://michaelgogins.tumblr.com Michael dot Gogins at gmail dot com On Fri, Dec 6, 2013 at 3:52 AM, David Worrall <david.worrall@iis.fraunhofer.de> wrote:
|