Csound Csound-dev Csound-tekno Search About

[Csnd] Assign pfields to variable names in one line?

Date2009-12-11 21:39
FromTobiah
Subject[Csnd] Assign pfields to variable names in one line?
I brought this up years ago, but I can't remember if it was ever implemented.
I'd like to assign all of my pfields to variable names with something like this:

passign inst, start, dur, vol, pitch

Then those variables would be filled with the corresponding pfield value.
As it is I start out with a more tedious:

start init p2
dur init p3
vol init p4

etc...

Thanks,

Tobiah


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-12-12 16:06
FromRory Walsh
Subject[Csnd] Re: Assign pfields to variable names in one line?
Although I haven't given it much thought before I think that would be
handy to have.

Rory.


2009/12/11 Tobiah :
> I brought this up years ago, but I can't remember if it was ever implemented.
> I'd like to assign all of my pfields to variable names with something like this:
>
> passign inst, start, dur, vol, pitch
>
> Then those variables would be filled with the corresponding pfield value.
> As it is I start out with a more tedious:
>
> start init p2
> dur init p3
> vol init p4
>
> etc...
>
> Thanks,
>
> Tobiah
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-12-12 16:16
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Re: Assign pfields to variable names in one line?
Thinking about it


> Although I haven't given it much thought before I think that would be
> handy to have.
>
> Rory.
>
>
> 2009/12/11 Tobiah :
>> I brought this up years ago, but I can't remember if it was ever
>> implemented.
>> I'd like to assign all of my pfields to variable names with something
>> like this:
>>
>> passign inst, start, dur, vol, pitch
>>
>> Then those variables would be filled with the corresponding pfield
>> value.
>> As it is I start out with a more tedious:
>>
>> start init p2
>> dur init p3
>> vol init p4
>>
>> etc...
>>
>> Thanks,
>>
>> Tobiah
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>




Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2009-12-12 21:36
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Re: Assign pfields to variable names in one line?
Code writen and commotted to CVS.  Not had time to test yet

==John ff

> Although I haven't given it much thought before I think that would be
> handy to have.
>
> Rory.
>
>
> 2009/12/11 Tobiah :
>> I brought this up years ago, but I can't remember if it was ever
>> implemented.
>> I'd like to assign all of my pfields to variable names with something
>> like this:
>>
>> passign inst, start, dur, vol, pitch
>>
>> Then those variables would be filled with the corresponding pfield
>> value.
>> As it is I start out with a more tedious:
>>
>> start init p2
>> dur init p3
>> vol init p4
>>
>> etc...
>>
>> Thanks,
>>
>> Tobiah
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
>




Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"