Csound Csound-dev Csound-tekno Search About

[Csnd] opcode quick reference

Date2011-04-22 18:03
FromAdam Puckett
Subject[Csnd] opcode quick reference
Hi,

The Quick Reference of the Canonical Csound Reference Manual is
missing some important sections: namely the Signal Flow Graph Opcodes
and the Jacko Opcodes section.

Adam


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-04-22 18:38
FromRory Walsh
SubjectRe: [Csnd] opcode quick reference
What version of Csound are you running? They were added in 5.11 I think?

On 22 April 2011 18:03, Adam Puckett  wrote:
> Hi,
>
> The Quick Reference of the Canonical Csound Reference Manual is
> missing some important sections: namely the Signal Flow Graph Opcodes
> and the Jacko Opcodes section.
>
> Adam
>
>
> 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"


Date2011-04-22 18:47
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
Csound 5.13 for Windows, double version.

On 4/22/11, Rory Walsh  wrote:
> What version of Csound are you running? They were added in 5.11 I think?
>
> On 22 April 2011 18:03, Adam Puckett  wrote:
>> Hi,
>>
>> The Quick Reference of the Canonical Csound Reference Manual is
>> missing some important sections: namely the Signal Flow Graph Opcodes
>> and the Jacko Opcodes section.
>>
>> Adam
>>
>>
>> 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"
>
>


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-04-22 18:49
FromRory Walsh
SubjectRe: [Csnd] opcode quick reference
You should be able to get the reference pages up from doing a search.
Check out Mike's article in the Csound journal for help on using them.
Post here if you've any problems.

On 22 April 2011 18:47, Adam Puckett  wrote:
> Csound 5.13 for Windows, double version.
>
> On 4/22/11, Rory Walsh  wrote:
>> What version of Csound are you running? They were added in 5.11 I think?
>>
>> On 22 April 2011 18:03, Adam Puckett  wrote:
>>> Hi,
>>>
>>> The Quick Reference of the Canonical Csound Reference Manual is
>>> missing some important sections: namely the Signal Flow Graph Opcodes
>>> and the Jacko Opcodes section.
>>>
>>> Adam
>>>
>>>
>>> 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"
>>
>>
>
>
> 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"


Date2011-04-22 19:09
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
Can I connect numbered instruments to each other using them?

On 4/22/11, Rory Walsh  wrote:
> You should be able to get the reference pages up from doing a search.
> Check out Mike's article in the Csound journal for help on using them.
> Post here if you've any problems.
>
> On 22 April 2011 18:47, Adam Puckett  wrote:
>> Csound 5.13 for Windows, double version.
>>
>> On 4/22/11, Rory Walsh  wrote:
>>> What version of Csound are you running? They were added in 5.11 I think?
>>>
>>> On 22 April 2011 18:03, Adam Puckett  wrote:
>>>> Hi,
>>>>
>>>> The Quick Reference of the Canonical Csound Reference Manual is
>>>> missing some important sections: namely the Signal Flow Graph Opcodes
>>>> and the Jacko Opcodes section.
>>>>
>>>> Adam
>>>>
>>>>
>>>> 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"
>>>
>>>
>>
>>
>> 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"
>
>


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-04-22 19:15
FromRory Walsh
SubjectRe: [Csnd] opcode quick reference
Someone reported a problem with this before. I can't recall what the
outcome to the thread was. For me it's ok to use named instruments. I
never did in the past but it's easy to update my instruments by giving
them names.

On 22 April 2011 19:09, Adam Puckett  wrote:
> Can I connect numbered instruments to each other using them?
>
> On 4/22/11, Rory Walsh  wrote:
>> You should be able to get the reference pages up from doing a search.
>> Check out Mike's article in the Csound journal for help on using them.
>> Post here if you've any problems.
>>
>> On 22 April 2011 18:47, Adam Puckett  wrote:
>>> Csound 5.13 for Windows, double version.
>>>
>>> On 4/22/11, Rory Walsh  wrote:
>>>> What version of Csound are you running? They were added in 5.11 I think?
>>>>
>>>> On 22 April 2011 18:03, Adam Puckett  wrote:
>>>>> Hi,
>>>>>
>>>>> The Quick Reference of the Canonical Csound Reference Manual is
>>>>> missing some important sections: namely the Signal Flow Graph Opcodes
>>>>> and the Jacko Opcodes section.
>>>>>
>>>>> Adam
>>>>>
>>>>>
>>>>> 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"
>>>>
>>>>
>>>
>>>
>>> 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"
>>
>>
>
>
> 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"


Date2011-04-22 19:26
FromMichael Gogins
SubjectRe: [Csnd] opcode quick reference
Yes.

Mike

On Fri, Apr 22, 2011 at 2:15 PM, Rory Walsh <rorywalsh@ear.ie> wrote:
Someone reported a problem with this before. I can't recall what the
outcome to the thread was. For me it's ok to use named instruments. I
never did in the past but it's easy to update my instruments by giving
them names.

On 22 April 2011 19:09, Adam Puckett <adotsdothmusic@gmail.com> wrote:
> Can I connect numbered instruments to each other using them?
>
> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>> You should be able to get the reference pages up from doing a search.
>> Check out Mike's article in the Csound journal for help on using them.
>> Post here if you've any problems.
>>
>> On 22 April 2011 18:47, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>> Csound 5.13 for Windows, double version.
>>>
>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>> What version of Csound are you running? They were added in 5.11 I think?
>>>>
>>>> On 22 April 2011 18:03, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>>>> Hi,
>>>>>
>>>>> The Quick Reference of the Canonical Csound Reference Manual is
>>>>> missing some important sections: namely the Signal Flow Graph Opcodes
>>>>> and the Jacko Opcodes section.
>>>>>
>>>>> Adam
>>>>>
>>>>>
>>>>> 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"
>>>>
>>>>
>>>
>>>
>>> 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"
>>
>>
>
>
> 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"




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2011-04-22 19:27
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
I get no audio when trying it the numbered way. But here's an
interesting hack: you can connect numbered instruments by surrounding
the numbers in quotes, thereby tricking Csound into thinking they're
named. Example:

connect "1", "out", "2", "in"

Problem solved!

Adam

On 4/22/11, Rory Walsh  wrote:
> Someone reported a problem with this before. I can't recall what the
> outcome to the thread was. For me it's ok to use named instruments. I
> never did in the past but it's easy to update my instruments by giving
> them names.
>
> On 22 April 2011 19:09, Adam Puckett  wrote:
>> Can I connect numbered instruments to each other using them?
>>
>> On 4/22/11, Rory Walsh  wrote:
>>> You should be able to get the reference pages up from doing a search.
>>> Check out Mike's article in the Csound journal for help on using them.
>>> Post here if you've any problems.
>>>
>>> On 22 April 2011 18:47, Adam Puckett  wrote:
>>>> Csound 5.13 for Windows, double version.
>>>>
>>>> On 4/22/11, Rory Walsh  wrote:
>>>>> What version of Csound are you running? They were added in 5.11 I
>>>>> think?
>>>>>
>>>>> On 22 April 2011 18:03, Adam Puckett  wrote:
>>>>>> Hi,
>>>>>>
>>>>>> The Quick Reference of the Canonical Csound Reference Manual is
>>>>>> missing some important sections: namely the Signal Flow Graph Opcodes
>>>>>> and the Jacko Opcodes section.
>>>>>>
>>>>>> Adam
>>>>>>
>>>>>>
>>>>>> 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"
>>>>>
>>>>>
>>>>
>>>>
>>>> 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"
>>>
>>>
>>
>>
>> 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"
>
>


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-04-22 19:31
FromRory Walsh
SubjectRe: [Csnd] opcode quick reference
I imagine that's actually the way Mike implemented it. I could be
wrong but it looks eloquent enough to be a feature.

On 22 April 2011 19:27, Adam Puckett  wrote:
> I get no audio when trying it the numbered way. But here's an
> interesting hack: you can connect numbered instruments by surrounding
> the numbers in quotes, thereby tricking Csound into thinking they're
> named. Example:
>
> connect "1", "out", "2", "in"
>
> Problem solved!
>
> Adam
>
> On 4/22/11, Rory Walsh  wrote:
>> Someone reported a problem with this before. I can't recall what the
>> outcome to the thread was. For me it's ok to use named instruments. I
>> never did in the past but it's easy to update my instruments by giving
>> them names.
>>
>> On 22 April 2011 19:09, Adam Puckett  wrote:
>>> Can I connect numbered instruments to each other using them?
>>>
>>> On 4/22/11, Rory Walsh  wrote:
>>>> You should be able to get the reference pages up from doing a search.
>>>> Check out Mike's article in the Csound journal for help on using them.
>>>> Post here if you've any problems.
>>>>
>>>> On 22 April 2011 18:47, Adam Puckett  wrote:
>>>>> Csound 5.13 for Windows, double version.
>>>>>
>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>> What version of Csound are you running? They were added in 5.11 I
>>>>>> think?
>>>>>>
>>>>>> On 22 April 2011 18:03, Adam Puckett  wrote:
>>>>>>> Hi,
>>>>>>>
>>>>>>> The Quick Reference of the Canonical Csound Reference Manual is
>>>>>>> missing some important sections: namely the Signal Flow Graph Opcodes
>>>>>>> and the Jacko Opcodes section.
>>>>>>>
>>>>>>> Adam
>>>>>>>
>>>>>>>
>>>>>>> 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"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> 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"
>>>>
>>>>
>>>
>>>
>>> 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"
>>
>>
>
>
> 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"


Date2011-04-22 19:36
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
Philosophically it is a hack in my opinion because the types are
different. It's almost type coercion.

Adam

On 4/22/11, Rory Walsh  wrote:
> I imagine that's actually the way Mike implemented it. I could be
> wrong but it looks eloquent enough to be a feature.
>
> On 22 April 2011 19:27, Adam Puckett  wrote:
>> I get no audio when trying it the numbered way. But here's an
>> interesting hack: you can connect numbered instruments by surrounding
>> the numbers in quotes, thereby tricking Csound into thinking they're
>> named. Example:
>>
>> connect "1", "out", "2", "in"
>>
>> Problem solved!
>>
>> Adam
>>
>> On 4/22/11, Rory Walsh  wrote:
>>> Someone reported a problem with this before. I can't recall what the
>>> outcome to the thread was. For me it's ok to use named instruments. I
>>> never did in the past but it's easy to update my instruments by giving
>>> them names.
>>>
>>> On 22 April 2011 19:09, Adam Puckett  wrote:
>>>> Can I connect numbered instruments to each other using them?
>>>>
>>>> On 4/22/11, Rory Walsh  wrote:
>>>>> You should be able to get the reference pages up from doing a search.
>>>>> Check out Mike's article in the Csound journal for help on using them.
>>>>> Post here if you've any problems.
>>>>>
>>>>> On 22 April 2011 18:47, Adam Puckett  wrote:
>>>>>> Csound 5.13 for Windows, double version.
>>>>>>
>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>> What version of Csound are you running? They were added in 5.11 I
>>>>>>> think?
>>>>>>>
>>>>>>> On 22 April 2011 18:03, Adam Puckett 
>>>>>>> wrote:
>>>>>>>> Hi,
>>>>>>>>
>>>>>>>> The Quick Reference of the Canonical Csound Reference Manual is
>>>>>>>> missing some important sections: namely the Signal Flow Graph
>>>>>>>> Opcodes
>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>
>>>>>>>> Adam
>>>>>>>>
>>>>>>>>
>>>>>>>> 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"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> 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"
>>>>>
>>>>>
>>>>
>>>>
>>>> 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"
>>>
>>>
>>
>>
>> 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"
>
>


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-04-22 19:53
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
It seems like the Signal Flow Graph opcodes would not allow you to
bend notes after they are playing, because wouldn't that involve
essentially a feedback loop and use of the i() opcode with the k-rate
inlet signal being its argument? E.G.:

instr Bend
kin inleta "bendin"
ioldvalue = i(kin)
kout line ioldvalue, p3, p4
outleta "bendout", kout
endin

I'll test that to see if it works.

Adam


On 4/22/11, Adam Puckett  wrote:
> Philosophically it is a hack in my opinion because the types are
> different. It's almost type coercion.
>
> Adam
>
> On 4/22/11, Rory Walsh  wrote:
>> I imagine that's actually the way Mike implemented it. I could be
>> wrong but it looks eloquent enough to be a feature.
>>
>> On 22 April 2011 19:27, Adam Puckett  wrote:
>>> I get no audio when trying it the numbered way. But here's an
>>> interesting hack: you can connect numbered instruments by surrounding
>>> the numbers in quotes, thereby tricking Csound into thinking they're
>>> named. Example:
>>>
>>> connect "1", "out", "2", "in"
>>>
>>> Problem solved!
>>>
>>> Adam
>>>
>>> On 4/22/11, Rory Walsh  wrote:
>>>> Someone reported a problem with this before. I can't recall what the
>>>> outcome to the thread was. For me it's ok to use named instruments. I
>>>> never did in the past but it's easy to update my instruments by giving
>>>> them names.
>>>>
>>>> On 22 April 2011 19:09, Adam Puckett  wrote:
>>>>> Can I connect numbered instruments to each other using them?
>>>>>
>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>> You should be able to get the reference pages up from doing a search.
>>>>>> Check out Mike's article in the Csound journal for help on using
>>>>>> them.
>>>>>> Post here if you've any problems.
>>>>>>
>>>>>> On 22 April 2011 18:47, Adam Puckett 
>>>>>> wrote:
>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>
>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>> What version of Csound are you running? They were added in 5.11 I
>>>>>>>> think?
>>>>>>>>
>>>>>>>> On 22 April 2011 18:03, Adam Puckett 
>>>>>>>> wrote:
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> The Quick Reference of the Canonical Csound Reference Manual is
>>>>>>>>> missing some important sections: namely the Signal Flow Graph
>>>>>>>>> Opcodes
>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>
>>>>>>>>> Adam
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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"
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 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"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> 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"
>>>>
>>>>
>>>
>>>
>>> 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"
>>
>>
>


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-04-22 19:54
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
Sorry, I meant:

kin inletk "bendin"

Adam

On 4/22/11, Adam Puckett  wrote:
> It seems like the Signal Flow Graph opcodes would not allow you to
> bend notes after they are playing, because wouldn't that involve
> essentially a feedback loop and use of the i() opcode with the k-rate
> inlet signal being its argument? E.G.:
>
> instr Bend
> kin inleta "bendin"
> ioldvalue = i(kin)
> kout line ioldvalue, p3, p4
> outleta "bendout", kout
> endin
>
> I'll test that to see if it works.
>
> Adam
>
>
> On 4/22/11, Adam Puckett  wrote:
>> Philosophically it is a hack in my opinion because the types are
>> different. It's almost type coercion.
>>
>> Adam
>>
>> On 4/22/11, Rory Walsh  wrote:
>>> I imagine that's actually the way Mike implemented it. I could be
>>> wrong but it looks eloquent enough to be a feature.
>>>
>>> On 22 April 2011 19:27, Adam Puckett  wrote:
>>>> I get no audio when trying it the numbered way. But here's an
>>>> interesting hack: you can connect numbered instruments by surrounding
>>>> the numbers in quotes, thereby tricking Csound into thinking they're
>>>> named. Example:
>>>>
>>>> connect "1", "out", "2", "in"
>>>>
>>>> Problem solved!
>>>>
>>>> Adam
>>>>
>>>> On 4/22/11, Rory Walsh  wrote:
>>>>> Someone reported a problem with this before. I can't recall what the
>>>>> outcome to the thread was. For me it's ok to use named instruments. I
>>>>> never did in the past but it's easy to update my instruments by giving
>>>>> them names.
>>>>>
>>>>> On 22 April 2011 19:09, Adam Puckett  wrote:
>>>>>> Can I connect numbered instruments to each other using them?
>>>>>>
>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>> You should be able to get the reference pages up from doing a
>>>>>>> search.
>>>>>>> Check out Mike's article in the Csound journal for help on using
>>>>>>> them.
>>>>>>> Post here if you've any problems.
>>>>>>>
>>>>>>> On 22 April 2011 18:47, Adam Puckett 
>>>>>>> wrote:
>>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>>
>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>> What version of Csound are you running? They were added in 5.11 I
>>>>>>>>> think?
>>>>>>>>>
>>>>>>>>> On 22 April 2011 18:03, Adam Puckett 
>>>>>>>>> wrote:
>>>>>>>>>> Hi,
>>>>>>>>>>
>>>>>>>>>> The Quick Reference of the Canonical Csound Reference Manual is
>>>>>>>>>> missing some important sections: namely the Signal Flow Graph
>>>>>>>>>> Opcodes
>>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>>
>>>>>>>>>> Adam
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 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"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 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"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> 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"
>>>>>
>>>>>
>>>>
>>>>
>>>> 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"
>>>
>>>
>>
>


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-04-22 20:08
FromRory Walsh
SubjectRe: [Csnd] opcode quick reference
As long as an instrument is still playing it can be affected by any
other one. In this example instrument TRIGGER is always on and starts
instrument OSCIL which has it's frequency controlled by instrument LFO
which is also always on. Slightly convoluted example but it works
fine.



-odac -g


sr = 44100
ksmps = 32
nchnls = 2
0dbfs = 1

; Connect up the instruments to create a signal flow graph.
connect "LFO",   "leftout",     "OSCIL",     	"leftin"
connect "LFO",   "rightout",     "OSCIL",     	"leftout"

alwayson "TRIGGER"
alwayson "LFO"


instr TRIGGER
kmet metro 1
Sname = "OSCIL"
if(kmet==1) then
event "i", Sname, 0, 1
endif
endin

instr LFO
isine ftgenonce 0, 0, 4096, 10, 1
a1 oscil 1, 1, isine
outleta "leftout", a1
outleta "rightout", a1
endin

instr OSCIL
aenv linen 1, .2, p3, .2
aleftin inleta "leftin"
arightin inleta "rightin"
isine ftgenonce 0, 0, 4096, 10, 1
a1 oscil 1, aleftin*1000, isine
outs aenv*a1, aenv*a1
endin



f0 3600





On 22 April 2011 19:54, Adam Puckett  wrote:
> Sorry, I meant:
>
> kin inletk "bendin"
>
> Adam
>
> On 4/22/11, Adam Puckett  wrote:
>> It seems like the Signal Flow Graph opcodes would not allow you to
>> bend notes after they are playing, because wouldn't that involve
>> essentially a feedback loop and use of the i() opcode with the k-rate
>> inlet signal being its argument? E.G.:
>>
>> instr Bend
>> kin inleta "bendin"
>> ioldvalue = i(kin)
>> kout line ioldvalue, p3, p4
>> outleta "bendout", kout
>> endin
>>
>> I'll test that to see if it works.
>>
>> Adam
>>
>>
>> On 4/22/11, Adam Puckett  wrote:
>>> Philosophically it is a hack in my opinion because the types are
>>> different. It's almost type coercion.
>>>
>>> Adam
>>>
>>> On 4/22/11, Rory Walsh  wrote:
>>>> I imagine that's actually the way Mike implemented it. I could be
>>>> wrong but it looks eloquent enough to be a feature.
>>>>
>>>> On 22 April 2011 19:27, Adam Puckett  wrote:
>>>>> I get no audio when trying it the numbered way. But here's an
>>>>> interesting hack: you can connect numbered instruments by surrounding
>>>>> the numbers in quotes, thereby tricking Csound into thinking they're
>>>>> named. Example:
>>>>>
>>>>> connect "1", "out", "2", "in"
>>>>>
>>>>> Problem solved!
>>>>>
>>>>> Adam
>>>>>
>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>> Someone reported a problem with this before. I can't recall what the
>>>>>> outcome to the thread was. For me it's ok to use named instruments. I
>>>>>> never did in the past but it's easy to update my instruments by giving
>>>>>> them names.
>>>>>>
>>>>>> On 22 April 2011 19:09, Adam Puckett  wrote:
>>>>>>> Can I connect numbered instruments to each other using them?
>>>>>>>
>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>> You should be able to get the reference pages up from doing a
>>>>>>>> search.
>>>>>>>> Check out Mike's article in the Csound journal for help on using
>>>>>>>> them.
>>>>>>>> Post here if you've any problems.
>>>>>>>>
>>>>>>>> On 22 April 2011 18:47, Adam Puckett 
>>>>>>>> wrote:
>>>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>>>
>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>> What version of Csound are you running? They were added in 5.11 I
>>>>>>>>>> think?
>>>>>>>>>>
>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett 
>>>>>>>>>> wrote:
>>>>>>>>>>> Hi,
>>>>>>>>>>>
>>>>>>>>>>> The Quick Reference of the Canonical Csound Reference Manual is
>>>>>>>>>>> missing some important sections: namely the Signal Flow Graph
>>>>>>>>>>> Opcodes
>>>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>>>
>>>>>>>>>>> Adam
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 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"
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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"
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 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"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> 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"
>>>>
>>>>
>>>
>>
>
>
> 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"


