Csound Csound-dev Csound-tekno Search About

Re: [Csnd] UDO for printing audio signals

Date2013-03-15 07:52
From"vallste@libero.it"
SubjectRe: [Csnd] UDO for printing audio signals
Hi Joachim,
running on win XP (5.17.11 double) I get the following error:

error: syntax error, unexpected T_IDENT_A, expecting UDO_ARGS_TOKEN  (token 
"aPO") line 11:
>>>  opcode Print_a, 0, aPO  <<<
Parsing failed due to invalid input!
Stopping on parser failure

Ciao

Stefano


>----Messaggio originale----
>Da: jh@joachimheintz.de
>Data: 14/03/2013 22.20
>A: 
>Ogg: [Csnd] UDO for printing audio signals
>
>i came across steven's vaget opcode and thought it might be fairly easy 
>to write an udo for printing audio signals with it (something i have 
>missed several times, for debugging or teaching). here it is:
>http://www.csounds.com/udo/displayOpcode.php?opcode_id=178
>
>it works similar to printk, but the intervals between printing and the 
>number of starting spaces are at k-rate instead of i-rate, so you can 
>produce more funny images on your output console.
>
>as i have worked with formatters like "%%%ds %%.6f: [" in my code, i'd 
>be very thankful if someone could test the example on osx and windows, 
>because i am not sure if it works there, too.
>
>thanks in advance for any report -
>
>	joachim
>
>
>Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>Discussions of bugs and features can be posted here
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound"
>
>



Date2013-03-15 07:58
Frompeiman khosravi
SubjectRe: [Csnd] UDO for printing audio signals
Great. It's working here

P

On 15 March 2013 07:52, vallste@libero.it <vallste@libero.it> wrote:
Hi Joachim,
running on win XP (5.17.11 double) I get the following error:

error: syntax error, unexpected T_IDENT_A, expecting UDO_ARGS_TOKEN  (token
"aPO") line 11:
>>>  opcode Print_a, 0, aPO  <<<
Parsing failed due to invalid input!
Stopping on parser failure

Ciao

Stefano


>----Messaggio originale----
>Da: jh@joachimheintz.de
>Data: 14/03/2013 22.20
>A: <csound@lists.bath.ac.uk>
>Ogg: [Csnd] UDO for printing audio signals
>
>i came across steven's vaget opcode and thought it might be fairly easy
>to write an udo for printing audio signals with it (something i have
>missed several times, for debugging or teaching). here it is:
>http://www.csounds.com/udo/displayOpcode.php?opcode_id=178
>
>it works similar to printk, but the intervals between printing and the
>number of starting spaces are at k-rate instead of i-rate, so you can
>produce more funny images on your output console.
>
>as i have worked with formatters like "%%%ds %%.6f: [" in my code, i'd
>be very thankful if someone could test the example on osx and windows,
>because i am not sure if it works there, too.
>
>thanks in advance for any report -
>
>       joachim
>
>
>Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>Discussions of bugs and features can be posted here
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2013-03-15 09:38
Fromjoachim heintz
SubjectRe: [Csnd] UDO for printing audio signals
oh yes. i forgot to mention that you need csound 5.19. victor recently 
made it possible to use default k-variables (P: default=1, O: 
default=0). so should work when you upgrade to 5.19. thanks -
	joachim

Am 15.03.2013 08:52, schrieb vallste@libero.it:
> Hi Joachim,
> running on win XP (5.17.11 double) I get the following error:
>
> error: syntax error, unexpected T_IDENT_A, expecting UDO_ARGS_TOKEN  (token
> "aPO") line 11:
>>>>   opcode Print_a, 0, aPO  <<<
> Parsing failed due to invalid input!
> Stopping on parser failure
>
> Ciao
>
> Stefano
>
>
>> ----Messaggio originale----
>> Da: jh@joachimheintz.de
>> Data: 14/03/2013 22.20
>> A: 
>> Ogg: [Csnd] UDO for printing audio signals
>>
>> i came across steven's vaget opcode and thought it might be fairly easy
>> to write an udo for printing audio signals with it (something i have
>> missed several times, for debugging or teaching). here it is:
>> http://www.csounds.com/udo/displayOpcode.php?opcode_id=178
>>
>> it works similar to printk, but the intervals between printing and the
>> number of starting spaces are at k-rate instead of i-rate, so you can
>> produce more funny images on your output console.
>>
>> as i have worked with formatters like "%%%ds %%.6f: [" in my code, i'd
>> be very thankful if someone could test the example on osx and windows,
>> because i am not sure if it works there, too.
>>
>> thanks in advance for any report -
>>
>> 	joachim
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>>
>>
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>              https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>
>