Csound Csound-dev Csound-tekno Search About

Re: [Csnd] Used before defined?

Date2011-09-05 03:08
From"Partev Barr Sarkissian"
SubjectRe: [Csnd] Used before defined?
I've been at this (on and off) since "the book" came out. I just
wish I had more time to devote and explore. As a result, I still
think of myself as sometime of a newbie too, so you're in good
company.


Happy exploring,
-Partev


============================================================



--- jclements77@gmail.com wrote:

From: John Clements 
To: "csound@lists.bath.ac.uk" 
Subject: Re: [Csnd] Used before defined?
Date: Sun, 4 Sep 2011 21:39:30 -0400

Thanks Partev, this is the kind of method that many of us newer Csound users love to hear about!

John Clements

On Sep 4, 2011, at 7:45 PM, "Partev Barr Sarkissian"  wrote:

> "Used before defined" --- happens to me often,....
> 
> go from this---
> 
> ifreqa init 0
> ifreqb init 0
> 
> instr 1
> 
> ifreqa = ifreqb
> ifreqb = cpsoct (p4)
> 
> 
> to this---
> 
> ifreqa init 0
> ifreqb init 0
> 
> instr 1
> 
> ifreqb = cpsoct (p4)  <-- specified, declared, defined
> ifreqa = ifreqb       <-- then used
> 
> 
> Happens to me more often than I like, but less often now.
> -Partev
> 
> 
> ==================================
> 
> 
> --- sounddesign3003@gmail.com wrote:
> 
> From: Dima Bak 
> To: csound@lists.bath.ac.uk
> Subject: [Csnd] Used before defined?
> Date: Wed, 31 Aug 2011 13:46:56 +0300
> 
> I  have  error when try to execute this csd. It says "input arg
> 'ifreqb' used before defined, line 17:"
> 
> Whats wrong? Thanks.
> 
> 
> 
> 
> 
> 
> sr = 44100
> kr = 4410
> ksmps = 10
> nchnls = 1
> 0dbfs = 4
> 
> ifreqa init 0
> ifreqb init 0
> 
> instr 1
> 
> ifreqa = ifreqb
> ifreqb = cpsoct (p4)
> 
> kfreqm line ifreqa,p3,ifreqb
> aout oscil 1,kfreqm,1
> out aout
> endin
> 
> 
> 
> 
> f 1 0 16384 9 1 1 90
> i1 0 2 8.0
> i1 + 2 8.7
> 
> 
> 
> 
> 
> 
> 
> _____________________________________________________________
> Netscape.  Just the Net You Need.
> 
> 
> 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"





_____________________________________________________________
Netscape.  Just the Net You Need.


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"

Date2011-09-05 03:38
FromJohn Clements
SubjectRe: [Csnd] Used before defined?
Cheers, and thanks!  

John Clements

On Sep 4, 2011, at 10:08 PM, "Partev Barr Sarkissian"  wrote:

> I've been at this (on and off) since "the book" came out. I just
> wish I had more time to devote and explore. As a result, I still
> think of myself as sometime of a newbie too, so you're in good
> company.
> 
> 
> Happy exploring,
> -Partev
> 
> 
> ============================================================
> 
> 
> 
> --- jclements77@gmail.com wrote:
> 
> From: John Clements 
> To: "csound@lists.bath.ac.uk" 
> Subject: Re: [Csnd] Used before defined?
> Date: Sun, 4 Sep 2011 21:39:30 -0400
> 
> Thanks Partev, this is the kind of method that many of us newer Csound users love to hear about!
> 
> John Clements
> 
> On Sep 4, 2011, at 7:45 PM, "Partev Barr Sarkissian"  wrote:
> 
>> "Used before defined" --- happens to me often,....
>> 
>> go from this---
>> 
>> ifreqa init 0
>> ifreqb init 0
>> 
>> instr 1
>> 
>> ifreqa = ifreqb
>> ifreqb = cpsoct (p4)
>> 
>> 
>> to this---
>> 
>> ifreqa init 0
>> ifreqb init 0
>> 
>> instr 1
>> 
>> ifreqb = cpsoct (p4)  <-- specified, declared, defined
>> ifreqa = ifreqb       <-- then used
>> 
>> 
>> Happens to me more often than I like, but less often now.
>> -Partev
>> 
>> 
>> ==================================
>> 
>> 
>> --- sounddesign3003@gmail.com wrote:
>> 
>> From: Dima Bak 
>> To: csound@lists.bath.ac.uk
>> Subject: [Csnd] Used before defined?
>> Date: Wed, 31 Aug 2011 13:46:56 +0300
>> 
>> I  have  error when try to execute this csd. It says "input arg
>> 'ifreqb' used before defined, line 17:"
>> 
>> Whats wrong? Thanks.
>> 
>> 
>> 
>> 
>> 
>> 
>> sr = 44100
>> kr = 4410
>> ksmps = 10
>> nchnls = 1
>> 0dbfs = 4
>> 
>> ifreqa init 0
>> ifreqb init 0
>> 
>> instr 1
>> 
>> ifreqa = ifreqb
>> ifreqb = cpsoct (p4)
>> 
>> kfreqm line ifreqa,p3,ifreqb
>> aout oscil 1,kfreqm,1
>> out aout
>> endin
>> 
>> 
>> 
>> 
>> f 1 0 16384 9 1 1 90
>> i1 0 2 8.0
>> i1 + 2 8.7
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> _____________________________________________________________
>> Netscape.  Just the Net You Need.
>> 
>> 
>> 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"
> 
> 
> 
> 
> 
> _____________________________________________________________
> Netscape.  Just the Net You Need.
> 
> 
> 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"