Date2011-04-22 20:14
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
Yes, that works. What I'm trying to do is a little different: bend a
note at a certain time that note is playing so its frequency will rise
or fall that number of semitones.

Adam

On 4/22/11, Rory Walsh  wrote:
> As long as an instrument is still playing it can be affected by any
> other one. In this example instrument TRIGGER is always on and starts
> instrument OSCIL which has it's frequency controlled by instrument LFO
> which is also always on. Slightly convoluted example but it works
> fine.
>
> 
> 
> -odac -g
> 
> 
> sr = 44100
> ksmps = 32
> nchnls = 2
> 0dbfs = 1
>
> ; Connect up the instruments to create a signal flow graph.
> connect "LFO",   "leftout",     "OSCIL",     	"leftin"
> connect "LFO",   "rightout",     "OSCIL",     	"leftout"
>
> alwayson "TRIGGER"
> alwayson "LFO"
>
>
> instr TRIGGER
> kmet metro 1
> Sname = "OSCIL"
> if(kmet==1) then
> event "i", Sname, 0, 1
> endif
> endin
>
> instr LFO
> isine ftgenonce 0, 0, 4096, 10, 1
> a1 oscil 1, 1, isine
> outleta "leftout", a1
> outleta "rightout", a1
> endin
>
> instr OSCIL
> aenv linen 1, .2, p3, .2
> aleftin inleta "leftin"
> arightin inleta "rightin"
> isine ftgenonce 0, 0, 4096, 10, 1
> a1 oscil 1, aleftin*1000, isine
> outs aenv*a1, aenv*a1
> endin
>
> 
> 
> f0 3600
> 
> 
>
>
>
> On 22 April 2011 19:54, Adam Puckett  wrote:
>> Sorry, I meant:
>>
>> kin inletk "bendin"
>>
>> Adam
>>
>> On 4/22/11, Adam Puckett  wrote:
>>> It seems like the Signal Flow Graph opcodes would not allow you to
>>> bend notes after they are playing, because wouldn't that involve
>>> essentially a feedback loop and use of the i() opcode with the k-rate
>>> inlet signal being its argument? E.G.:
>>>
>>> instr Bend
>>> kin inleta "bendin"
>>> ioldvalue = i(kin)
>>> kout line ioldvalue, p3, p4
>>> outleta "bendout", kout
>>> endin
>>>
>>> I'll test that to see if it works.
>>>
>>> Adam
>>>
>>>
>>> On 4/22/11, Adam Puckett  wrote:
>>>> Philosophically it is a hack in my opinion because the types are
>>>> different. It's almost type coercion.
>>>>
>>>> Adam
>>>>
>>>> On 4/22/11, Rory Walsh  wrote:
>>>>> I imagine that's actually the way Mike implemented it. I could be
>>>>> wrong but it looks eloquent enough to be a feature.
>>>>>
>>>>> On 22 April 2011 19:27, Adam Puckett  wrote:
>>>>>> I get no audio when trying it the numbered way. But here's an
>>>>>> interesting hack: you can connect numbered instruments by surrounding
>>>>>> the numbers in quotes, thereby tricking Csound into thinking they're
>>>>>> named. Example:
>>>>>>
>>>>>> connect "1", "out", "2", "in"
>>>>>>
>>>>>> Problem solved!
>>>>>>
>>>>>> Adam
>>>>>>
>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>> Someone reported a problem with this before. I can't recall what the
>>>>>>> outcome to the thread was. For me it's ok to use named instruments. I
>>>>>>> never did in the past but it's easy to update my instruments by
>>>>>>> giving
>>>>>>> them names.
>>>>>>>
>>>>>>> On 22 April 2011 19:09, Adam Puckett 
>>>>>>> wrote:
>>>>>>>> Can I connect numbered instruments to each other using them?
>>>>>>>>
>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>> You should be able to get the reference pages up from doing a
>>>>>>>>> search.
>>>>>>>>> Check out Mike's article in the Csound journal for help on using
>>>>>>>>> them.
>>>>>>>>> Post here if you've any problems.
>>>>>>>>>
>>>>>>>>> On 22 April 2011 18:47, Adam Puckett 
>>>>>>>>> wrote:
>>>>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>>>>
>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>> What version of Csound are you running? They were added in 5.11 I
>>>>>>>>>>> think?
>>>>>>>>>>>
>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett 
>>>>>>>>>>> wrote:
>>>>>>>>>>>> Hi,
>>>>>>>>>>>>
>>>>>>>>>>>> The Quick Reference of the Canonical Csound Reference Manual is
>>>>>>>>>>>> missing some important sections: namely the Signal Flow Graph
>>>>>>>>>>>> Opcodes
>>>>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>>>>
>>>>>>>>>>>> Adam
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> 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"
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 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"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 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"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> 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"
>>>>>
>>>>>
>>>>
>>>
>>
>>
>> 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"
>
>


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-04-22 20:20
FromRory Walsh
SubjectRe: [Csnd] opcode quick reference
And why do you need to patch the output of one instrument to another
to do this? What's stopping you from just writing a standalone
instrument that does this? Do you know what I mean?

On 22 April 2011 20:14, Adam Puckett  wrote:
> Yes, that works. What I'm trying to do is a little different: bend a
> note at a certain time that note is playing so its frequency will rise
> or fall that number of semitones.
>
> Adam
>
> On 4/22/11, Rory Walsh  wrote:
>> As long as an instrument is still playing it can be affected by any
>> other one. In this example instrument TRIGGER is always on and starts
>> instrument OSCIL which has it's frequency controlled by instrument LFO
>> which is also always on. Slightly convoluted example but it works
>> fine.
>>
>> 
>> 
>> -odac -g
>> 
>> 
>> sr = 44100
>> ksmps = 32
>> nchnls = 2
>> 0dbfs = 1
>>
>> ; Connect up the instruments to create a signal flow graph.
>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>> connect "LFO",   "rightout",     "OSCIL",             "leftout"
>>
>> alwayson "TRIGGER"
>> alwayson "LFO"
>>
>>
>> instr TRIGGER
>> kmet metro 1
>> Sname = "OSCIL"
>> if(kmet==1) then
>> event "i", Sname, 0, 1
>> endif
>> endin
>>
>> instr LFO
>> isine ftgenonce 0, 0, 4096, 10, 1
>> a1 oscil 1, 1, isine
>> outleta "leftout", a1
>> outleta "rightout", a1
>> endin
>>
>> instr OSCIL
>> aenv linen 1, .2, p3, .2
>> aleftin inleta "leftin"
>> arightin inleta "rightin"
>> isine ftgenonce 0, 0, 4096, 10, 1
>> a1 oscil 1, aleftin*1000, isine
>> outs aenv*a1, aenv*a1
>> endin
>>
>> 
>> 
>> f0 3600
>> 
>> 
>>
>>
>>
>> On 22 April 2011 19:54, Adam Puckett  wrote:
>>> Sorry, I meant:
>>>
>>> kin inletk "bendin"
>>>
>>> Adam
>>>
>>> On 4/22/11, Adam Puckett  wrote:
>>>> It seems like the Signal Flow Graph opcodes would not allow you to
>>>> bend notes after they are playing, because wouldn't that involve
>>>> essentially a feedback loop and use of the i() opcode with the k-rate
>>>> inlet signal being its argument? E.G.:
>>>>
>>>> instr Bend
>>>> kin inleta "bendin"
>>>> ioldvalue = i(kin)
>>>> kout line ioldvalue, p3, p4
>>>> outleta "bendout", kout
>>>> endin
>>>>
>>>> I'll test that to see if it works.
>>>>
>>>> Adam
>>>>
>>>>
>>>> On 4/22/11, Adam Puckett  wrote:
>>>>> Philosophically it is a hack in my opinion because the types are
>>>>> different. It's almost type coercion.
>>>>>
>>>>> Adam
>>>>>
>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>> I imagine that's actually the way Mike implemented it. I could be
>>>>>> wrong but it looks eloquent enough to be a feature.
>>>>>>
>>>>>> On 22 April 2011 19:27, Adam Puckett  wrote:
>>>>>>> I get no audio when trying it the numbered way. But here's an
>>>>>>> interesting hack: you can connect numbered instruments by surrounding
>>>>>>> the numbers in quotes, thereby tricking Csound into thinking they're
>>>>>>> named. Example:
>>>>>>>
>>>>>>> connect "1", "out", "2", "in"
>>>>>>>
>>>>>>> Problem solved!
>>>>>>>
>>>>>>> Adam
>>>>>>>
>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>> Someone reported a problem with this before. I can't recall what the
>>>>>>>> outcome to the thread was. For me it's ok to use named instruments. I
>>>>>>>> never did in the past but it's easy to update my instruments by
>>>>>>>> giving
>>>>>>>> them names.
>>>>>>>>
>>>>>>>> On 22 April 2011 19:09, Adam Puckett 
>>>>>>>> wrote:
>>>>>>>>> Can I connect numbered instruments to each other using them?
>>>>>>>>>
>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>> You should be able to get the reference pages up from doing a
>>>>>>>>>> search.
>>>>>>>>>> Check out Mike's article in the Csound journal for help on using
>>>>>>>>>> them.
>>>>>>>>>> Post here if you've any problems.
>>>>>>>>>>
>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett 
>>>>>>>>>> wrote:
>>>>>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>>>>>
>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>> What version of Csound are you running? They were added in 5.11 I
>>>>>>>>>>>> think?
>>>>>>>>>>>>
>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett 
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>
>>>>>>>>>>>>> The Quick Reference of the Canonical Csound Reference Manual is
>>>>>>>>>>>>> missing some important sections: namely the Signal Flow Graph
>>>>>>>>>>>>> Opcodes
>>>>>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>>>>>
>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 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"
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 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"
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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"
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 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"
>>>>>>
>>>>>>
>>>>>
>>>>
>>>
>>>
>>> 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"
>>
>>
>
>
> 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"


Date2011-04-22 20:25
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
Because I need to perform an indefinite number of bends over the
duration of one note.

On 4/22/11, Rory Walsh  wrote:
> And why do you need to patch the output of one instrument to another
> to do this? What's stopping you from just writing a standalone
> instrument that does this? Do you know what I mean?
>
> On 22 April 2011 20:14, Adam Puckett  wrote:
>> Yes, that works. What I'm trying to do is a little different: bend a
>> note at a certain time that note is playing so its frequency will rise
>> or fall that number of semitones.
>>
>> Adam
>>
>> On 4/22/11, Rory Walsh  wrote:
>>> As long as an instrument is still playing it can be affected by any
>>> other one. In this example instrument TRIGGER is always on and starts
>>> instrument OSCIL which has it's frequency controlled by instrument LFO
>>> which is also always on. Slightly convoluted example but it works
>>> fine.
>>>
>>> 
>>> 
>>> -odac -g
>>> 
>>> 
>>> sr = 44100
>>> ksmps = 32
>>> nchnls = 2
>>> 0dbfs = 1
>>>
>>> ; Connect up the instruments to create a signal flow graph.
>>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>>> connect "LFO",   "rightout",     "OSCIL",             "leftout"
>>>
>>> alwayson "TRIGGER"
>>> alwayson "LFO"
>>>
>>>
>>> instr TRIGGER
>>> kmet metro 1
>>> Sname = "OSCIL"
>>> if(kmet==1) then
>>> event "i", Sname, 0, 1
>>> endif
>>> endin
>>>
>>> instr LFO
>>> isine ftgenonce 0, 0, 4096, 10, 1
>>> a1 oscil 1, 1, isine
>>> outleta "leftout", a1
>>> outleta "rightout", a1
>>> endin
>>>
>>> instr OSCIL
>>> aenv linen 1, .2, p3, .2
>>> aleftin inleta "leftin"
>>> arightin inleta "rightin"
>>> isine ftgenonce 0, 0, 4096, 10, 1
>>> a1 oscil 1, aleftin*1000, isine
>>> outs aenv*a1, aenv*a1
>>> endin
>>>
>>> 
>>> 
>>> f0 3600
>>> 
>>> 
>>>
>>>
>>>
>>> On 22 April 2011 19:54, Adam Puckett  wrote:
>>>> Sorry, I meant:
>>>>
>>>> kin inletk "bendin"
>>>>
>>>> Adam
>>>>
>>>> On 4/22/11, Adam Puckett  wrote:
>>>>> It seems like the Signal Flow Graph opcodes would not allow you to
>>>>> bend notes after they are playing, because wouldn't that involve
>>>>> essentially a feedback loop and use of the i() opcode with the k-rate
>>>>> inlet signal being its argument? E.G.:
>>>>>
>>>>> instr Bend
>>>>> kin inleta "bendin"
>>>>> ioldvalue = i(kin)
>>>>> kout line ioldvalue, p3, p4
>>>>> outleta "bendout", kout
>>>>> endin
>>>>>
>>>>> I'll test that to see if it works.
>>>>>
>>>>> Adam
>>>>>
>>>>>
>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>> Philosophically it is a hack in my opinion because the types are
>>>>>> different. It's almost type coercion.
>>>>>>
>>>>>> Adam
>>>>>>
>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>> I imagine that's actually the way Mike implemented it. I could be
>>>>>>> wrong but it looks eloquent enough to be a feature.
>>>>>>>
>>>>>>> On 22 April 2011 19:27, Adam Puckett 
>>>>>>> wrote:
>>>>>>>> I get no audio when trying it the numbered way. But here's an
>>>>>>>> interesting hack: you can connect numbered instruments by
>>>>>>>> surrounding
>>>>>>>> the numbers in quotes, thereby tricking Csound into thinking they're
>>>>>>>> named. Example:
>>>>>>>>
>>>>>>>> connect "1", "out", "2", "in"
>>>>>>>>
>>>>>>>> Problem solved!
>>>>>>>>
>>>>>>>> Adam
>>>>>>>>
>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>> Someone reported a problem with this before. I can't recall what
>>>>>>>>> the
>>>>>>>>> outcome to the thread was. For me it's ok to use named instruments.
>>>>>>>>> I
>>>>>>>>> never did in the past but it's easy to update my instruments by
>>>>>>>>> giving
>>>>>>>>> them names.
>>>>>>>>>
>>>>>>>>> On 22 April 2011 19:09, Adam Puckett 
>>>>>>>>> wrote:
>>>>>>>>>> Can I connect numbered instruments to each other using them?
>>>>>>>>>>
>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>> You should be able to get the reference pages up from doing a
>>>>>>>>>>> search.
>>>>>>>>>>> Check out Mike's article in the Csound journal for help on using
>>>>>>>>>>> them.
>>>>>>>>>>> Post here if you've any problems.
>>>>>>>>>>>
>>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett 
>>>>>>>>>>> wrote:
>>>>>>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>>>>>>
>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>> What version of Csound are you running? They were added in 5.11
>>>>>>>>>>>>> I
>>>>>>>>>>>>> think?
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett 
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> The Quick Reference of the Canonical Csound Reference Manual
>>>>>>>>>>>>>> is
>>>>>>>>>>>>>> missing some important sections: namely the Signal Flow Graph
>>>>>>>>>>>>>> Opcodes
>>>>>>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> 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"
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 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"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 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"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>
>>>>
>>>> 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"
>>>
>>>
>>
>>
>> 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"
>
>


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-04-22 20:39
FromRory Walsh
SubjectRe: [Csnd] opcode quick reference
And you want a signal from another instrument to determine the number of bends?

On 22 April 2011 20:25, Adam Puckett  wrote:
> Because I need to perform an indefinite number of bends over the
> duration of one note.
>
> On 4/22/11, Rory Walsh  wrote:
>> And why do you need to patch the output of one instrument to another
>> to do this? What's stopping you from just writing a standalone
>> instrument that does this? Do you know what I mean?
>>
>> On 22 April 2011 20:14, Adam Puckett  wrote:
>>> Yes, that works. What I'm trying to do is a little different: bend a
>>> note at a certain time that note is playing so its frequency will rise
>>> or fall that number of semitones.
>>>
>>> Adam
>>>
>>> On 4/22/11, Rory Walsh  wrote:
>>>> As long as an instrument is still playing it can be affected by any
>>>> other one. In this example instrument TRIGGER is always on and starts
>>>> instrument OSCIL which has it's frequency controlled by instrument LFO
>>>> which is also always on. Slightly convoluted example but it works
>>>> fine.
>>>>
>>>> 
>>>> 
>>>> -odac -g
>>>> 
>>>> 
>>>> sr = 44100
>>>> ksmps = 32
>>>> nchnls = 2
>>>> 0dbfs = 1
>>>>
>>>> ; Connect up the instruments to create a signal flow graph.
>>>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>>>> connect "LFO",   "rightout",     "OSCIL",             "leftout"
>>>>
>>>> alwayson "TRIGGER"
>>>> alwayson "LFO"
>>>>
>>>>
>>>> instr TRIGGER
>>>> kmet metro 1
>>>> Sname = "OSCIL"
>>>> if(kmet==1) then
>>>> event "i", Sname, 0, 1
>>>> endif
>>>> endin
>>>>
>>>> instr LFO
>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>> a1 oscil 1, 1, isine
>>>> outleta "leftout", a1
>>>> outleta "rightout", a1
>>>> endin
>>>>
>>>> instr OSCIL
>>>> aenv linen 1, .2, p3, .2
>>>> aleftin inleta "leftin"
>>>> arightin inleta "rightin"
>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>> a1 oscil 1, aleftin*1000, isine
>>>> outs aenv*a1, aenv*a1
>>>> endin
>>>>
>>>> 
>>>> 
>>>> f0 3600
>>>> 
>>>> 
>>>>
>>>>
>>>>
>>>> On 22 April 2011 19:54, Adam Puckett  wrote:
>>>>> Sorry, I meant:
>>>>>
>>>>> kin inletk "bendin"
>>>>>
>>>>> Adam
>>>>>
>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>> It seems like the Signal Flow Graph opcodes would not allow you to
>>>>>> bend notes after they are playing, because wouldn't that involve
>>>>>> essentially a feedback loop and use of the i() opcode with the k-rate
>>>>>> inlet signal being its argument? E.G.:
>>>>>>
>>>>>> instr Bend
>>>>>> kin inleta "bendin"
>>>>>> ioldvalue = i(kin)
>>>>>> kout line ioldvalue, p3, p4
>>>>>> outleta "bendout", kout
>>>>>> endin
>>>>>>
>>>>>> I'll test that to see if it works.
>>>>>>
>>>>>> Adam
>>>>>>
>>>>>>
>>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>>> Philosophically it is a hack in my opinion because the types are
>>>>>>> different. It's almost type coercion.
>>>>>>>
>>>>>>> Adam
>>>>>>>
>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>> I imagine that's actually the way Mike implemented it. I could be
>>>>>>>> wrong but it looks eloquent enough to be a feature.
>>>>>>>>
>>>>>>>> On 22 April 2011 19:27, Adam Puckett 
>>>>>>>> wrote:
>>>>>>>>> I get no audio when trying it the numbered way. But here's an
>>>>>>>>> interesting hack: you can connect numbered instruments by
>>>>>>>>> surrounding
>>>>>>>>> the numbers in quotes, thereby tricking Csound into thinking they're
>>>>>>>>> named. Example:
>>>>>>>>>
>>>>>>>>> connect "1", "out", "2", "in"
>>>>>>>>>
>>>>>>>>> Problem solved!
>>>>>>>>>
>>>>>>>>> Adam
>>>>>>>>>
>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>> Someone reported a problem with this before. I can't recall what
>>>>>>>>>> the
>>>>>>>>>> outcome to the thread was. For me it's ok to use named instruments.
>>>>>>>>>> I
>>>>>>>>>> never did in the past but it's easy to update my instruments by
>>>>>>>>>> giving
>>>>>>>>>> them names.
>>>>>>>>>>
>>>>>>>>>> On 22 April 2011 19:09, Adam Puckett 
>>>>>>>>>> wrote:
>>>>>>>>>>> Can I connect numbered instruments to each other using them?
>>>>>>>>>>>
>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>> You should be able to get the reference pages up from doing a
>>>>>>>>>>>> search.
>>>>>>>>>>>> Check out Mike's article in the Csound journal for help on using
>>>>>>>>>>>> them.
>>>>>>>>>>>> Post here if you've any problems.
>>>>>>>>>>>>
>>>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett 
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>>> What version of Csound are you running? They were added in 5.11
>>>>>>>>>>>>>> I
>>>>>>>>>>>>>> think?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett 
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> The Quick Reference of the Canonical Csound Reference Manual
>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>> missing some important sections: namely the Signal Flow Graph
>>>>>>>>>>>>>>> Opcodes
>>>>>>>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 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"
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 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"
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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"
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> 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"
>>>>
>>>>
>>>
>>>
>>> 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"
>>
>>
>
>
> 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"


Date2011-04-22 21:15
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
Here it is:




sr = 44100
ksmps = 32
nchnls = 1
0dbfs = 1
connect "bend", "bendout", "guitar", "bendin"
instr bend
kbend line p4, p3, p5
outletk "bendout", kbend
endin
instr guitar
kbend inletk "freqin"
a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
out a1
endin


f1 0 4096 10 1
i"guitar 0 5 8.00
i"bend" 3 .2 -12 12
i"bend" 4 .01 -17 40



I get nothing.

Adam

On 4/22/11, Rory Walsh  wrote:
> And you want a signal from another instrument to determine the number of
> bends?
>
> On 22 April 2011 20:25, Adam Puckett  wrote:
>> Because I need to perform an indefinite number of bends over the
>> duration of one note.
>>
>> On 4/22/11, Rory Walsh  wrote:
>>> And why do you need to patch the output of one instrument to another
>>> to do this? What's stopping you from just writing a standalone
>>> instrument that does this? Do you know what I mean?
>>>
>>> On 22 April 2011 20:14, Adam Puckett  wrote:
>>>> Yes, that works. What I'm trying to do is a little different: bend a
>>>> note at a certain time that note is playing so its frequency will rise
>>>> or fall that number of semitones.
>>>>
>>>> Adam
>>>>
>>>> On 4/22/11, Rory Walsh  wrote:
>>>>> As long as an instrument is still playing it can be affected by any
>>>>> other one. In this example instrument TRIGGER is always on and starts
>>>>> instrument OSCIL which has it's frequency controlled by instrument LFO
>>>>> which is also always on. Slightly convoluted example but it works
>>>>> fine.
>>>>>
>>>>> 
>>>>> 
>>>>> -odac -g
>>>>> 
>>>>> 
>>>>> sr = 44100
>>>>> ksmps = 32
>>>>> nchnls = 2
>>>>> 0dbfs = 1
>>>>>
>>>>> ; Connect up the instruments to create a signal flow graph.
>>>>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>>>>> connect "LFO",   "rightout",     "OSCIL",             "leftout"
>>>>>
>>>>> alwayson "TRIGGER"
>>>>> alwayson "LFO"
>>>>>
>>>>>
>>>>> instr TRIGGER
>>>>> kmet metro 1
>>>>> Sname = "OSCIL"
>>>>> if(kmet==1) then
>>>>> event "i", Sname, 0, 1
>>>>> endif
>>>>> endin
>>>>>
>>>>> instr LFO
>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>>> a1 oscil 1, 1, isine
>>>>> outleta "leftout", a1
>>>>> outleta "rightout", a1
>>>>> endin
>>>>>
>>>>> instr OSCIL
>>>>> aenv linen 1, .2, p3, .2
>>>>> aleftin inleta "leftin"
>>>>> arightin inleta "rightin"
>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>>> a1 oscil 1, aleftin*1000, isine
>>>>> outs aenv*a1, aenv*a1
>>>>> endin
>>>>>
>>>>> 
>>>>> 
>>>>> f0 3600
>>>>> 
>>>>> 
>>>>>
>>>>>
>>>>>
>>>>> On 22 April 2011 19:54, Adam Puckett  wrote:
>>>>>> Sorry, I meant:
>>>>>>
>>>>>> kin inletk "bendin"
>>>>>>
>>>>>> Adam
>>>>>>
>>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>>> It seems like the Signal Flow Graph opcodes would not allow you to
>>>>>>> bend notes after they are playing, because wouldn't that involve
>>>>>>> essentially a feedback loop and use of the i() opcode with the k-rate
>>>>>>> inlet signal being its argument? E.G.:
>>>>>>>
>>>>>>> instr Bend
>>>>>>> kin inleta "bendin"
>>>>>>> ioldvalue = i(kin)
>>>>>>> kout line ioldvalue, p3, p4
>>>>>>> outleta "bendout", kout
>>>>>>> endin
>>>>>>>
>>>>>>> I'll test that to see if it works.
>>>>>>>
>>>>>>> Adam
>>>>>>>
>>>>>>>
>>>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>>>> Philosophically it is a hack in my opinion because the types are
>>>>>>>> different. It's almost type coercion.
>>>>>>>>
>>>>>>>> Adam
>>>>>>>>
>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>> I imagine that's actually the way Mike implemented it. I could be
>>>>>>>>> wrong but it looks eloquent enough to be a feature.
>>>>>>>>>
>>>>>>>>> On 22 April 2011 19:27, Adam Puckett 
>>>>>>>>> wrote:
>>>>>>>>>> I get no audio when trying it the numbered way. But here's an
>>>>>>>>>> interesting hack: you can connect numbered instruments by
>>>>>>>>>> surrounding
>>>>>>>>>> the numbers in quotes, thereby tricking Csound into thinking
>>>>>>>>>> they're
>>>>>>>>>> named. Example:
>>>>>>>>>>
>>>>>>>>>> connect "1", "out", "2", "in"
>>>>>>>>>>
>>>>>>>>>> Problem solved!
>>>>>>>>>>
>>>>>>>>>> Adam
>>>>>>>>>>
>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>> Someone reported a problem with this before. I can't recall what
>>>>>>>>>>> the
>>>>>>>>>>> outcome to the thread was. For me it's ok to use named
>>>>>>>>>>> instruments.
>>>>>>>>>>> I
>>>>>>>>>>> never did in the past but it's easy to update my instruments by
>>>>>>>>>>> giving
>>>>>>>>>>> them names.
>>>>>>>>>>>
>>>>>>>>>>> On 22 April 2011 19:09, Adam Puckett 
>>>>>>>>>>> wrote:
>>>>>>>>>>>> Can I connect numbered instruments to each other using them?
>>>>>>>>>>>>
>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>> You should be able to get the reference pages up from doing a
>>>>>>>>>>>>> search.
>>>>>>>>>>>>> Check out Mike's article in the Csound journal for help on
>>>>>>>>>>>>> using
>>>>>>>>>>>>> them.
>>>>>>>>>>>>> Post here if you've any problems.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett 
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>>>> What version of Csound are you running? They were added in
>>>>>>>>>>>>>>> 5.11
>>>>>>>>>>>>>>> I
>>>>>>>>>>>>>>> think?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> The Quick Reference of the Canonical Csound Reference Manual
>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>> missing some important sections: namely the Signal Flow
>>>>>>>>>>>>>>>> Graph
>>>>>>>>>>>>>>>> Opcodes
>>>>>>>>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> 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"
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 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"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> 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"
>>>>>
>>>>>
>>>>
>>>>
>>>> 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"
>>>
>>>
>>
>>
>> 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"
>
>


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-04-22 21:23
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
Here it is again, with typos fixed. Audio; no bend. :(



sr = 44100
ksmps = 32
nchnls = 1
0dbfs = 1
connect "bend", "bendout", "guitar", "bendin"
instr bend
kbend line p4, p3, p5
outletk "bendout", kbend
endin
instr guitar
kbend inletk "bendin"
a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
out a1
endin


f1 0 4096 10 1
i"guitar" 0 5 8.00
i"bend" 3 .2 -12 12
i"bend" 4 .01 -17 40





On 4/22/11, Adam Puckett  wrote:
> Here it is:
>
>
> 
> 
> sr = 44100
> ksmps = 32
> nchnls = 1
> 0dbfs = 1
> connect "bend", "bendout", "guitar", "bendin"
> instr bend
> kbend line p4, p3, p5
> outletk "bendout", kbend
> endin
> instr guitar
> kbend inletk "freqin"
> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
> out a1
> endin
> 
> 
> f1 0 4096 10 1
> i"guitar 0 5 8.00
> i"bend" 3 .2 -12 12
> i"bend" 4 .01 -17 40
> 
> 
>
> I get nothing.
>
> Adam
>
> On 4/22/11, Rory Walsh  wrote:
>> And you want a signal from another instrument to determine the number of
>> bends?
>>
>> On 22 April 2011 20:25, Adam Puckett  wrote:
>>> Because I need to perform an indefinite number of bends over the
>>> duration of one note.
>>>
>>> On 4/22/11, Rory Walsh  wrote:
>>>> And why do you need to patch the output of one instrument to another
>>>> to do this? What's stopping you from just writing a standalone
>>>> instrument that does this? Do you know what I mean?
>>>>
>>>> On 22 April 2011 20:14, Adam Puckett  wrote:
>>>>> Yes, that works. What I'm trying to do is a little different: bend a
>>>>> note at a certain time that note is playing so its frequency will rise
>>>>> or fall that number of semitones.
>>>>>
>>>>> Adam
>>>>>
>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>> As long as an instrument is still playing it can be affected by any
>>>>>> other one. In this example instrument TRIGGER is always on and starts
>>>>>> instrument OSCIL which has it's frequency controlled by instrument
>>>>>> LFO
>>>>>> which is also always on. Slightly convoluted example but it works
>>>>>> fine.
>>>>>>
>>>>>> 
>>>>>> 
>>>>>> -odac -g
>>>>>> 
>>>>>> 
>>>>>> sr = 44100
>>>>>> ksmps = 32
>>>>>> nchnls = 2
>>>>>> 0dbfs = 1
>>>>>>
>>>>>> ; Connect up the instruments to create a signal flow graph.
>>>>>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>>>>>> connect "LFO",   "rightout",     "OSCIL",             "leftout"
>>>>>>
>>>>>> alwayson "TRIGGER"
>>>>>> alwayson "LFO"
>>>>>>
>>>>>>
>>>>>> instr TRIGGER
>>>>>> kmet metro 1
>>>>>> Sname = "OSCIL"
>>>>>> if(kmet==1) then
>>>>>> event "i", Sname, 0, 1
>>>>>> endif
>>>>>> endin
>>>>>>
>>>>>> instr LFO
>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>>>> a1 oscil 1, 1, isine
>>>>>> outleta "leftout", a1
>>>>>> outleta "rightout", a1
>>>>>> endin
>>>>>>
>>>>>> instr OSCIL
>>>>>> aenv linen 1, .2, p3, .2
>>>>>> aleftin inleta "leftin"
>>>>>> arightin inleta "rightin"
>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>>>> a1 oscil 1, aleftin*1000, isine
>>>>>> outs aenv*a1, aenv*a1
>>>>>> endin
>>>>>>
>>>>>> 
>>>>>> 
>>>>>> f0 3600
>>>>>> 
>>>>>> 
>>>>>>
>>>>>>
>>>>>>
>>>>>> On 22 April 2011 19:54, Adam Puckett 
>>>>>> wrote:
>>>>>>> Sorry, I meant:
>>>>>>>
>>>>>>> kin inletk "bendin"
>>>>>>>
>>>>>>> Adam
>>>>>>>
>>>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>>>> It seems like the Signal Flow Graph opcodes would not allow you to
>>>>>>>> bend notes after they are playing, because wouldn't that involve
>>>>>>>> essentially a feedback loop and use of the i() opcode with the
>>>>>>>> k-rate
>>>>>>>> inlet signal being its argument? E.G.:
>>>>>>>>
>>>>>>>> instr Bend
>>>>>>>> kin inleta "bendin"
>>>>>>>> ioldvalue = i(kin)
>>>>>>>> kout line ioldvalue, p3, p4
>>>>>>>> outleta "bendout", kout
>>>>>>>> endin
>>>>>>>>
>>>>>>>> I'll test that to see if it works.
>>>>>>>>
>>>>>>>> Adam
>>>>>>>>
>>>>>>>>
>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>>>>> Philosophically it is a hack in my opinion because the types are
>>>>>>>>> different. It's almost type coercion.
>>>>>>>>>
>>>>>>>>> Adam
>>>>>>>>>
>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>> I imagine that's actually the way Mike implemented it. I could be
>>>>>>>>>> wrong but it looks eloquent enough to be a feature.
>>>>>>>>>>
>>>>>>>>>> On 22 April 2011 19:27, Adam Puckett 
>>>>>>>>>> wrote:
>>>>>>>>>>> I get no audio when trying it the numbered way. But here's an
>>>>>>>>>>> interesting hack: you can connect numbered instruments by
>>>>>>>>>>> surrounding
>>>>>>>>>>> the numbers in quotes, thereby tricking Csound into thinking
>>>>>>>>>>> they're
>>>>>>>>>>> named. Example:
>>>>>>>>>>>
>>>>>>>>>>> connect "1", "out", "2", "in"
>>>>>>>>>>>
>>>>>>>>>>> Problem solved!
>>>>>>>>>>>
>>>>>>>>>>> Adam
>>>>>>>>>>>
>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>> Someone reported a problem with this before. I can't recall
>>>>>>>>>>>> what
>>>>>>>>>>>> the
>>>>>>>>>>>> outcome to the thread was. For me it's ok to use named
>>>>>>>>>>>> instruments.
>>>>>>>>>>>> I
>>>>>>>>>>>> never did in the past but it's easy to update my instruments by
>>>>>>>>>>>> giving
>>>>>>>>>>>> them names.
>>>>>>>>>>>>
>>>>>>>>>>>> On 22 April 2011 19:09, Adam Puckett 
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>> Can I connect numbered instruments to each other using them?
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>>> You should be able to get the reference pages up from doing a
>>>>>>>>>>>>>> search.
>>>>>>>>>>>>>> Check out Mike's article in the Csound journal for help on
>>>>>>>>>>>>>> using
>>>>>>>>>>>>>> them.
>>>>>>>>>>>>>> Post here if you've any problems.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>>>>> What version of Csound are you running? They were added in
>>>>>>>>>>>>>>>> 5.11
>>>>>>>>>>>>>>>> I
>>>>>>>>>>>>>>>> think?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> The Quick Reference of the Canonical Csound Reference
>>>>>>>>>>>>>>>>> Manual
>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>> missing some important sections: namely the Signal Flow
>>>>>>>>>>>>>>>>> Graph
>>>>>>>>>>>>>>>>> Opcodes
>>>>>>>>>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 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"
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> 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"
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 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"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> 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"
>>>>
>>>>
>>>
>>>
>>> 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"
>>
>>
>


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-04-22 21:55
FromRory Walsh
SubjectRe: [Csnd] opcode quick reference
I can get something going with a-rate outlets/inlets but not k-rate.



-odac -g


sr = 44100
ksmps = 32
nchnls = 1
0dbfs = 1
connect "bend", "bendout", "guitar", "bendin"
instr bend
abend line p4, p3, p5
outleta "bendout", abend
endin

instr guitar
abend inleta "bendin"
;a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
a1 oscil .4, cpspch(p4)+abend*2, 1
out a1
endin


f1 0 4096 10 1
i"guitar" 0 5 8.00
i"bend" 3 2 -12 12
i"bend" 4 .01 -17 40




On 22 April 2011 21:23, Adam Puckett  wrote:
> Here it is again, with typos fixed. Audio; no bend. :(
>
> 
> 
> sr = 44100
> ksmps = 32
> nchnls = 1
> 0dbfs = 1
> connect "bend", "bendout", "guitar", "bendin"
> instr bend
> kbend line p4, p3, p5
> outletk "bendout", kbend
> endin
> instr guitar
> kbend inletk "bendin"
> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
> out a1
> endin
> 
> 
> f1 0 4096 10 1
> i"guitar" 0 5 8.00
> i"bend" 3 .2 -12 12
> i"bend" 4 .01 -17 40
> 
> 
>
>
>
> On 4/22/11, Adam Puckett  wrote:
>> Here it is:
>>
>>
>> 
>> 
>> sr = 44100
>> ksmps = 32
>> nchnls = 1
>> 0dbfs = 1
>> connect "bend", "bendout", "guitar", "bendin"
>> instr bend
>> kbend line p4, p3, p5
>> outletk "bendout", kbend
>> endin
>> instr guitar
>> kbend inletk "freqin"
>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>> out a1
>> endin
>> 
>> 
>> f1 0 4096 10 1
>> i"guitar 0 5 8.00
>> i"bend" 3 .2 -12 12
>> i"bend" 4 .01 -17 40
>> 
>> 
>>
>> I get nothing.
>>
>> Adam
>>
>> On 4/22/11, Rory Walsh  wrote:
>>> And you want a signal from another instrument to determine the number of
>>> bends?
>>>
>>> On 22 April 2011 20:25, Adam Puckett  wrote:
>>>> Because I need to perform an indefinite number of bends over the
>>>> duration of one note.
>>>>
>>>> On 4/22/11, Rory Walsh  wrote:
>>>>> And why do you need to patch the output of one instrument to another
>>>>> to do this? What's stopping you from just writing a standalone
>>>>> instrument that does this? Do you know what I mean?
>>>>>
>>>>> On 22 April 2011 20:14, Adam Puckett  wrote:
>>>>>> Yes, that works. What I'm trying to do is a little different: bend a
>>>>>> note at a certain time that note is playing so its frequency will rise
>>>>>> or fall that number of semitones.
>>>>>>
>>>>>> Adam
>>>>>>
>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>> As long as an instrument is still playing it can be affected by any
>>>>>>> other one. In this example instrument TRIGGER is always on and starts
>>>>>>> instrument OSCIL which has it's frequency controlled by instrument
>>>>>>> LFO
>>>>>>> which is also always on. Slightly convoluted example but it works
>>>>>>> fine.
>>>>>>>
>>>>>>> 
>>>>>>> 
>>>>>>> -odac -g
>>>>>>> 
>>>>>>> 
>>>>>>> sr = 44100
>>>>>>> ksmps = 32
>>>>>>> nchnls = 2
>>>>>>> 0dbfs = 1
>>>>>>>
>>>>>>> ; Connect up the instruments to create a signal flow graph.
>>>>>>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>>>>>>> connect "LFO",   "rightout",     "OSCIL",             "leftout"
>>>>>>>
>>>>>>> alwayson "TRIGGER"
>>>>>>> alwayson "LFO"
>>>>>>>
>>>>>>>
>>>>>>> instr TRIGGER
>>>>>>> kmet metro 1
>>>>>>> Sname = "OSCIL"
>>>>>>> if(kmet==1) then
>>>>>>> event "i", Sname, 0, 1
>>>>>>> endif
>>>>>>> endin
>>>>>>>
>>>>>>> instr LFO
>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>>>>> a1 oscil 1, 1, isine
>>>>>>> outleta "leftout", a1
>>>>>>> outleta "rightout", a1
>>>>>>> endin
>>>>>>>
>>>>>>> instr OSCIL
>>>>>>> aenv linen 1, .2, p3, .2
>>>>>>> aleftin inleta "leftin"
>>>>>>> arightin inleta "rightin"
>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>>>>> a1 oscil 1, aleftin*1000, isine
>>>>>>> outs aenv*a1, aenv*a1
>>>>>>> endin
>>>>>>>
>>>>>>> 
>>>>>>> 
>>>>>>> f0 3600
>>>>>>> 
>>>>>>> 
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On 22 April 2011 19:54, Adam Puckett 
>>>>>>> wrote:
>>>>>>>> Sorry, I meant:
>>>>>>>>
>>>>>>>> kin inletk "bendin"
>>>>>>>>
>>>>>>>> Adam
>>>>>>>>
>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>>>>> It seems like the Signal Flow Graph opcodes would not allow you to
>>>>>>>>> bend notes after they are playing, because wouldn't that involve
>>>>>>>>> essentially a feedback loop and use of the i() opcode with the
>>>>>>>>> k-rate
>>>>>>>>> inlet signal being its argument? E.G.:
>>>>>>>>>
>>>>>>>>> instr Bend
>>>>>>>>> kin inleta "bendin"
>>>>>>>>> ioldvalue = i(kin)
>>>>>>>>> kout line ioldvalue, p3, p4
>>>>>>>>> outleta "bendout", kout
>>>>>>>>> endin
>>>>>>>>>
>>>>>>>>> I'll test that to see if it works.
>>>>>>>>>
>>>>>>>>> Adam
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>>>>>> Philosophically it is a hack in my opinion because the types are
>>>>>>>>>> different. It's almost type coercion.
>>>>>>>>>>
>>>>>>>>>> Adam
>>>>>>>>>>
>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>> I imagine that's actually the way Mike implemented it. I could be
>>>>>>>>>>> wrong but it looks eloquent enough to be a feature.
>>>>>>>>>>>
>>>>>>>>>>> On 22 April 2011 19:27, Adam Puckett 
>>>>>>>>>>> wrote:
>>>>>>>>>>>> I get no audio when trying it the numbered way. But here's an
>>>>>>>>>>>> interesting hack: you can connect numbered instruments by
>>>>>>>>>>>> surrounding
>>>>>>>>>>>> the numbers in quotes, thereby tricking Csound into thinking
>>>>>>>>>>>> they're
>>>>>>>>>>>> named. Example:
>>>>>>>>>>>>
>>>>>>>>>>>> connect "1", "out", "2", "in"
>>>>>>>>>>>>
>>>>>>>>>>>> Problem solved!
>>>>>>>>>>>>
>>>>>>>>>>>> Adam
>>>>>>>>>>>>
>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>> Someone reported a problem with this before. I can't recall
>>>>>>>>>>>>> what
>>>>>>>>>>>>> the
>>>>>>>>>>>>> outcome to the thread was. For me it's ok to use named
>>>>>>>>>>>>> instruments.
>>>>>>>>>>>>> I
>>>>>>>>>>>>> never did in the past but it's easy to update my instruments by
>>>>>>>>>>>>> giving
>>>>>>>>>>>>> them names.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 22 April 2011 19:09, Adam Puckett 
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>> Can I connect numbered instruments to each other using them?
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>>>> You should be able to get the reference pages up from doing a
>>>>>>>>>>>>>>> search.
>>>>>>>>>>>>>>> Check out Mike's article in the Csound journal for help on
>>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>> them.
>>>>>>>>>>>>>>> Post here if you've any problems.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>>>>>> What version of Csound are you running? They were added in
>>>>>>>>>>>>>>>>> 5.11
>>>>>>>>>>>>>>>>> I
>>>>>>>>>>>>>>>>> think?
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> The Quick Reference of the Canonical Csound Reference
>>>>>>>>>>>>>>>>>> Manual
>>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>> missing some important sections: namely the Signal Flow
>>>>>>>>>>>>>>>>>> Graph
>>>>>>>>>>>>>>>>>> Opcodes
>>>>>>>>>>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> 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"
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 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"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> 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"
>>>>>
>>>>>
>>>>
>>>>
>>>> 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"
>>>
>>>
>>
>
>
> 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"


Date2011-04-23 15:26
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
I got this to work with downsamp:



sr = 44100
ksmps = 32
nchnls = 1
0dbfs = 1
connect "bend", "bendout", "guitar", "bendin"
instr bend
abend line p4, p3, p5
outleta "bendout", abend
endin
instr guitar
abend inleta "bendin"
kbend downsamp abend
isine ftgenonce 0, 0, 2^10, 10, 1
a1 oscil .4, cpspch(p4)*2^(kbend/12), isine
out a1
endin


i"guitar" 0 5 8.00
i"bend" 1 2 0 2
i"bend" 3 2 2 0



Adam

On 4/22/11, Rory Walsh  wrote:
> I can get something going with a-rate outlets/inlets but not k-rate.
>
> 
> 
> -odac -g
> 
> 
> sr = 44100
> ksmps = 32
> nchnls = 1
> 0dbfs = 1
> connect "bend", "bendout", "guitar", "bendin"
> instr bend
> abend line p4, p3, p5
> outleta "bendout", abend
> endin
>
> instr guitar
> abend inleta "bendin"
> ;a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
> a1 oscil .4, cpspch(p4)+abend*2, 1
> out a1
> endin
> 
> 
> f1 0 4096 10 1
> i"guitar" 0 5 8.00
> i"bend" 3 2 -12 12
> i"bend" 4 .01 -17 40
> 
> 
>
>
> On 22 April 2011 21:23, Adam Puckett  wrote:
>> Here it is again, with typos fixed. Audio; no bend. :(
>>
>> 
>> 
>> sr = 44100
>> ksmps = 32
>> nchnls = 1
>> 0dbfs = 1
>> connect "bend", "bendout", "guitar", "bendin"
>> instr bend
>> kbend line p4, p3, p5
>> outletk "bendout", kbend
>> endin
>> instr guitar
>> kbend inletk "bendin"
>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>> out a1
>> endin
>> 
>> 
>> f1 0 4096 10 1
>> i"guitar" 0 5 8.00
>> i"bend" 3 .2 -12 12
>> i"bend" 4 .01 -17 40
>> 
>> 
>>
>>
>>
>> On 4/22/11, Adam Puckett  wrote:
>>> Here it is:
>>>
>>>
>>> 
>>> 
>>> sr = 44100
>>> ksmps = 32
>>> nchnls = 1
>>> 0dbfs = 1
>>> connect "bend", "bendout", "guitar", "bendin"
>>> instr bend
>>> kbend line p4, p3, p5
>>> outletk "bendout", kbend
>>> endin
>>> instr guitar
>>> kbend inletk "freqin"
>>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>>> out a1
>>> endin
>>> 
>>> 
>>> f1 0 4096 10 1
>>> i"guitar 0 5 8.00
>>> i"bend" 3 .2 -12 12
>>> i"bend" 4 .01 -17 40
>>> 
>>> 
>>>
>>> I get nothing.
>>>
>>> Adam
>>>
>>> On 4/22/11, Rory Walsh  wrote:
>>>> And you want a signal from another instrument to determine the number of
>>>> bends?
>>>>
>>>> On 22 April 2011 20:25, Adam Puckett  wrote:
>>>>> Because I need to perform an indefinite number of bends over the
>>>>> duration of one note.
>>>>>
>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>> And why do you need to patch the output of one instrument to another
>>>>>> to do this? What's stopping you from just writing a standalone
>>>>>> instrument that does this? Do you know what I mean?
>>>>>>
>>>>>> On 22 April 2011 20:14, Adam Puckett  wrote:
>>>>>>> Yes, that works. What I'm trying to do is a little different: bend a
>>>>>>> note at a certain time that note is playing so its frequency will
>>>>>>> rise
>>>>>>> or fall that number of semitones.
>>>>>>>
>>>>>>> Adam
>>>>>>>
>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>> As long as an instrument is still playing it can be affected by any
>>>>>>>> other one. In this example instrument TRIGGER is always on and
>>>>>>>> starts
>>>>>>>> instrument OSCIL which has it's frequency controlled by instrument
>>>>>>>> LFO
>>>>>>>> which is also always on. Slightly convoluted example but it works
>>>>>>>> fine.
>>>>>>>>
>>>>>>>> 
>>>>>>>> 
>>>>>>>> -odac -g
>>>>>>>> 
>>>>>>>> 
>>>>>>>> sr = 44100
>>>>>>>> ksmps = 32
>>>>>>>> nchnls = 2
>>>>>>>> 0dbfs = 1
>>>>>>>>
>>>>>>>> ; Connect up the instruments to create a signal flow graph.
>>>>>>>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>>>>>>>> connect "LFO",   "rightout",     "OSCIL",             "leftout"
>>>>>>>>
>>>>>>>> alwayson "TRIGGER"
>>>>>>>> alwayson "LFO"
>>>>>>>>
>>>>>>>>
>>>>>>>> instr TRIGGER
>>>>>>>> kmet metro 1
>>>>>>>> Sname = "OSCIL"
>>>>>>>> if(kmet==1) then
>>>>>>>> event "i", Sname, 0, 1
>>>>>>>> endif
>>>>>>>> endin
>>>>>>>>
>>>>>>>> instr LFO
>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>>>>>> a1 oscil 1, 1, isine
>>>>>>>> outleta "leftout", a1
>>>>>>>> outleta "rightout", a1
>>>>>>>> endin
>>>>>>>>
>>>>>>>> instr OSCIL
>>>>>>>> aenv linen 1, .2, p3, .2
>>>>>>>> aleftin inleta "leftin"
>>>>>>>> arightin inleta "rightin"
>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>>>>>> a1 oscil 1, aleftin*1000, isine
>>>>>>>> outs aenv*a1, aenv*a1
>>>>>>>> endin
>>>>>>>>
>>>>>>>> 
>>>>>>>> 
>>>>>>>> f0 3600
>>>>>>>> 
>>>>>>>> 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On 22 April 2011 19:54, Adam Puckett 
>>>>>>>> wrote:
>>>>>>>>> Sorry, I meant:
>>>>>>>>>
>>>>>>>>> kin inletk "bendin"
>>>>>>>>>
>>>>>>>>> Adam
>>>>>>>>>
>>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>>>>>> It seems like the Signal Flow Graph opcodes would not allow you to
>>>>>>>>>> bend notes after they are playing, because wouldn't that involve
>>>>>>>>>> essentially a feedback loop and use of the i() opcode with the
>>>>>>>>>> k-rate
>>>>>>>>>> inlet signal being its argument? E.G.:
>>>>>>>>>>
>>>>>>>>>> instr Bend
>>>>>>>>>> kin inleta "bendin"
>>>>>>>>>> ioldvalue = i(kin)
>>>>>>>>>> kout line ioldvalue, p3, p4
>>>>>>>>>> outleta "bendout", kout
>>>>>>>>>> endin
>>>>>>>>>>
>>>>>>>>>> I'll test that to see if it works.
>>>>>>>>>>
>>>>>>>>>> Adam
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>>>>>>> Philosophically it is a hack in my opinion because the types are
>>>>>>>>>>> different. It's almost type coercion.
>>>>>>>>>>>
>>>>>>>>>>> Adam
>>>>>>>>>>>
>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>> I imagine that's actually the way Mike implemented it. I could
>>>>>>>>>>>> be
>>>>>>>>>>>> wrong but it looks eloquent enough to be a feature.
>>>>>>>>>>>>
>>>>>>>>>>>> On 22 April 2011 19:27, Adam Puckett 
>>>>>>>>>>>> wrote:
>>>>>>>>>>>>> I get no audio when trying it the numbered way. But here's an
>>>>>>>>>>>>> interesting hack: you can connect numbered instruments by
>>>>>>>>>>>>> surrounding
>>>>>>>>>>>>> the numbers in quotes, thereby tricking Csound into thinking
>>>>>>>>>>>>> they're
>>>>>>>>>>>>> named. Example:
>>>>>>>>>>>>>
>>>>>>>>>>>>> connect "1", "out", "2", "in"
>>>>>>>>>>>>>
>>>>>>>>>>>>> Problem solved!
>>>>>>>>>>>>>
>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>>> Someone reported a problem with this before. I can't recall
>>>>>>>>>>>>>> what
>>>>>>>>>>>>>> the
>>>>>>>>>>>>>> outcome to the thread was. For me it's ok to use named
>>>>>>>>>>>>>> instruments.
>>>>>>>>>>>>>> I
>>>>>>>>>>>>>> never did in the past but it's easy to update my instruments
>>>>>>>>>>>>>> by
>>>>>>>>>>>>>> giving
>>>>>>>>>>>>>> them names.
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 22 April 2011 19:09, Adam Puckett
>>>>>>>>>>>>>> 
>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>> Can I connect numbered instruments to each other using them?
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>>>>> You should be able to get the reference pages up from doing
>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>> search.
>>>>>>>>>>>>>>>> Check out Mike's article in the Csound journal for help on
>>>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>>> them.
>>>>>>>>>>>>>>>> Post here if you've any problems.
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett
>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>>>>>>> What version of Csound are you running? They were added in
>>>>>>>>>>>>>>>>>> 5.11
>>>>>>>>>>>>>>>>>> I
>>>>>>>>>>>>>>>>>> think?
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett
>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> The Quick Reference of the Canonical Csound Reference
>>>>>>>>>>>>>>>>>>> Manual
>>>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>>> missing some important sections: namely the Signal Flow
>>>>>>>>>>>>>>>>>>> Graph
>>>>>>>>>>>>>>>>>>> Opcodes
>>>>>>>>>>>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>> 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"
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> 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"
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 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"
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> 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"
>>>>
>>>>
>>>
>>
>>
>> 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"
>
>


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-04-23 15:41
FromRory Walsh
SubjectRe: [Csnd] opcode quick reference
Downsampling is fine but I'm still curious to know why it didn't work
with k-rate outlets and inlets. Maybe Mike can explain.

Rory.


On 23 April 2011 15:26, Adam Puckett  wrote:
> I got this to work with downsamp:
>
> 
> 
> sr = 44100
> ksmps = 32
> nchnls = 1
> 0dbfs = 1
> connect "bend", "bendout", "guitar", "bendin"
> instr bend
> abend line p4, p3, p5
> outleta "bendout", abend
> endin
> instr guitar
> abend inleta "bendin"
> kbend downsamp abend
> isine ftgenonce 0, 0, 2^10, 10, 1
> a1 oscil .4, cpspch(p4)*2^(kbend/12), isine
> out a1
> endin
> 
> 
> i"guitar" 0 5 8.00
> i"bend" 1 2 0 2
> i"bend" 3 2 2 0
> 
> 
>
> Adam
>
> On 4/22/11, Rory Walsh  wrote:
>> I can get something going with a-rate outlets/inlets but not k-rate.
>>
>> 
>> 
>> -odac -g
>> 
>> 
>> sr = 44100
>> ksmps = 32
>> nchnls = 1
>> 0dbfs = 1
>> connect "bend", "bendout", "guitar", "bendin"
>> instr bend
>> abend line p4, p3, p5
>> outleta "bendout", abend
>> endin
>>
>> instr guitar
>> abend inleta "bendin"
>> ;a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>> a1 oscil .4, cpspch(p4)+abend*2, 1
>> out a1
>> endin
>> 
>> 
>> f1 0 4096 10 1
>> i"guitar" 0 5 8.00
>> i"bend" 3 2 -12 12
>> i"bend" 4 .01 -17 40
>> 
>> 
>>
>>
>> On 22 April 2011 21:23, Adam Puckett  wrote:
>>> Here it is again, with typos fixed. Audio; no bend. :(
>>>
>>> 
>>> 
>>> sr = 44100
>>> ksmps = 32
>>> nchnls = 1
>>> 0dbfs = 1
>>> connect "bend", "bendout", "guitar", "bendin"
>>> instr bend
>>> kbend line p4, p3, p5
>>> outletk "bendout", kbend
>>> endin
>>> instr guitar
>>> kbend inletk "bendin"
>>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>>> out a1
>>> endin
>>> 
>>> 
>>> f1 0 4096 10 1
>>> i"guitar" 0 5 8.00
>>> i"bend" 3 .2 -12 12
>>> i"bend" 4 .01 -17 40
>>> 
>>> 
>>>
>>>
>>>
>>> On 4/22/11, Adam Puckett  wrote:
>>>> Here it is:
>>>>
>>>>
>>>> 
>>>> 
>>>> sr = 44100
>>>> ksmps = 32
>>>> nchnls = 1
>>>> 0dbfs = 1
>>>> connect "bend", "bendout", "guitar", "bendin"
>>>> instr bend
>>>> kbend line p4, p3, p5
>>>> outletk "bendout", kbend
>>>> endin
>>>> instr guitar
>>>> kbend inletk "freqin"
>>>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>>>> out a1
>>>> endin
>>>> 
>>>> 
>>>> f1 0 4096 10 1
>>>> i"guitar 0 5 8.00
>>>> i"bend" 3 .2 -12 12
>>>> i"bend" 4 .01 -17 40
>>>> 
>>>> 
>>>>
>>>> I get nothing.
>>>>
>>>> Adam
>>>>
>>>> On 4/22/11, Rory Walsh  wrote:
>>>>> And you want a signal from another instrument to determine the number of
>>>>> bends?
>>>>>
>>>>> On 22 April 2011 20:25, Adam Puckett  wrote:
>>>>>> Because I need to perform an indefinite number of bends over the
>>>>>> duration of one note.
>>>>>>
>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>> And why do you need to patch the output of one instrument to another
>>>>>>> to do this? What's stopping you from just writing a standalone
>>>>>>> instrument that does this? Do you know what I mean?
>>>>>>>
>>>>>>> On 22 April 2011 20:14, Adam Puckett  wrote:
>>>>>>>> Yes, that works. What I'm trying to do is a little different: bend a
>>>>>>>> note at a certain time that note is playing so its frequency will
>>>>>>>> rise
>>>>>>>> or fall that number of semitones.
>>>>>>>>
>>>>>>>> Adam
>>>>>>>>
>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>> As long as an instrument is still playing it can be affected by any
>>>>>>>>> other one. In this example instrument TRIGGER is always on and
>>>>>>>>> starts
>>>>>>>>> instrument OSCIL which has it's frequency controlled by instrument
>>>>>>>>> LFO
>>>>>>>>> which is also always on. Slightly convoluted example but it works
>>>>>>>>> fine.
>>>>>>>>>
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> -odac -g
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> sr = 44100
>>>>>>>>> ksmps = 32
>>>>>>>>> nchnls = 2
>>>>>>>>> 0dbfs = 1
>>>>>>>>>
>>>>>>>>> ; Connect up the instruments to create a signal flow graph.
>>>>>>>>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>>>>>>>>> connect "LFO",   "rightout",     "OSCIL",             "leftout"
>>>>>>>>>
>>>>>>>>> alwayson "TRIGGER"
>>>>>>>>> alwayson "LFO"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> instr TRIGGER
>>>>>>>>> kmet metro 1
>>>>>>>>> Sname = "OSCIL"
>>>>>>>>> if(kmet==1) then
>>>>>>>>> event "i", Sname, 0, 1
>>>>>>>>> endif
>>>>>>>>> endin
>>>>>>>>>
>>>>>>>>> instr LFO
>>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>>>>>>> a1 oscil 1, 1, isine
>>>>>>>>> outleta "leftout", a1
>>>>>>>>> outleta "rightout", a1
>>>>>>>>> endin
>>>>>>>>>
>>>>>>>>> instr OSCIL
>>>>>>>>> aenv linen 1, .2, p3, .2
>>>>>>>>> aleftin inleta "leftin"
>>>>>>>>> arightin inleta "rightin"
>>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>>>>>>> a1 oscil 1, aleftin*1000, isine
>>>>>>>>> outs aenv*a1, aenv*a1
>>>>>>>>> endin
>>>>>>>>>
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>> f0 3600
>>>>>>>>> 
>>>>>>>>> 
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 22 April 2011 19:54, Adam Puckett 
>>>>>>>>> wrote:
>>>>>>>>>> Sorry, I meant:
>>>>>>>>>>
>>>>>>>>>> kin inletk "bendin"
>>>>>>>>>>
>>>>>>>>>> Adam
>>>>>>>>>>
>>>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>>>>>>> It seems like the Signal Flow Graph opcodes would not allow you to
>>>>>>>>>>> bend notes after they are playing, because wouldn't that involve
>>>>>>>>>>> essentially a feedback loop and use of the i() opcode with the
>>>>>>>>>>> k-rate
>>>>>>>>>>> inlet signal being its argument? E.G.:
>>>>>>>>>>>
>>>>>>>>>>> instr Bend
>>>>>>>>>>> kin inleta "bendin"
>>>>>>>>>>> ioldvalue = i(kin)
>>>>>>>>>>> kout line ioldvalue, p3, p4
>>>>>>>>>>> outleta "bendout", kout
>>>>>>>>>>> endin
>>>>>>>>>>>
>>>>>>>>>>> I'll test that to see if it works.
>>>>>>>>>>>
>>>>>>>>>>> Adam
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>>>>>>>>>>>> Philosophically it is a hack in my opinion because the types are
>>>>>>>>>>>> different. It's almost type coercion.
>>>>>>>>>>>>
>>>>>>>>>>>> Adam
>>>>>>>>>>>>
>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>> I imagine that's actually the way Mike implemented it. I could
>>>>>>>>>>>>> be
>>>>>>>>>>>>> wrong but it looks eloquent enough to be a feature.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 22 April 2011 19:27, Adam Puckett 
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>> I get no audio when trying it the numbered way. But here's an
>>>>>>>>>>>>>> interesting hack: you can connect numbered instruments by
>>>>>>>>>>>>>> surrounding
>>>>>>>>>>>>>> the numbers in quotes, thereby tricking Csound into thinking
>>>>>>>>>>>>>> they're
>>>>>>>>>>>>>> named. Example:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> connect "1", "out", "2", "in"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Problem solved!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>>>> Someone reported a problem with this before. I can't recall
>>>>>>>>>>>>>>> what
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>> outcome to the thread was. For me it's ok to use named
>>>>>>>>>>>>>>> instruments.
>>>>>>>>>>>>>>> I
>>>>>>>>>>>>>>> never did in the past but it's easy to update my instruments
>>>>>>>>>>>>>>> by
>>>>>>>>>>>>>>> giving
>>>>>>>>>>>>>>> them names.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 22 April 2011 19:09, Adam Puckett
>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>> Can I connect numbered instruments to each other using them?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>>>>>> You should be able to get the reference pages up from doing
>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>> search.
>>>>>>>>>>>>>>>>> Check out Mike's article in the Csound journal for help on
>>>>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>>>> them.
>>>>>>>>>>>>>>>>> Post here if you've any problems.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett
>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>>>>>>>>>>>>>>>>>> What version of Csound are you running? They were added in
>>>>>>>>>>>>>>>>>>> 5.11
>>>>>>>>>>>>>>>>>>> I
>>>>>>>>>>>>>>>>>>> think?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett
>>>>>>>>>>>>>>>>>>> 
>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> The Quick Reference of the Canonical Csound Reference
>>>>>>>>>>>>>>>>>>>> Manual
>>>>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>>>> missing some important sections: namely the Signal Flow
>>>>>>>>>>>>>>>>>>>> Graph
>>>>>>>>>>>>>>>>>>>> Opcodes
>>>>>>>>>>>>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 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"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 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"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> 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"
>>>>>
>>>>>
>>>>
>>>
>>>
>>> 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"
>>
>>
>
>
> 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"


Date2011-04-23 15:45
FromMichael Gogins
SubjectRe: [Csnd] opcode quick reference
There is a bug in the krate ports which I have fixed but not booked in. I will do that this weekend.

Thanks for the reminder,
Mike

On Sat, Apr 23, 2011 at 10:41 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
Downsampling is fine but I'm still curious to know why it didn't work
with k-rate outlets and inlets. Maybe Mike can explain.

Rory.


On 23 April 2011 15:26, Adam Puckett <adotsdothmusic@gmail.com> wrote:
> I got this to work with downsamp:
>
> <CsoundSynthesizer>
> <CsInstruments>
> sr = 44100
> ksmps = 32
> nchnls = 1
> 0dbfs = 1
> connect "bend", "bendout", "guitar", "bendin"
> instr bend
> abend line p4, p3, p5
> outleta "bendout", abend
> endin
> instr guitar
> abend inleta "bendin"
> kbend downsamp abend
> isine ftgenonce 0, 0, 2^10, 10, 1
> a1 oscil .4, cpspch(p4)*2^(kbend/12), isine
> out a1
> endin
> </CsInstruments>
> <CsScore>
> i"guitar" 0 5 8.00
> i"bend" 1 2 0 2
> i"bend" 3 2 2 0
> </CsScore>
> </CsoundSynthesizer>
>
> Adam
>
> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>> I can get something going with a-rate outlets/inlets but not k-rate.
>>
>> <CsoundSynthesizer>
>> <CsOptions>
>> -odac -g
>> </CsOptions>
>> <CsInstruments>
>> sr = 44100
>> ksmps = 32
>> nchnls = 1
>> 0dbfs = 1
>> connect "bend", "bendout", "guitar", "bendin"
>> instr bend
>> abend line p4, p3, p5
>> outleta "bendout", abend
>> endin
>>
>> instr guitar
>> abend inleta "bendin"
>> ;a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>> a1 oscil .4, cpspch(p4)+abend*2, 1
>> out a1
>> endin
>> </CsInstruments>
>> <CsScore>
>> f1 0 4096 10 1
>> i"guitar" 0 5 8.00
>> i"bend" 3 2 -12 12
>> i"bend" 4 .01 -17 40
>> </CsScore>
>> </CsoundSynthesizer>
>>
>>
>> On 22 April 2011 21:23, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>> Here it is again, with typos fixed. Audio; no bend. :(
>>>
>>> <CsoundSynthesizer>
>>> <CsInstruments>
>>> sr = 44100
>>> ksmps = 32
>>> nchnls = 1
>>> 0dbfs = 1
>>> connect "bend", "bendout", "guitar", "bendin"
>>> instr bend
>>> kbend line p4, p3, p5
>>> outletk "bendout", kbend
>>> endin
>>> instr guitar
>>> kbend inletk "bendin"
>>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>>> out a1
>>> endin
>>> </CsInstruments>
>>> <CsScore>
>>> f1 0 4096 10 1
>>> i"guitar" 0 5 8.00
>>> i"bend" 3 .2 -12 12
>>> i"bend" 4 .01 -17 40
>>> </CsScore>
>>> </CsoundSynthesizer>
>>>
>>>
>>>
>>> On 4/22/11, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>>> Here it is:
>>>>
>>>>
>>>> <CsoundSynthesizer>
>>>> <CsInstruments>
>>>> sr = 44100
>>>> ksmps = 32
>>>> nchnls = 1
>>>> 0dbfs = 1
>>>> connect "bend", "bendout", "guitar", "bendin"
>>>> instr bend
>>>> kbend line p4, p3, p5
>>>> outletk "bendout", kbend
>>>> endin
>>>> instr guitar
>>>> kbend inletk "freqin"
>>>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>>>> out a1
>>>> endin
>>>> </CsInstruments>
>>>> <CsScore>
>>>> f1 0 4096 10 1
>>>> i"guitar 0 5 8.00
>>>> i"bend" 3 .2 -12 12
>>>> i"bend" 4 .01 -17 40
>>>> </CsScore>
>>>> </CsoundSynthesizer>
>>>>
>>>> I get nothing.
>>>>
>>>> Adam
>>>>
>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>>> And you want a signal from another instrument to determine the number of
>>>>> bends?
>>>>>
>>>>> On 22 April 2011 20:25, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>>>>> Because I need to perform an indefinite number of bends over the
>>>>>> duration of one note.
>>>>>>
>>>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>>>>> And why do you need to patch the output of one instrument to another
>>>>>>> to do this? What's stopping you from just writing a standalone
>>>>>>> instrument that does this? Do you know what I mean?
>>>>>>>
>>>>>>> On 22 April 2011 20:14, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>>>>>>> Yes, that works. What I'm trying to do is a little different: bend a
>>>>>>>> note at a certain time that note is playing so its frequency will
>>>>>>>> rise
>>>>>>>> or fall that number of semitones.
>>>>>>>>
>>>>>>>> Adam
>>>>>>>>
>>>>>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>>>>>>> As long as an instrument is still playing it can be affected by any
>>>>>>>>> other one. In this example instrument TRIGGER is always on and
>>>>>>>>> starts
>>>>>>>>> instrument OSCIL which has it's frequency controlled by instrument
>>>>>>>>> LFO
>>>>>>>>> which is also always on. Slightly convoluted example but it works
>>>>>>>>> fine.
>>>>>>>>>
>>>>>>>>> <CsoundSynthesizer>
>>>>>>>>> <CsOptions>
>>>>>>>>> -odac -g
>>>>>>>>> </CsOptions>
>>>>>>>>> <CsInstruments>
>>>>>>>>> sr = 44100
>>>>>>>>> ksmps = 32
>>>>>>>>> nchnls = 2
>>>>>>>>> 0dbfs = 1
>>>>>>>>>
>>>>>>>>> ; Connect up the instruments to create a signal flow graph.
>>>>>>>>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>>>>>>>>> connect "LFO",   "rightout",     "OSCIL",             "leftout"
>>>>>>>>>
>>>>>>>>> alwayson "TRIGGER"
>>>>>>>>> alwayson "LFO"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> instr TRIGGER
>>>>>>>>> kmet metro 1
>>>>>>>>> Sname = "OSCIL"
>>>>>>>>> if(kmet==1) then
>>>>>>>>> event "i", Sname, 0, 1
>>>>>>>>> endif
>>>>>>>>> endin
>>>>>>>>>
>>>>>>>>> instr LFO
>>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>>>>>>> a1 oscil 1, 1, isine
>>>>>>>>> outleta "leftout", a1
>>>>>>>>> outleta "rightout", a1
>>>>>>>>> endin
>>>>>>>>>
>>>>>>>>> instr OSCIL
>>>>>>>>> aenv linen 1, .2, p3, .2
>>>>>>>>> aleftin inleta "leftin"
>>>>>>>>> arightin inleta "rightin"
>>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>>>>>>>> a1 oscil 1, aleftin*1000, isine
>>>>>>>>> outs aenv*a1, aenv*a1
>>>>>>>>> endin
>>>>>>>>>
>>>>>>>>> </CsInstruments>
>>>>>>>>> <CsScore>
>>>>>>>>> f0 3600
>>>>>>>>> </CsScore>
>>>>>>>>> </CsoundSynthesizer>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 22 April 2011 19:54, Adam Puckett <adotsdothmusic@gmail.com>
>>>>>>>>> wrote:
>>>>>>>>>> Sorry, I meant:
>>>>>>>>>>
>>>>>>>>>> kin inletk "bendin"
>>>>>>>>>>
>>>>>>>>>> Adam
>>>>>>>>>>
>>>>>>>>>> On 4/22/11, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>>>>>>>>>> It seems like the Signal Flow Graph opcodes would not allow you to
>>>>>>>>>>> bend notes after they are playing, because wouldn't that involve
>>>>>>>>>>> essentially a feedback loop and use of the i() opcode with the
>>>>>>>>>>> k-rate
>>>>>>>>>>> inlet signal being its argument? E.G.:
>>>>>>>>>>>
>>>>>>>>>>> instr Bend
>>>>>>>>>>> kin inleta "bendin"
>>>>>>>>>>> ioldvalue = i(kin)
>>>>>>>>>>> kout line ioldvalue, p3, p4
>>>>>>>>>>> outleta "bendout", kout
>>>>>>>>>>> endin
>>>>>>>>>>>
>>>>>>>>>>> I'll test that to see if it works.
>>>>>>>>>>>
>>>>>>>>>>> Adam
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 4/22/11, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>>>>>>>>>>> Philosophically it is a hack in my opinion because the types are
>>>>>>>>>>>> different. It's almost type coercion.
>>>>>>>>>>>>
>>>>>>>>>>>> Adam
>>>>>>>>>>>>
>>>>>>>>>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>>>>>>>>>>> I imagine that's actually the way Mike implemented it. I could
>>>>>>>>>>>>> be
>>>>>>>>>>>>> wrong but it looks eloquent enough to be a feature.
>>>>>>>>>>>>>
>>>>>>>>>>>>> On 22 April 2011 19:27, Adam Puckett <adotsdothmusic@gmail.com>
>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>> I get no audio when trying it the numbered way. But here's an
>>>>>>>>>>>>>> interesting hack: you can connect numbered instruments by
>>>>>>>>>>>>>> surrounding
>>>>>>>>>>>>>> the numbers in quotes, thereby tricking Csound into thinking
>>>>>>>>>>>>>> they're
>>>>>>>>>>>>>> named. Example:
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> connect "1", "out", "2", "in"
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Problem solved!
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>>>>>>>>>>>>> Someone reported a problem with this before. I can't recall
>>>>>>>>>>>>>>> what
>>>>>>>>>>>>>>> the
>>>>>>>>>>>>>>> outcome to the thread was. For me it's ok to use named
>>>>>>>>>>>>>>> instruments.
>>>>>>>>>>>>>>> I
>>>>>>>>>>>>>>> never did in the past but it's easy to update my instruments
>>>>>>>>>>>>>>> by
>>>>>>>>>>>>>>> giving
>>>>>>>>>>>>>>> them names.
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>> On 22 April 2011 19:09, Adam Puckett
>>>>>>>>>>>>>>> <adotsdothmusic@gmail.com>
>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>> Can I connect numbered instruments to each other using them?
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>>>>>>>>>>>>>>> You should be able to get the reference pages up from doing
>>>>>>>>>>>>>>>>> a
>>>>>>>>>>>>>>>>> search.
>>>>>>>>>>>>>>>>> Check out Mike's article in the Csound journal for help on
>>>>>>>>>>>>>>>>> using
>>>>>>>>>>>>>>>>> them.
>>>>>>>>>>>>>>>>> Post here if you've any problems.
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett
>>>>>>>>>>>>>>>>> <adotsdothmusic@gmail.com>
>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>> Csound 5.13 for Windows, double version.
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>>>>>>>>>>>>>>>>> What version of Csound are you running? They were added in
>>>>>>>>>>>>>>>>>>> 5.11
>>>>>>>>>>>>>>>>>>> I
>>>>>>>>>>>>>>>>>>> think?
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett
>>>>>>>>>>>>>>>>>>> <adotsdothmusic@gmail.com>
>>>>>>>>>>>>>>>>>>> wrote:
>>>>>>>>>>>>>>>>>>>> Hi,
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> The Quick Reference of the Canonical Csound Reference
>>>>>>>>>>>>>>>>>>>> Manual
>>>>>>>>>>>>>>>>>>>> is
>>>>>>>>>>>>>>>>>>>> missing some important sections: namely the Signal Flow
>>>>>>>>>>>>>>>>>>>> Graph
>>>>>>>>>>>>>>>>>>>> Opcodes
>>>>>>>>>>>>>>>>>>>> and the Jacko Opcodes section.
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> Adam
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>>
>>>>>>>>>>>>>> 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"
>>>>>>>>>>>>>
>>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> 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"
>>>>>>>>>
>>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> 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"
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> 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"
>>>>>
>>>>>
>>>>
>>>
>>>
>>> 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"
>>
>>
>
>
> 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"




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2011-04-23 15:46
FromRory Walsh
SubjectRe: [Csnd] opcode quick reference
Thanks. I've been completely turned on by these opcodes!

Rory.


On 23 April 2011 15:45, Michael Gogins  wrote:
> There is a bug in the krate ports which I have fixed but not booked in. I
> will do that this weekend.
> Thanks for the reminder,
> Mike
>
> On Sat, Apr 23, 2011 at 10:41 AM, Rory Walsh  wrote:
>>
>> Downsampling is fine but I'm still curious to know why it didn't work
>> with k-rate outlets and inlets. Maybe Mike can explain.
>>
>> Rory.
>>
>>
>> On 23 April 2011 15:26, Adam Puckett  wrote:
>> > I got this to work with downsamp:
>> >
>> > 
>> > 
>> > sr = 44100
>> > ksmps = 32
>> > nchnls = 1
>> > 0dbfs = 1
>> > connect "bend", "bendout", "guitar", "bendin"
>> > instr bend
>> > abend line p4, p3, p5
>> > outleta "bendout", abend
>> > endin
>> > instr guitar
>> > abend inleta "bendin"
>> > kbend downsamp abend
>> > isine ftgenonce 0, 0, 2^10, 10, 1
>> > a1 oscil .4, cpspch(p4)*2^(kbend/12), isine
>> > out a1
>> > endin
>> > 
>> > 
>> > i"guitar" 0 5 8.00
>> > i"bend" 1 2 0 2
>> > i"bend" 3 2 2 0
>> > 
>> > 
>> >
>> > Adam
>> >
>> > On 4/22/11, Rory Walsh  wrote:
>> >> I can get something going with a-rate outlets/inlets but not k-rate.
>> >>
>> >> 
>> >> 
>> >> -odac -g
>> >> 
>> >> 
>> >> sr = 44100
>> >> ksmps = 32
>> >> nchnls = 1
>> >> 0dbfs = 1
>> >> connect "bend", "bendout", "guitar", "bendin"
>> >> instr bend
>> >> abend line p4, p3, p5
>> >> outleta "bendout", abend
>> >> endin
>> >>
>> >> instr guitar
>> >> abend inleta "bendin"
>> >> ;a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>> >> a1 oscil .4, cpspch(p4)+abend*2, 1
>> >> out a1
>> >> endin
>> >> 
>> >> 
>> >> f1 0 4096 10 1
>> >> i"guitar" 0 5 8.00
>> >> i"bend" 3 2 -12 12
>> >> i"bend" 4 .01 -17 40
>> >> 
>> >> 
>> >>
>> >>
>> >> On 22 April 2011 21:23, Adam Puckett  wrote:
>> >>> Here it is again, with typos fixed. Audio; no bend. :(
>> >>>
>> >>> 
>> >>> 
>> >>> sr = 44100
>> >>> ksmps = 32
>> >>> nchnls = 1
>> >>> 0dbfs = 1
>> >>> connect "bend", "bendout", "guitar", "bendin"
>> >>> instr bend
>> >>> kbend line p4, p3, p5
>> >>> outletk "bendout", kbend
>> >>> endin
>> >>> instr guitar
>> >>> kbend inletk "bendin"
>> >>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>> >>> out a1
>> >>> endin
>> >>> 
>> >>> 
>> >>> f1 0 4096 10 1
>> >>> i"guitar" 0 5 8.00
>> >>> i"bend" 3 .2 -12 12
>> >>> i"bend" 4 .01 -17 40
>> >>> 
>> >>> 
>> >>>
>> >>>
>> >>>
>> >>> On 4/22/11, Adam Puckett  wrote:
>> >>>> Here it is:
>> >>>>
>> >>>>
>> >>>> 
>> >>>> 
>> >>>> sr = 44100
>> >>>> ksmps = 32
>> >>>> nchnls = 1
>> >>>> 0dbfs = 1
>> >>>> connect "bend", "bendout", "guitar", "bendin"
>> >>>> instr bend
>> >>>> kbend line p4, p3, p5
>> >>>> outletk "bendout", kbend
>> >>>> endin
>> >>>> instr guitar
>> >>>> kbend inletk "freqin"
>> >>>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>> >>>> out a1
>> >>>> endin
>> >>>> 
>> >>>> 
>> >>>> f1 0 4096 10 1
>> >>>> i"guitar 0 5 8.00
>> >>>> i"bend" 3 .2 -12 12
>> >>>> i"bend" 4 .01 -17 40
>> >>>> 
>> >>>> 
>> >>>>
>> >>>> I get nothing.
>> >>>>
>> >>>> Adam
>> >>>>
>> >>>> On 4/22/11, Rory Walsh  wrote:
>> >>>>> And you want a signal from another instrument to determine the
>> >>>>> number of
>> >>>>> bends?
>> >>>>>
>> >>>>> On 22 April 2011 20:25, Adam Puckett 
>> >>>>> wrote:
>> >>>>>> Because I need to perform an indefinite number of bends over the
>> >>>>>> duration of one note.
>> >>>>>>
>> >>>>>> On 4/22/11, Rory Walsh  wrote:
>> >>>>>>> And why do you need to patch the output of one instrument to
>> >>>>>>> another
>> >>>>>>> to do this? What's stopping you from just writing a standalone
>> >>>>>>> instrument that does this? Do you know what I mean?
>> >>>>>>>
>> >>>>>>> On 22 April 2011 20:14, Adam Puckett 
>> >>>>>>> wrote:
>> >>>>>>>> Yes, that works. What I'm trying to do is a little different:
>> >>>>>>>> bend a
>> >>>>>>>> note at a certain time that note is playing so its frequency will
>> >>>>>>>> rise
>> >>>>>>>> or fall that number of semitones.
>> >>>>>>>>
>> >>>>>>>> Adam
>> >>>>>>>>
>> >>>>>>>> On 4/22/11, Rory Walsh  wrote:
>> >>>>>>>>> As long as an instrument is still playing it can be affected by
>> >>>>>>>>> any
>> >>>>>>>>> other one. In this example instrument TRIGGER is always on and
>> >>>>>>>>> starts
>> >>>>>>>>> instrument OSCIL which has it's frequency controlled by
>> >>>>>>>>> instrument
>> >>>>>>>>> LFO
>> >>>>>>>>> which is also always on. Slightly convoluted example but it
>> >>>>>>>>> works
>> >>>>>>>>> fine.
>> >>>>>>>>>
>> >>>>>>>>> 
>> >>>>>>>>> 
>> >>>>>>>>> -odac -g
>> >>>>>>>>> 
>> >>>>>>>>> 
>> >>>>>>>>> sr = 44100
>> >>>>>>>>> ksmps = 32
>> >>>>>>>>> nchnls = 2
>> >>>>>>>>> 0dbfs = 1
>> >>>>>>>>>
>> >>>>>>>>> ; Connect up the instruments to create a signal flow graph.
>> >>>>>>>>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>> >>>>>>>>> connect "LFO",   "rightout",     "OSCIL",             "leftout"
>> >>>>>>>>>
>> >>>>>>>>> alwayson "TRIGGER"
>> >>>>>>>>> alwayson "LFO"
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> instr TRIGGER
>> >>>>>>>>> kmet metro 1
>> >>>>>>>>> Sname = "OSCIL"
>> >>>>>>>>> if(kmet==1) then
>> >>>>>>>>> event "i", Sname, 0, 1
>> >>>>>>>>> endif
>> >>>>>>>>> endin
>> >>>>>>>>>
>> >>>>>>>>> instr LFO
>> >>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>> >>>>>>>>> a1 oscil 1, 1, isine
>> >>>>>>>>> outleta "leftout", a1
>> >>>>>>>>> outleta "rightout", a1
>> >>>>>>>>> endin
>> >>>>>>>>>
>> >>>>>>>>> instr OSCIL
>> >>>>>>>>> aenv linen 1, .2, p3, .2
>> >>>>>>>>> aleftin inleta "leftin"
>> >>>>>>>>> arightin inleta "rightin"
>> >>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>> >>>>>>>>> a1 oscil 1, aleftin*1000, isine
>> >>>>>>>>> outs aenv*a1, aenv*a1
>> >>>>>>>>> endin
>> >>>>>>>>>
>> >>>>>>>>> 
>> >>>>>>>>> 
>> >>>>>>>>> f0 3600
>> >>>>>>>>> 
>> >>>>>>>>> 
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>> On 22 April 2011 19:54, Adam Puckett 
>> >>>>>>>>> wrote:
>> >>>>>>>>>> Sorry, I meant:
>> >>>>>>>>>>
>> >>>>>>>>>> kin inletk "bendin"
>> >>>>>>>>>>
>> >>>>>>>>>> Adam
>> >>>>>>>>>>
>> >>>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>> >>>>>>>>>>> It seems like the Signal Flow Graph opcodes would not allow
>> >>>>>>>>>>> you to
>> >>>>>>>>>>> bend notes after they are playing, because wouldn't that
>> >>>>>>>>>>> involve
>> >>>>>>>>>>> essentially a feedback loop and use of the i() opcode with the
>> >>>>>>>>>>> k-rate
>> >>>>>>>>>>> inlet signal being its argument? E.G.:
>> >>>>>>>>>>>
>> >>>>>>>>>>> instr Bend
>> >>>>>>>>>>> kin inleta "bendin"
>> >>>>>>>>>>> ioldvalue = i(kin)
>> >>>>>>>>>>> kout line ioldvalue, p3, p4
>> >>>>>>>>>>> outleta "bendout", kout
>> >>>>>>>>>>> endin
>> >>>>>>>>>>>
>> >>>>>>>>>>> I'll test that to see if it works.
>> >>>>>>>>>>>
>> >>>>>>>>>>> Adam
>> >>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>> >>>>>>>>>>>> Philosophically it is a hack in my opinion because the types
>> >>>>>>>>>>>> are
>> >>>>>>>>>>>> different. It's almost type coercion.
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> Adam
>> >>>>>>>>>>>>
>> >>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>> >>>>>>>>>>>>> I imagine that's actually the way Mike implemented it. I
>> >>>>>>>>>>>>> could
>> >>>>>>>>>>>>> be
>> >>>>>>>>>>>>> wrong but it looks eloquent enough to be a feature.
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>> On 22 April 2011 19:27, Adam Puckett
>> >>>>>>>>>>>>> 
>> >>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>> I get no audio when trying it the numbered way. But here's
>> >>>>>>>>>>>>>> an
>> >>>>>>>>>>>>>> interesting hack: you can connect numbered instruments by
>> >>>>>>>>>>>>>> surrounding
>> >>>>>>>>>>>>>> the numbers in quotes, thereby tricking Csound into
>> >>>>>>>>>>>>>> thinking
>> >>>>>>>>>>>>>> they're
>> >>>>>>>>>>>>>> named. Example:
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> connect "1", "out", "2", "in"
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Problem solved!
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> Adam
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>> >>>>>>>>>>>>>>> Someone reported a problem with this before. I can't
>> >>>>>>>>>>>>>>> recall
>> >>>>>>>>>>>>>>> what
>> >>>>>>>>>>>>>>> the
>> >>>>>>>>>>>>>>> outcome to the thread was. For me it's ok to use named
>> >>>>>>>>>>>>>>> instruments.
>> >>>>>>>>>>>>>>> I
>> >>>>>>>>>>>>>>> never did in the past but it's easy to update my
>> >>>>>>>>>>>>>>> instruments
>> >>>>>>>>>>>>>>> by
>> >>>>>>>>>>>>>>> giving
>> >>>>>>>>>>>>>>> them names.
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>> On 22 April 2011 19:09, Adam Puckett
>> >>>>>>>>>>>>>>> 
>> >>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>> Can I connect numbered instruments to each other using
>> >>>>>>>>>>>>>>>> them?
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>> >>>>>>>>>>>>>>>>> You should be able to get the reference pages up from
>> >>>>>>>>>>>>>>>>> doing
>> >>>>>>>>>>>>>>>>> a
>> >>>>>>>>>>>>>>>>> search.
>> >>>>>>>>>>>>>>>>> Check out Mike's article in the Csound journal for help
>> >>>>>>>>>>>>>>>>> on
>> >>>>>>>>>>>>>>>>> using
>> >>>>>>>>>>>>>>>>> them.
>> >>>>>>>>>>>>>>>>> Post here if you've any problems.
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett
>> >>>>>>>>>>>>>>>>> 
>> >>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>> Csound 5.13 for Windows, double version.
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>> >>>>>>>>>>>>>>>>>>> What version of Csound are you running? They were
>> >>>>>>>>>>>>>>>>>>> added in
>> >>>>>>>>>>>>>>>>>>> 5.11
>> >>>>>>>>>>>>>>>>>>> I
>> >>>>>>>>>>>>>>>>>>> think?
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett
>> >>>>>>>>>>>>>>>>>>> 
>> >>>>>>>>>>>>>>>>>>> wrote:
>> >>>>>>>>>>>>>>>>>>>> Hi,
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>> The Quick Reference of the Canonical Csound Reference
>> >>>>>>>>>>>>>>>>>>>> Manual
>> >>>>>>>>>>>>>>>>>>>> is
>> >>>>>>>>>>>>>>>>>>>> missing some important sections: namely the Signal
>> >>>>>>>>>>>>>>>>>>>> Flow
>> >>>>>>>>>>>>>>>>>>>> Graph
>> >>>>>>>>>>>>>>>>>>>> Opcodes
>> >>>>>>>>>>>>>>>>>>>> and the Jacko Opcodes section.
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>> Adam
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>> 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"
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>> 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"
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>> 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"
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>>
>> >>>>>>>>>>>>>> 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"
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>>
>> >>>>>>>>>>>>
>> >>>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>>
>> >>>>>>>>>> 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"
>> >>>>>>>>>
>> >>>>>>>>>
>> >>>>>>>>
>> >>>>>>>>
>> >>>>>>>> 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"
>> >>>>>>>
>> >>>>>>>
>> >>>>>>
>> >>>>>>
>> >>>>>> 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"
>> >>>>>
>> >>>>>
>> >>>>
>> >>>
>> >>>
>> >>> 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"
>> >>
>> >>
>> >
>> >
>> > 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"
>>
>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>


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-04-23 15:58
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
Will there be an announcement when it's fixed?

On 4/23/11, Rory Walsh  wrote:
> Thanks. I've been completely turned on by these opcodes!
>
> Rory.
>
>
> On 23 April 2011 15:45, Michael Gogins  wrote:
>> There is a bug in the krate ports which I have fixed but not booked in. I
>> will do that this weekend.
>> Thanks for the reminder,
>> Mike
>>
>> On Sat, Apr 23, 2011 at 10:41 AM, Rory Walsh  wrote:
>>>
>>> Downsampling is fine but I'm still curious to know why it didn't work
>>> with k-rate outlets and inlets. Maybe Mike can explain.
>>>
>>> Rory.
>>>
>>>
>>> On 23 April 2011 15:26, Adam Puckett  wrote:
>>> > I got this to work with downsamp:
>>> >
>>> > 
>>> > 
>>> > sr = 44100
>>> > ksmps = 32
>>> > nchnls = 1
>>> > 0dbfs = 1
>>> > connect "bend", "bendout", "guitar", "bendin"
>>> > instr bend
>>> > abend line p4, p3, p5
>>> > outleta "bendout", abend
>>> > endin
>>> > instr guitar
>>> > abend inleta "bendin"
>>> > kbend downsamp abend
>>> > isine ftgenonce 0, 0, 2^10, 10, 1
>>> > a1 oscil .4, cpspch(p4)*2^(kbend/12), isine
>>> > out a1
>>> > endin
>>> > 
>>> > 
>>> > i"guitar" 0 5 8.00
>>> > i"bend" 1 2 0 2
>>> > i"bend" 3 2 2 0
>>> > 
>>> > 
>>> >
>>> > Adam
>>> >
>>> > On 4/22/11, Rory Walsh  wrote:
>>> >> I can get something going with a-rate outlets/inlets but not k-rate.
>>> >>
>>> >> 
>>> >> 
>>> >> -odac -g
>>> >> 
>>> >> 
>>> >> sr = 44100
>>> >> ksmps = 32
>>> >> nchnls = 1
>>> >> 0dbfs = 1
>>> >> connect "bend", "bendout", "guitar", "bendin"
>>> >> instr bend
>>> >> abend line p4, p3, p5
>>> >> outleta "bendout", abend
>>> >> endin
>>> >>
>>> >> instr guitar
>>> >> abend inleta "bendin"
>>> >> ;a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>>> >> a1 oscil .4, cpspch(p4)+abend*2, 1
>>> >> out a1
>>> >> endin
>>> >> 
>>> >> 
>>> >> f1 0 4096 10 1
>>> >> i"guitar" 0 5 8.00
>>> >> i"bend" 3 2 -12 12
>>> >> i"bend" 4 .01 -17 40
>>> >> 
>>> >> 
>>> >>
>>> >>
>>> >> On 22 April 2011 21:23, Adam Puckett  wrote:
>>> >>> Here it is again, with typos fixed. Audio; no bend. :(
>>> >>>
>>> >>> 
>>> >>> 
>>> >>> sr = 44100
>>> >>> ksmps = 32
>>> >>> nchnls = 1
>>> >>> 0dbfs = 1
>>> >>> connect "bend", "bendout", "guitar", "bendin"
>>> >>> instr bend
>>> >>> kbend line p4, p3, p5
>>> >>> outletk "bendout", kbend
>>> >>> endin
>>> >>> instr guitar
>>> >>> kbend inletk "bendin"
>>> >>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>>> >>> out a1
>>> >>> endin
>>> >>> 
>>> >>> 
>>> >>> f1 0 4096 10 1
>>> >>> i"guitar" 0 5 8.00
>>> >>> i"bend" 3 .2 -12 12
>>> >>> i"bend" 4 .01 -17 40
>>> >>> 
>>> >>> 
>>> >>>
>>> >>>
>>> >>>
>>> >>> On 4/22/11, Adam Puckett  wrote:
>>> >>>> Here it is:
>>> >>>>
>>> >>>>
>>> >>>> 
>>> >>>> 
>>> >>>> sr = 44100
>>> >>>> ksmps = 32
>>> >>>> nchnls = 1
>>> >>>> 0dbfs = 1
>>> >>>> connect "bend", "bendout", "guitar", "bendin"
>>> >>>> instr bend
>>> >>>> kbend line p4, p3, p5
>>> >>>> outletk "bendout", kbend
>>> >>>> endin
>>> >>>> instr guitar
>>> >>>> kbend inletk "freqin"
>>> >>>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>>> >>>> out a1
>>> >>>> endin
>>> >>>> 
>>> >>>> 
>>> >>>> f1 0 4096 10 1
>>> >>>> i"guitar 0 5 8.00
>>> >>>> i"bend" 3 .2 -12 12
>>> >>>> i"bend" 4 .01 -17 40
>>> >>>> 
>>> >>>> 
>>> >>>>
>>> >>>> I get nothing.
>>> >>>>
>>> >>>> Adam
>>> >>>>
>>> >>>> On 4/22/11, Rory Walsh  wrote:
>>> >>>>> And you want a signal from another instrument to determine the
>>> >>>>> number of
>>> >>>>> bends?
>>> >>>>>
>>> >>>>> On 22 April 2011 20:25, Adam Puckett 
>>> >>>>> wrote:
>>> >>>>>> Because I need to perform an indefinite number of bends over the
>>> >>>>>> duration of one note.
>>> >>>>>>
>>> >>>>>> On 4/22/11, Rory Walsh  wrote:
>>> >>>>>>> And why do you need to patch the output of one instrument to
>>> >>>>>>> another
>>> >>>>>>> to do this? What's stopping you from just writing a standalone
>>> >>>>>>> instrument that does this? Do you know what I mean?
>>> >>>>>>>
>>> >>>>>>> On 22 April 2011 20:14, Adam Puckett 
>>> >>>>>>> wrote:
>>> >>>>>>>> Yes, that works. What I'm trying to do is a little different:
>>> >>>>>>>> bend a
>>> >>>>>>>> note at a certain time that note is playing so its frequency
>>> >>>>>>>> will
>>> >>>>>>>> rise
>>> >>>>>>>> or fall that number of semitones.
>>> >>>>>>>>
>>> >>>>>>>> Adam
>>> >>>>>>>>
>>> >>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>> >>>>>>>>> As long as an instrument is still playing it can be affected by
>>> >>>>>>>>> any
>>> >>>>>>>>> other one. In this example instrument TRIGGER is always on and
>>> >>>>>>>>> starts
>>> >>>>>>>>> instrument OSCIL which has it's frequency controlled by
>>> >>>>>>>>> instrument
>>> >>>>>>>>> LFO
>>> >>>>>>>>> which is also always on. Slightly convoluted example but it
>>> >>>>>>>>> works
>>> >>>>>>>>> fine.
>>> >>>>>>>>>
>>> >>>>>>>>> 
>>> >>>>>>>>> 
>>> >>>>>>>>> -odac -g
>>> >>>>>>>>> 
>>> >>>>>>>>> 
>>> >>>>>>>>> sr = 44100
>>> >>>>>>>>> ksmps = 32
>>> >>>>>>>>> nchnls = 2
>>> >>>>>>>>> 0dbfs = 1
>>> >>>>>>>>>
>>> >>>>>>>>> ; Connect up the instruments to create a signal flow graph.
>>> >>>>>>>>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>>> >>>>>>>>> connect "LFO",   "rightout",     "OSCIL",             "leftout"
>>> >>>>>>>>>
>>> >>>>>>>>> alwayson "TRIGGER"
>>> >>>>>>>>> alwayson "LFO"
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>> instr TRIGGER
>>> >>>>>>>>> kmet metro 1
>>> >>>>>>>>> Sname = "OSCIL"
>>> >>>>>>>>> if(kmet==1) then
>>> >>>>>>>>> event "i", Sname, 0, 1
>>> >>>>>>>>> endif
>>> >>>>>>>>> endin
>>> >>>>>>>>>
>>> >>>>>>>>> instr LFO
>>> >>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>> >>>>>>>>> a1 oscil 1, 1, isine
>>> >>>>>>>>> outleta "leftout", a1
>>> >>>>>>>>> outleta "rightout", a1
>>> >>>>>>>>> endin
>>> >>>>>>>>>
>>> >>>>>>>>> instr OSCIL
>>> >>>>>>>>> aenv linen 1, .2, p3, .2
>>> >>>>>>>>> aleftin inleta "leftin"
>>> >>>>>>>>> arightin inleta "rightin"
>>> >>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>> >>>>>>>>> a1 oscil 1, aleftin*1000, isine
>>> >>>>>>>>> outs aenv*a1, aenv*a1
>>> >>>>>>>>> endin
>>> >>>>>>>>>
>>> >>>>>>>>> 
>>> >>>>>>>>> 
>>> >>>>>>>>> f0 3600
>>> >>>>>>>>> 
>>> >>>>>>>>> 
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>> On 22 April 2011 19:54, Adam Puckett 
>>> >>>>>>>>> wrote:
>>> >>>>>>>>>> Sorry, I meant:
>>> >>>>>>>>>>
>>> >>>>>>>>>> kin inletk "bendin"
>>> >>>>>>>>>>
>>> >>>>>>>>>> Adam
>>> >>>>>>>>>>
>>> >>>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>>> >>>>>>>>>>> It seems like the Signal Flow Graph opcodes would not allow
>>> >>>>>>>>>>> you to
>>> >>>>>>>>>>> bend notes after they are playing, because wouldn't that
>>> >>>>>>>>>>> involve
>>> >>>>>>>>>>> essentially a feedback loop and use of the i() opcode with
>>> >>>>>>>>>>> the
>>> >>>>>>>>>>> k-rate
>>> >>>>>>>>>>> inlet signal being its argument? E.G.:
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> instr Bend
>>> >>>>>>>>>>> kin inleta "bendin"
>>> >>>>>>>>>>> ioldvalue = i(kin)
>>> >>>>>>>>>>> kout line ioldvalue, p3, p4
>>> >>>>>>>>>>> outleta "bendout", kout
>>> >>>>>>>>>>> endin
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> I'll test that to see if it works.
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> Adam
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>>> >>>>>>>>>>>> Philosophically it is a hack in my opinion because the types
>>> >>>>>>>>>>>> are
>>> >>>>>>>>>>>> different. It's almost type coercion.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> Adam
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>> >>>>>>>>>>>>> I imagine that's actually the way Mike implemented it. I
>>> >>>>>>>>>>>>> could
>>> >>>>>>>>>>>>> be
>>> >>>>>>>>>>>>> wrong but it looks eloquent enough to be a feature.
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> On 22 April 2011 19:27, Adam Puckett
>>> >>>>>>>>>>>>> 
>>> >>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>> I get no audio when trying it the numbered way. But here's
>>> >>>>>>>>>>>>>> an
>>> >>>>>>>>>>>>>> interesting hack: you can connect numbered instruments by
>>> >>>>>>>>>>>>>> surrounding
>>> >>>>>>>>>>>>>> the numbers in quotes, thereby tricking Csound into
>>> >>>>>>>>>>>>>> thinking
>>> >>>>>>>>>>>>>> they're
>>> >>>>>>>>>>>>>> named. Example:
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> connect "1", "out", "2", "in"
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> Problem solved!
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> Adam
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>> >>>>>>>>>>>>>>> Someone reported a problem with this before. I can't
>>> >>>>>>>>>>>>>>> recall
>>> >>>>>>>>>>>>>>> what
>>> >>>>>>>>>>>>>>> the
>>> >>>>>>>>>>>>>>> outcome to the thread was. For me it's ok to use named
>>> >>>>>>>>>>>>>>> instruments.
>>> >>>>>>>>>>>>>>> I
>>> >>>>>>>>>>>>>>> never did in the past but it's easy to update my
>>> >>>>>>>>>>>>>>> instruments
>>> >>>>>>>>>>>>>>> by
>>> >>>>>>>>>>>>>>> giving
>>> >>>>>>>>>>>>>>> them names.
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>> On 22 April 2011 19:09, Adam Puckett
>>> >>>>>>>>>>>>>>> 
>>> >>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>> Can I connect numbered instruments to each other using
>>> >>>>>>>>>>>>>>>> them?
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>> >>>>>>>>>>>>>>>>> You should be able to get the reference pages up from
>>> >>>>>>>>>>>>>>>>> doing
>>> >>>>>>>>>>>>>>>>> a
>>> >>>>>>>>>>>>>>>>> search.
>>> >>>>>>>>>>>>>>>>> Check out Mike's article in the Csound journal for help
>>> >>>>>>>>>>>>>>>>> on
>>> >>>>>>>>>>>>>>>>> using
>>> >>>>>>>>>>>>>>>>> them.
>>> >>>>>>>>>>>>>>>>> Post here if you've any problems.
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett
>>> >>>>>>>>>>>>>>>>> 
>>> >>>>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>>>> Csound 5.13 for Windows, double version.
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>>> >>>>>>>>>>>>>>>>>>> What version of Csound are you running? They were
>>> >>>>>>>>>>>>>>>>>>> added in
>>> >>>>>>>>>>>>>>>>>>> 5.11
>>> >>>>>>>>>>>>>>>>>>> I
>>> >>>>>>>>>>>>>>>>>>> think?
>>> >>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett
>>> >>>>>>>>>>>>>>>>>>> 
>>> >>>>>>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>>>>>> Hi,
>>> >>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>> The Quick Reference of the Canonical Csound
>>> >>>>>>>>>>>>>>>>>>>> Reference
>>> >>>>>>>>>>>>>>>>>>>> Manual
>>> >>>>>>>>>>>>>>>>>>>> is
>>> >>>>>>>>>>>>>>>>>>>> missing some important sections: namely the Signal
>>> >>>>>>>>>>>>>>>>>>>> Flow
>>> >>>>>>>>>>>>>>>>>>>> Graph
>>> >>>>>>>>>>>>>>>>>>>> Opcodes
>>> >>>>>>>>>>>>>>>>>>>> and the Jacko Opcodes section.
>>> >>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>> Adam
>>> >>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>> 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"
>>> >>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>> 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"
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>> 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"
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> 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"
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>> 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"
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>> 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"
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>
>>> >>>>>>
>>> >>>>>> 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"
>>> >>>>>
>>> >>>>>
>>> >>>>
>>> >>>
>>> >>>
>>> >>> 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"
>>> >>
>>> >>
>>> >
>>> >
>>> > 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"
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>
>
> 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"


Date2011-04-23 21:48
FromMichael Gogins
SubjectRe: [Csnd] opcode quick reference
It is fixed in the SourceForge GIT repository now.

Regards,
Mike

On Sat, Apr 23, 2011 at 10:58 AM, Adam Puckett <adotsdothmusic@gmail.com> wrote:
Will there be an announcement when it's fixed?

On 4/23/11, Rory Walsh <rorywalsh@ear.ie> wrote:
> Thanks. I've been completely turned on by these opcodes!
>
> Rory.
>
>
> On 23 April 2011 15:45, Michael Gogins <michael.gogins@gmail.com> wrote:
>> There is a bug in the krate ports which I have fixed but not booked in. I
>> will do that this weekend.
>> Thanks for the reminder,
>> Mike
>>
>> On Sat, Apr 23, 2011 at 10:41 AM, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>
>>> Downsampling is fine but I'm still curious to know why it didn't work
>>> with k-rate outlets and inlets. Maybe Mike can explain.
>>>
>>> Rory.
>>>
>>>
>>> On 23 April 2011 15:26, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>> > I got this to work with downsamp:
>>> >
>>> > <CsoundSynthesizer>
>>> > <CsInstruments>
>>> > sr = 44100
>>> > ksmps = 32
>>> > nchnls = 1
>>> > 0dbfs = 1
>>> > connect "bend", "bendout", "guitar", "bendin"
>>> > instr bend
>>> > abend line p4, p3, p5
>>> > outleta "bendout", abend
>>> > endin
>>> > instr guitar
>>> > abend inleta "bendin"
>>> > kbend downsamp abend
>>> > isine ftgenonce 0, 0, 2^10, 10, 1
>>> > a1 oscil .4, cpspch(p4)*2^(kbend/12), isine
>>> > out a1
>>> > endin
>>> > </CsInstruments>
>>> > <CsScore>
>>> > i"guitar" 0 5 8.00
>>> > i"bend" 1 2 0 2
>>> > i"bend" 3 2 2 0
>>> > </CsScore>
>>> > </CsoundSynthesizer>
>>> >
>>> > Adam
>>> >
>>> > On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>> >> I can get something going with a-rate outlets/inlets but not k-rate.
>>> >>
>>> >> <CsoundSynthesizer>
>>> >> <CsOptions>
>>> >> -odac -g
>>> >> </CsOptions>
>>> >> <CsInstruments>
>>> >> sr = 44100
>>> >> ksmps = 32
>>> >> nchnls = 1
>>> >> 0dbfs = 1
>>> >> connect "bend", "bendout", "guitar", "bendin"
>>> >> instr bend
>>> >> abend line p4, p3, p5
>>> >> outleta "bendout", abend
>>> >> endin
>>> >>
>>> >> instr guitar
>>> >> abend inleta "bendin"
>>> >> ;a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>>> >> a1 oscil .4, cpspch(p4)+abend*2, 1
>>> >> out a1
>>> >> endin
>>> >> </CsInstruments>
>>> >> <CsScore>
>>> >> f1 0 4096 10 1
>>> >> i"guitar" 0 5 8.00
>>> >> i"bend" 3 2 -12 12
>>> >> i"bend" 4 .01 -17 40
>>> >> </CsScore>
>>> >> </CsoundSynthesizer>
>>> >>
>>> >>
>>> >> On 22 April 2011 21:23, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>> >>> Here it is again, with typos fixed. Audio; no bend. :(
>>> >>>
>>> >>> <CsoundSynthesizer>
>>> >>> <CsInstruments>
>>> >>> sr = 44100
>>> >>> ksmps = 32
>>> >>> nchnls = 1
>>> >>> 0dbfs = 1
>>> >>> connect "bend", "bendout", "guitar", "bendin"
>>> >>> instr bend
>>> >>> kbend line p4, p3, p5
>>> >>> outletk "bendout", kbend
>>> >>> endin
>>> >>> instr guitar
>>> >>> kbend inletk "bendin"
>>> >>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>>> >>> out a1
>>> >>> endin
>>> >>> </CsInstruments>
>>> >>> <CsScore>
>>> >>> f1 0 4096 10 1
>>> >>> i"guitar" 0 5 8.00
>>> >>> i"bend" 3 .2 -12 12
>>> >>> i"bend" 4 .01 -17 40
>>> >>> </CsScore>
>>> >>> </CsoundSynthesizer>
>>> >>>
>>> >>>
>>> >>>
>>> >>> On 4/22/11, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>> >>>> Here it is:
>>> >>>>
>>> >>>>
>>> >>>> <CsoundSynthesizer>
>>> >>>> <CsInstruments>
>>> >>>> sr = 44100
>>> >>>> ksmps = 32
>>> >>>> nchnls = 1
>>> >>>> 0dbfs = 1
>>> >>>> connect "bend", "bendout", "guitar", "bendin"
>>> >>>> instr bend
>>> >>>> kbend line p4, p3, p5
>>> >>>> outletk "bendout", kbend
>>> >>>> endin
>>> >>>> instr guitar
>>> >>>> kbend inletk "freqin"
>>> >>>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>>> >>>> out a1
>>> >>>> endin
>>> >>>> </CsInstruments>
>>> >>>> <CsScore>
>>> >>>> f1 0 4096 10 1
>>> >>>> i"guitar 0 5 8.00
>>> >>>> i"bend" 3 .2 -12 12
>>> >>>> i"bend" 4 .01 -17 40
>>> >>>> </CsScore>
>>> >>>> </CsoundSynthesizer>
>>> >>>>
>>> >>>> I get nothing.
>>> >>>>
>>> >>>> Adam
>>> >>>>
>>> >>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>> >>>>> And you want a signal from another instrument to determine the
>>> >>>>> number of
>>> >>>>> bends?
>>> >>>>>
>>> >>>>> On 22 April 2011 20:25, Adam Puckett <adotsdothmusic@gmail.com>
>>> >>>>> wrote:
>>> >>>>>> Because I need to perform an indefinite number of bends over the
>>> >>>>>> duration of one note.
>>> >>>>>>
>>> >>>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>> >>>>>>> And why do you need to patch the output of one instrument to
>>> >>>>>>> another
>>> >>>>>>> to do this? What's stopping you from just writing a standalone
>>> >>>>>>> instrument that does this? Do you know what I mean?
>>> >>>>>>>
>>> >>>>>>> On 22 April 2011 20:14, Adam Puckett <adotsdothmusic@gmail.com>
>>> >>>>>>> wrote:
>>> >>>>>>>> Yes, that works. What I'm trying to do is a little different:
>>> >>>>>>>> bend a
>>> >>>>>>>> note at a certain time that note is playing so its frequency
>>> >>>>>>>> will
>>> >>>>>>>> rise
>>> >>>>>>>> or fall that number of semitones.
>>> >>>>>>>>
>>> >>>>>>>> Adam
>>> >>>>>>>>
>>> >>>>>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>> >>>>>>>>> As long as an instrument is still playing it can be affected by
>>> >>>>>>>>> any
>>> >>>>>>>>> other one. In this example instrument TRIGGER is always on and
>>> >>>>>>>>> starts
>>> >>>>>>>>> instrument OSCIL which has it's frequency controlled by
>>> >>>>>>>>> instrument
>>> >>>>>>>>> LFO
>>> >>>>>>>>> which is also always on. Slightly convoluted example but it
>>> >>>>>>>>> works
>>> >>>>>>>>> fine.
>>> >>>>>>>>>
>>> >>>>>>>>> <CsoundSynthesizer>
>>> >>>>>>>>> <CsOptions>
>>> >>>>>>>>> -odac -g
>>> >>>>>>>>> </CsOptions>
>>> >>>>>>>>> <CsInstruments>
>>> >>>>>>>>> sr = 44100
>>> >>>>>>>>> ksmps = 32
>>> >>>>>>>>> nchnls = 2
>>> >>>>>>>>> 0dbfs = 1
>>> >>>>>>>>>
>>> >>>>>>>>> ; Connect up the instruments to create a signal flow graph.
>>> >>>>>>>>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>>> >>>>>>>>> connect "LFO",   "rightout",     "OSCIL",             "leftout"
>>> >>>>>>>>>
>>> >>>>>>>>> alwayson "TRIGGER"
>>> >>>>>>>>> alwayson "LFO"
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>> instr TRIGGER
>>> >>>>>>>>> kmet metro 1
>>> >>>>>>>>> Sname = "OSCIL"
>>> >>>>>>>>> if(kmet==1) then
>>> >>>>>>>>> event "i", Sname, 0, 1
>>> >>>>>>>>> endif
>>> >>>>>>>>> endin
>>> >>>>>>>>>
>>> >>>>>>>>> instr LFO
>>> >>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>> >>>>>>>>> a1 oscil 1, 1, isine
>>> >>>>>>>>> outleta "leftout", a1
>>> >>>>>>>>> outleta "rightout", a1
>>> >>>>>>>>> endin
>>> >>>>>>>>>
>>> >>>>>>>>> instr OSCIL
>>> >>>>>>>>> aenv linen 1, .2, p3, .2
>>> >>>>>>>>> aleftin inleta "leftin"
>>> >>>>>>>>> arightin inleta "rightin"
>>> >>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>>> >>>>>>>>> a1 oscil 1, aleftin*1000, isine
>>> >>>>>>>>> outs aenv*a1, aenv*a1
>>> >>>>>>>>> endin
>>> >>>>>>>>>
>>> >>>>>>>>> </CsInstruments>
>>> >>>>>>>>> <CsScore>
>>> >>>>>>>>> f0 3600
>>> >>>>>>>>> </CsScore>
>>> >>>>>>>>> </CsoundSynthesizer>
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>> On 22 April 2011 19:54, Adam Puckett <adotsdothmusic@gmail.com>
>>> >>>>>>>>> wrote:
>>> >>>>>>>>>> Sorry, I meant:
>>> >>>>>>>>>>
>>> >>>>>>>>>> kin inletk "bendin"
>>> >>>>>>>>>>
>>> >>>>>>>>>> Adam
>>> >>>>>>>>>>
>>> >>>>>>>>>> On 4/22/11, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>> >>>>>>>>>>> It seems like the Signal Flow Graph opcodes would not allow
>>> >>>>>>>>>>> you to
>>> >>>>>>>>>>> bend notes after they are playing, because wouldn't that
>>> >>>>>>>>>>> involve
>>> >>>>>>>>>>> essentially a feedback loop and use of the i() opcode with
>>> >>>>>>>>>>> the
>>> >>>>>>>>>>> k-rate
>>> >>>>>>>>>>> inlet signal being its argument? E.G.:
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> instr Bend
>>> >>>>>>>>>>> kin inleta "bendin"
>>> >>>>>>>>>>> ioldvalue = i(kin)
>>> >>>>>>>>>>> kout line ioldvalue, p3, p4
>>> >>>>>>>>>>> outleta "bendout", kout
>>> >>>>>>>>>>> endin
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> I'll test that to see if it works.
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> Adam
>>> >>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>> On 4/22/11, Adam Puckett <adotsdothmusic@gmail.com> wrote:
>>> >>>>>>>>>>>> Philosophically it is a hack in my opinion because the types
>>> >>>>>>>>>>>> are
>>> >>>>>>>>>>>> different. It's almost type coercion.
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> Adam
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>> >>>>>>>>>>>>> I imagine that's actually the way Mike implemented it. I
>>> >>>>>>>>>>>>> could
>>> >>>>>>>>>>>>> be
>>> >>>>>>>>>>>>> wrong but it looks eloquent enough to be a feature.
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>> On 22 April 2011 19:27, Adam Puckett
>>> >>>>>>>>>>>>> <adotsdothmusic@gmail.com>
>>> >>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>> I get no audio when trying it the numbered way. But here's
>>> >>>>>>>>>>>>>> an
>>> >>>>>>>>>>>>>> interesting hack: you can connect numbered instruments by
>>> >>>>>>>>>>>>>> surrounding
>>> >>>>>>>>>>>>>> the numbers in quotes, thereby tricking Csound into
>>> >>>>>>>>>>>>>> thinking
>>> >>>>>>>>>>>>>> they're
>>> >>>>>>>>>>>>>> named. Example:
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> connect "1", "out", "2", "in"
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> Problem solved!
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> Adam
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>> >>>>>>>>>>>>>>> Someone reported a problem with this before. I can't
>>> >>>>>>>>>>>>>>> recall
>>> >>>>>>>>>>>>>>> what
>>> >>>>>>>>>>>>>>> the
>>> >>>>>>>>>>>>>>> outcome to the thread was. For me it's ok to use named
>>> >>>>>>>>>>>>>>> instruments.
>>> >>>>>>>>>>>>>>> I
>>> >>>>>>>>>>>>>>> never did in the past but it's easy to update my
>>> >>>>>>>>>>>>>>> instruments
>>> >>>>>>>>>>>>>>> by
>>> >>>>>>>>>>>>>>> giving
>>> >>>>>>>>>>>>>>> them names.
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>> On 22 April 2011 19:09, Adam Puckett
>>> >>>>>>>>>>>>>>> <adotsdothmusic@gmail.com>
>>> >>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>> Can I connect numbered instruments to each other using
>>> >>>>>>>>>>>>>>>> them?
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>> >>>>>>>>>>>>>>>>> You should be able to get the reference pages up from
>>> >>>>>>>>>>>>>>>>> doing
>>> >>>>>>>>>>>>>>>>> a
>>> >>>>>>>>>>>>>>>>> search.
>>> >>>>>>>>>>>>>>>>> Check out Mike's article in the Csound journal for help
>>> >>>>>>>>>>>>>>>>> on
>>> >>>>>>>>>>>>>>>>> using
>>> >>>>>>>>>>>>>>>>> them.
>>> >>>>>>>>>>>>>>>>> Post here if you've any problems.
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett
>>> >>>>>>>>>>>>>>>>> <adotsdothmusic@gmail.com>
>>> >>>>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>>>> Csound 5.13 for Windows, double version.
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh <rorywalsh@ear.ie> wrote:
>>> >>>>>>>>>>>>>>>>>>> What version of Csound are you running? They were
>>> >>>>>>>>>>>>>>>>>>> added in
>>> >>>>>>>>>>>>>>>>>>> 5.11
>>> >>>>>>>>>>>>>>>>>>> I
>>> >>>>>>>>>>>>>>>>>>> think?
>>> >>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett
>>> >>>>>>>>>>>>>>>>>>> <adotsdothmusic@gmail.com>
>>> >>>>>>>>>>>>>>>>>>> wrote:
>>> >>>>>>>>>>>>>>>>>>>> Hi,
>>> >>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>> The Quick Reference of the Canonical Csound
>>> >>>>>>>>>>>>>>>>>>>> Reference
>>> >>>>>>>>>>>>>>>>>>>> Manual
>>> >>>>>>>>>>>>>>>>>>>> is
>>> >>>>>>>>>>>>>>>>>>>> missing some important sections: namely the Signal
>>> >>>>>>>>>>>>>>>>>>>> Flow
>>> >>>>>>>>>>>>>>>>>>>> Graph
>>> >>>>>>>>>>>>>>>>>>>> Opcodes
>>> >>>>>>>>>>>>>>>>>>>> and the Jacko Opcodes section.
>>> >>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>> Adam
>>> >>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>> 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"
>>> >>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>> 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"
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>> 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"
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>>
>>> >>>>>>>>>>>>>> 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"
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>>
>>> >>>>>>>>>>>>
>>> >>>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>>
>>> >>>>>>>>>> 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"
>>> >>>>>>>>>
>>> >>>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>>
>>> >>>>>>>> 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"
>>> >>>>>>>
>>> >>>>>>>
>>> >>>>>>
>>> >>>>>>
>>> >>>>>> 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"
>>> >>>>>
>>> >>>>>
>>> >>>>
>>> >>>
>>> >>>
>>> >>> 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"
>>> >>
>>> >>
>>> >
>>> >
>>> > 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"
>>>
>>
>>
>>
>> --
>> Michael Gogins
>> Irreducible Productions
>> http://www.michael-gogins.com
>> Michael dot Gogins at gmail dot com
>>
>
>
> 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"




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2011-04-24 00:17
FromAdam Puckett
SubjectRe: [Csnd] opcode quick reference
When will it be fixed in binary releases?

On 4/23/11, Michael Gogins  wrote:
> It is fixed in the SourceForge GIT repository now.
>
> Regards,
> Mike
>
> On Sat, Apr 23, 2011 at 10:58 AM, Adam Puckett
> wrote:
>
>> Will there be an announcement when it's fixed?
>>
>> On 4/23/11, Rory Walsh  wrote:
>> > Thanks. I've been completely turned on by these opcodes!
>> >
>> > Rory.
>> >
>> >
>> > On 23 April 2011 15:45, Michael Gogins  wrote:
>> >> There is a bug in the krate ports which I have fixed but not booked in.
>> I
>> >> will do that this weekend.
>> >> Thanks for the reminder,
>> >> Mike
>> >>
>> >> On Sat, Apr 23, 2011 at 10:41 AM, Rory Walsh  wrote:
>> >>>
>> >>> Downsampling is fine but I'm still curious to know why it didn't work
>> >>> with k-rate outlets and inlets. Maybe Mike can explain.
>> >>>
>> >>> Rory.
>> >>>
>> >>>
>> >>> On 23 April 2011 15:26, Adam Puckett  wrote:
>> >>> > I got this to work with downsamp:
>> >>> >
>> >>> > 
>> >>> > 
>> >>> > sr = 44100
>> >>> > ksmps = 32
>> >>> > nchnls = 1
>> >>> > 0dbfs = 1
>> >>> > connect "bend", "bendout", "guitar", "bendin"
>> >>> > instr bend
>> >>> > abend line p4, p3, p5
>> >>> > outleta "bendout", abend
>> >>> > endin
>> >>> > instr guitar
>> >>> > abend inleta "bendin"
>> >>> > kbend downsamp abend
>> >>> > isine ftgenonce 0, 0, 2^10, 10, 1
>> >>> > a1 oscil .4, cpspch(p4)*2^(kbend/12), isine
>> >>> > out a1
>> >>> > endin
>> >>> > 
>> >>> > 
>> >>> > i"guitar" 0 5 8.00
>> >>> > i"bend" 1 2 0 2
>> >>> > i"bend" 3 2 2 0
>> >>> > 
>> >>> > 
>> >>> >
>> >>> > Adam
>> >>> >
>> >>> > On 4/22/11, Rory Walsh  wrote:
>> >>> >> I can get something going with a-rate outlets/inlets but not
>> >>> >> k-rate.
>> >>> >>
>> >>> >> 
>> >>> >> 
>> >>> >> -odac -g
>> >>> >> 
>> >>> >> 
>> >>> >> sr = 44100
>> >>> >> ksmps = 32
>> >>> >> nchnls = 1
>> >>> >> 0dbfs = 1
>> >>> >> connect "bend", "bendout", "guitar", "bendin"
>> >>> >> instr bend
>> >>> >> abend line p4, p3, p5
>> >>> >> outleta "bendout", abend
>> >>> >> endin
>> >>> >>
>> >>> >> instr guitar
>> >>> >> abend inleta "bendin"
>> >>> >> ;a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>> >>> >> a1 oscil .4, cpspch(p4)+abend*2, 1
>> >>> >> out a1
>> >>> >> endin
>> >>> >> 
>> >>> >> 
>> >>> >> f1 0 4096 10 1
>> >>> >> i"guitar" 0 5 8.00
>> >>> >> i"bend" 3 2 -12 12
>> >>> >> i"bend" 4 .01 -17 40
>> >>> >> 
>> >>> >> 
>> >>> >>
>> >>> >>
>> >>> >> On 22 April 2011 21:23, Adam Puckett 
>> wrote:
>> >>> >>> Here it is again, with typos fixed. Audio; no bend. :(
>> >>> >>>
>> >>> >>> 
>> >>> >>> 
>> >>> >>> sr = 44100
>> >>> >>> ksmps = 32
>> >>> >>> nchnls = 1
>> >>> >>> 0dbfs = 1
>> >>> >>> connect "bend", "bendout", "guitar", "bendin"
>> >>> >>> instr bend
>> >>> >>> kbend line p4, p3, p5
>> >>> >>> outletk "bendout", kbend
>> >>> >>> endin
>> >>> >>> instr guitar
>> >>> >>> kbend inletk "bendin"
>> >>> >>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>> >>> >>> out a1
>> >>> >>> endin
>> >>> >>> 
>> >>> >>> 
>> >>> >>> f1 0 4096 10 1
>> >>> >>> i"guitar" 0 5 8.00
>> >>> >>> i"bend" 3 .2 -12 12
>> >>> >>> i"bend" 4 .01 -17 40
>> >>> >>> 
>> >>> >>> 
>> >>> >>>
>> >>> >>>
>> >>> >>>
>> >>> >>> On 4/22/11, Adam Puckett  wrote:
>> >>> >>>> Here it is:
>> >>> >>>>
>> >>> >>>>
>> >>> >>>> 
>> >>> >>>> 
>> >>> >>>> sr = 44100
>> >>> >>>> ksmps = 32
>> >>> >>>> nchnls = 1
>> >>> >>>> 0dbfs = 1
>> >>> >>>> connect "bend", "bendout", "guitar", "bendin"
>> >>> >>>> instr bend
>> >>> >>>> kbend line p4, p3, p5
>> >>> >>>> outletk "bendout", kbend
>> >>> >>>> endin
>> >>> >>>> instr guitar
>> >>> >>>> kbend inletk "freqin"
>> >>> >>>> a1 oscil .4, cpspch(p4)*2^(kbend/12), 1
>> >>> >>>> out a1
>> >>> >>>> endin
>> >>> >>>> 
>> >>> >>>> 
>> >>> >>>> f1 0 4096 10 1
>> >>> >>>> i"guitar 0 5 8.00
>> >>> >>>> i"bend" 3 .2 -12 12
>> >>> >>>> i"bend" 4 .01 -17 40
>> >>> >>>> 
>> >>> >>>> 
>> >>> >>>>
>> >>> >>>> I get nothing.
>> >>> >>>>
>> >>> >>>> Adam
>> >>> >>>>
>> >>> >>>> On 4/22/11, Rory Walsh  wrote:
>> >>> >>>>> And you want a signal from another instrument to determine the
>> >>> >>>>> number of
>> >>> >>>>> bends?
>> >>> >>>>>
>> >>> >>>>> On 22 April 2011 20:25, Adam Puckett 
>> >>> >>>>> wrote:
>> >>> >>>>>> Because I need to perform an indefinite number of bends over
>> >>> >>>>>> the
>> >>> >>>>>> duration of one note.
>> >>> >>>>>>
>> >>> >>>>>> On 4/22/11, Rory Walsh  wrote:
>> >>> >>>>>>> And why do you need to patch the output of one instrument to
>> >>> >>>>>>> another
>> >>> >>>>>>> to do this? What's stopping you from just writing a standalone
>> >>> >>>>>>> instrument that does this? Do you know what I mean?
>> >>> >>>>>>>
>> >>> >>>>>>> On 22 April 2011 20:14, Adam Puckett > >
>> >>> >>>>>>> wrote:
>> >>> >>>>>>>> Yes, that works. What I'm trying to do is a little different:
>> >>> >>>>>>>> bend a
>> >>> >>>>>>>> note at a certain time that note is playing so its frequency
>> >>> >>>>>>>> will
>> >>> >>>>>>>> rise
>> >>> >>>>>>>> or fall that number of semitones.
>> >>> >>>>>>>>
>> >>> >>>>>>>> Adam
>> >>> >>>>>>>>
>> >>> >>>>>>>> On 4/22/11, Rory Walsh  wrote:
>> >>> >>>>>>>>> As long as an instrument is still playing it can be affected
>> by
>> >>> >>>>>>>>> any
>> >>> >>>>>>>>> other one. In this example instrument TRIGGER is always on
>> and
>> >>> >>>>>>>>> starts
>> >>> >>>>>>>>> instrument OSCIL which has it's frequency controlled by
>> >>> >>>>>>>>> instrument
>> >>> >>>>>>>>> LFO
>> >>> >>>>>>>>> which is also always on. Slightly convoluted example but it
>> >>> >>>>>>>>> works
>> >>> >>>>>>>>> fine.
>> >>> >>>>>>>>>
>> >>> >>>>>>>>> 
>> >>> >>>>>>>>> 
>> >>> >>>>>>>>> -odac -g
>> >>> >>>>>>>>> 
>> >>> >>>>>>>>> 
>> >>> >>>>>>>>> sr = 44100
>> >>> >>>>>>>>> ksmps = 32
>> >>> >>>>>>>>> nchnls = 2
>> >>> >>>>>>>>> 0dbfs = 1
>> >>> >>>>>>>>>
>> >>> >>>>>>>>> ; Connect up the instruments to create a signal flow graph.
>> >>> >>>>>>>>> connect "LFO",   "leftout",     "OSCIL",      "leftin"
>> >>> >>>>>>>>> connect "LFO",   "rightout",     "OSCIL",
>> "leftout"
>> >>> >>>>>>>>>
>> >>> >>>>>>>>> alwayson "TRIGGER"
>> >>> >>>>>>>>> alwayson "LFO"
>> >>> >>>>>>>>>
>> >>> >>>>>>>>>
>> >>> >>>>>>>>> instr TRIGGER
>> >>> >>>>>>>>> kmet metro 1
>> >>> >>>>>>>>> Sname = "OSCIL"
>> >>> >>>>>>>>> if(kmet==1) then
>> >>> >>>>>>>>> event "i", Sname, 0, 1
>> >>> >>>>>>>>> endif
>> >>> >>>>>>>>> endin
>> >>> >>>>>>>>>
>> >>> >>>>>>>>> instr LFO
>> >>> >>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>> >>> >>>>>>>>> a1 oscil 1, 1, isine
>> >>> >>>>>>>>> outleta "leftout", a1
>> >>> >>>>>>>>> outleta "rightout", a1
>> >>> >>>>>>>>> endin
>> >>> >>>>>>>>>
>> >>> >>>>>>>>> instr OSCIL
>> >>> >>>>>>>>> aenv linen 1, .2, p3, .2
>> >>> >>>>>>>>> aleftin inleta "leftin"
>> >>> >>>>>>>>> arightin inleta "rightin"
>> >>> >>>>>>>>> isine ftgenonce 0, 0, 4096, 10, 1
>> >>> >>>>>>>>> a1 oscil 1, aleftin*1000, isine
>> >>> >>>>>>>>> outs aenv*a1, aenv*a1
>> >>> >>>>>>>>> endin
>> >>> >>>>>>>>>
>> >>> >>>>>>>>> 
>> >>> >>>>>>>>> 
>> >>> >>>>>>>>> f0 3600
>> >>> >>>>>>>>> 
>> >>> >>>>>>>>> 
>> >>> >>>>>>>>>
>> >>> >>>>>>>>>
>> >>> >>>>>>>>>
>> >>> >>>>>>>>> On 22 April 2011 19:54, Adam Puckett <
>> adotsdothmusic@gmail.com>
>> >>> >>>>>>>>> wrote:
>> >>> >>>>>>>>>> Sorry, I meant:
>> >>> >>>>>>>>>>
>> >>> >>>>>>>>>> kin inletk "bendin"
>> >>> >>>>>>>>>>
>> >>> >>>>>>>>>> Adam
>> >>> >>>>>>>>>>
>> >>> >>>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>> >>> >>>>>>>>>>> It seems like the Signal Flow Graph opcodes would not
>> >>> >>>>>>>>>>> allow
>> >>> >>>>>>>>>>> you to
>> >>> >>>>>>>>>>> bend notes after they are playing, because wouldn't that
>> >>> >>>>>>>>>>> involve
>> >>> >>>>>>>>>>> essentially a feedback loop and use of the i() opcode with
>> >>> >>>>>>>>>>> the
>> >>> >>>>>>>>>>> k-rate
>> >>> >>>>>>>>>>> inlet signal being its argument? E.G.:
>> >>> >>>>>>>>>>>
>> >>> >>>>>>>>>>> instr Bend
>> >>> >>>>>>>>>>> kin inleta "bendin"
>> >>> >>>>>>>>>>> ioldvalue = i(kin)
>> >>> >>>>>>>>>>> kout line ioldvalue, p3, p4
>> >>> >>>>>>>>>>> outleta "bendout", kout
>> >>> >>>>>>>>>>> endin
>> >>> >>>>>>>>>>>
>> >>> >>>>>>>>>>> I'll test that to see if it works.
>> >>> >>>>>>>>>>>
>> >>> >>>>>>>>>>> Adam
>> >>> >>>>>>>>>>>
>> >>> >>>>>>>>>>>
>> >>> >>>>>>>>>>> On 4/22/11, Adam Puckett  wrote:
>> >>> >>>>>>>>>>>> Philosophically it is a hack in my opinion because the
>> types
>> >>> >>>>>>>>>>>> are
>> >>> >>>>>>>>>>>> different. It's almost type coercion.
>> >>> >>>>>>>>>>>>
>> >>> >>>>>>>>>>>> Adam
>> >>> >>>>>>>>>>>>
>> >>> >>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>> >>> >>>>>>>>>>>>> I imagine that's actually the way Mike implemented it. I
>> >>> >>>>>>>>>>>>> could
>> >>> >>>>>>>>>>>>> be
>> >>> >>>>>>>>>>>>> wrong but it looks eloquent enough to be a feature.
>> >>> >>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>> On 22 April 2011 19:27, Adam Puckett
>> >>> >>>>>>>>>>>>> 
>> >>> >>>>>>>>>>>>> wrote:
>> >>> >>>>>>>>>>>>>> I get no audio when trying it the numbered way. But
>> here's
>> >>> >>>>>>>>>>>>>> an
>> >>> >>>>>>>>>>>>>> interesting hack: you can connect numbered instruments
>> by
>> >>> >>>>>>>>>>>>>> surrounding
>> >>> >>>>>>>>>>>>>> the numbers in quotes, thereby tricking Csound into
>> >>> >>>>>>>>>>>>>> thinking
>> >>> >>>>>>>>>>>>>> they're
>> >>> >>>>>>>>>>>>>> named. Example:
>> >>> >>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>> connect "1", "out", "2", "in"
>> >>> >>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>> Problem solved!
>> >>> >>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>> Adam
>> >>> >>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>> >>> >>>>>>>>>>>>>>> Someone reported a problem with this before. I can't
>> >>> >>>>>>>>>>>>>>> recall
>> >>> >>>>>>>>>>>>>>> what
>> >>> >>>>>>>>>>>>>>> the
>> >>> >>>>>>>>>>>>>>> outcome to the thread was. For me it's ok to use named
>> >>> >>>>>>>>>>>>>>> instruments.
>> >>> >>>>>>>>>>>>>>> I
>> >>> >>>>>>>>>>>>>>> never did in the past but it's easy to update my
>> >>> >>>>>>>>>>>>>>> instruments
>> >>> >>>>>>>>>>>>>>> by
>> >>> >>>>>>>>>>>>>>> giving
>> >>> >>>>>>>>>>>>>>> them names.
>> >>> >>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>> On 22 April 2011 19:09, Adam Puckett
>> >>> >>>>>>>>>>>>>>> 
>> >>> >>>>>>>>>>>>>>> wrote:
>> >>> >>>>>>>>>>>>>>>> Can I connect numbered instruments to each other
>> >>> >>>>>>>>>>>>>>>> using
>> >>> >>>>>>>>>>>>>>>> them?
>> >>> >>>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>> >>> >>>>>>>>>>>>>>>>> You should be able to get the reference pages up
>> >>> >>>>>>>>>>>>>>>>> from
>> >>> >>>>>>>>>>>>>>>>> doing
>> >>> >>>>>>>>>>>>>>>>> a
>> >>> >>>>>>>>>>>>>>>>> search.
>> >>> >>>>>>>>>>>>>>>>> Check out Mike's article in the Csound journal for
>> help
>> >>> >>>>>>>>>>>>>>>>> on
>> >>> >>>>>>>>>>>>>>>>> using
>> >>> >>>>>>>>>>>>>>>>> them.
>> >>> >>>>>>>>>>>>>>>>> Post here if you've any problems.
>> >>> >>>>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>>> On 22 April 2011 18:47, Adam Puckett
>> >>> >>>>>>>>>>>>>>>>> 
>> >>> >>>>>>>>>>>>>>>>> wrote:
>> >>> >>>>>>>>>>>>>>>>>> Csound 5.13 for Windows, double version.
>> >>> >>>>>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>>>> On 4/22/11, Rory Walsh  wrote:
>> >>> >>>>>>>>>>>>>>>>>>> What version of Csound are you running? They were
>> >>> >>>>>>>>>>>>>>>>>>> added in
>> >>> >>>>>>>>>>>>>>>>>>> 5.11
>> >>> >>>>>>>>>>>>>>>>>>> I
>> >>> >>>>>>>>>>>>>>>>>>> think?
>> >>> >>>>>>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>>>>> On 22 April 2011 18:03, Adam Puckett
>> >>> >>>>>>>>>>>>>>>>>>> 
>> >>> >>>>>>>>>>>>>>>>>>> wrote:
>> >>> >>>>>>>>>>>>>>>>>>>> Hi,
>> >>> >>>>>>>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>>>>>> The Quick Reference of the Canonical Csound
>> >>> >>>>>>>>>>>>>>>>>>>> Reference
>> >>> >>>>>>>>>>>>>>>>>>>> Manual
>> >>> >>>>>>>>>>>>>>>>>>>> is
>> >>> >>>>>>>>>>>>>>>>>>>> missing some important sections: namely the
>> >>> >>>>>>>>>>>>>>>>>>>> Signal
>> >>> >>>>>>>>>>>>>>>>>>>> Flow
>> >>> >>>>>>>>>>>>>>>>>>>> Graph
>> >>> >>>>>>>>>>>>>>>>>>>> Opcodes
>> >>> >>>>>>>>>>>>>>>>>>>> and the Jacko Opcodes section.
>> >>> >>>>>>>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>>>>>> Adam
>> >>> >>>>>>>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>>>>>> 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"
>> >>> >>>>>>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>>>> 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.ukwith
>> >>> >>>>>>>>>>>>>>>>>> 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.ukwith
>> >>> >>>>>>>>>>>>>>>>> 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.ukwith
>> >>> >>>>>>>>>>>>>>>> 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"
>> >>> >>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>> 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"
>> >>> >>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>>
>> >>> >>>>>>>>>>>>
>> >>> >>>>>>>>>>>
>> >>> >>>>>>>>>>
>> >>> >>>>>>>>>>
>> >>> >>>>>>>>>> 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"
>> >>> >>>>>>>>>
>> >>> >>>>>>>>>
>> >>> >>>>>>>>
>> >>> >>>>>>>>
>> >>> >>>>>>>> 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"
>> >>> >>>>>>>
>> >>> >>>>>>>
>> >>> >>>>>>
>> >>> >>>>>>
>> >>> >>>>>> 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"
>> >>> >>>>>
>> >>> >>>>>
>> >>> >>>>
>> >>> >>>
>> >>> >>>
>> >>> >>> 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"
>> >>> >>
>> >>> >>
>> >>> >
>> >>> >
>> >>> > 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"
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Michael Gogins
>> >> Irreducible Productions
>> >> http://www.michael-gogins.com
>> >> Michael dot Gogins at gmail dot com
>> >>
>> >
>> >
>> > 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"
>>
>>
>
>
> --
> Michael Gogins
> Irreducible Productions
> http://www.michael-gogins.com
> Michael dot Gogins at gmail dot com
>
> 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"

Date2011-04-24 08:17
Frommenno
Subject[Csnd] Re: opcode quick reference
And i would like to use the csd as an example of the inletk opcode for the
manual, now that it is working :)
Can i, shall i, will i?

menno


--
View this message in context: http://csound.1045644.n5.nabble.com/opcode-quick-reference-tp4333405p4335840.html
Sent from the Csound - General mailing list archive at Nabble.com.


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"