NodeProxy roles questions, \fil

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

NodeProxy roles questions, \fil

Henricus J. Holtman
In the description of \filter in the NodeProxy roles Help file, it says that
the first argument is used to pass in sound. In case of multiple busses
associated with a NodeProxy how do you get at the individual busses
for the filtering function?

Thank You For Your Attention

--
Entropy always wins.


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
Reply | Threaded
Open this post in threaded view
|

Re: NodeProxy roles questions, \fil

Kuivila, Ronald
multi-channel signals are represented as arrays in the synthesis function, so
\filter -> { | in | [in[0] * SinOsc.ar400),  in[1] * LFTri.kr(0.1).exprange(0.001,0.4) }

would ringmodulate channel 1 and impose a slowly rising and falling envelope on channel 2

RJK
 

> On Nov 14, 2017, at 3:21 AM, [hidden email] wrote:
>
> In the description of \filter in the NodeProxy roles Help file, it says that
> the first argument is used to pass in sound. In case of multiple busses
> associated with a NodeProxy how do you get at the individual busses
> for the filtering function?
>
> Thank You For Your Attention
>
> --
> Entropy always wins.
>
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
Reply | Threaded
Open this post in threaded view
|

Re: NodeProxy roles questions, \fil

Henricus J. Holtman
Now that works, it seems I tried that, but I must have made a mistake in
my test case.

It seems as though if I try to replace the sound source (the one that's
going to get filtered),
the filter disappears (until I reinstantiate it). Is there any way to
avoid this, other than
loading it as a chunk?

Thank You For Your Attention

On 11/14/2017 04:02 AM, Kuivila, Ronald wrote:

> multi-channel signals are represented as arrays in the synthesis function, so
> \filter -> { | in | [in[0] * SinOsc.ar400),  in[1] * LFTri.kr(0.1).exprange(0.001,0.4) }
>
> would ringmodulate channel 1 and impose a slowly rising and falling envelope on channel 2
>
> RJK
>  
>> On Nov 14, 2017, at 3:21 AM, [hidden email] wrote:
>>
>> In the description of \filter in the NodeProxy roles Help file, it says that
>> the first argument is used to pass in sound. In case of multiple busses
>> associated with a NodeProxy how do you get at the individual busses
>> for the filtering function?
>>
>> Thank You For Your Attention
>>
>> --
>> Entropy always wins.
>>
>>
>> _______________________________________________
>> sc-users mailing list
>>
>> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
>> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
>> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
>

--
Entropy always wins.


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
Reply | Threaded
Open this post in threaded view
|

Re: NodeProxy roles questions, \fil

Kuivila, Ronald
It shouldn't but if you post a script someone might be able to see what is going on.

RJK

> On Nov 14, 2017, at 4:39 PM, [hidden email] wrote:
>
> Now that works, it seems I tried that, but I must have made a mistake in my test case.
>
> It seems as though if I try to replace the sound source (the one that's going to get filtered),
> the filter disappears (until I reinstantiate it). Is there any way to avoid this, other than
> loading it as a chunk?
>
> Thank You For Your Attention
>
> On 11/14/2017 04:02 AM, Kuivila, Ronald wrote:
>> multi-channel signals are represented as arrays in the synthesis function, so
>> \filter -> { | in | [in[0] * SinOsc.ar400),  in[1] * LFTri.kr(0.1).exprange(0.001,0.4) }
>>
>> would ringmodulate channel 1 and impose a slowly rising and falling envelope on channel 2
>>
>> RJK
>>  
>>> On Nov 14, 2017, at 3:21 AM, [hidden email] wrote:
>>>
>>> In the description of \filter in the NodeProxy roles Help file, it says that
>>> the first argument is used to pass in sound. In case of multiple busses
>>> associated with a NodeProxy how do you get at the individual busses
>>> for the filtering function?
>>>
>>> Thank You For Your Attention
>>>
>>> --
>>> Entropy always wins.
>>>
>>>
>>> _______________________________________________
>>> sc-users mailing list
>>>
>>> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
>>> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
>>> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
>>
>> _______________________________________________
>> sc-users mailing list
>>
>> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
>> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
>> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
>>
>
> --
> Entropy always wins.
>
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
Reply | Threaded
Open this post in threaded view
|

Re: NodeProxy roles questions, \fil

ddw_music
Kuivila, Ronald wrote
>> On Nov 14, 2017, at 4:39 PM,

> clfest@

>  wrote:
>>
>> Now that works, it seems I tried that, but I must have made a mistake in
>> my test case.
>>
>> It seems as though if I try to replace the sound source (the one that's
>> going to get filtered),
>> the filter disappears (until I reinstantiate it).
>
> It shouldn't but if you post a script someone might be able to see what is
> going on.

AFAIK the current intended behavior in NodeProxy is that setting the source
(index 0) clears the objects in all other indices. If you want the filter to
persist, it should be a separate NodeProxy.

hjh



--
Sent from: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/SuperCollider-Users-New-Use-this-f2676391.html

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
Reply | Threaded
Open this post in threaded view
|

Re: NodeProxy roles questions, \fil

Kuivila, Ronald
Right, don't use "source", just use indices.

For example:

~np = NodeProxy.audio(s, 2).play

~np[0] = { SinOsc.ar([500, 501], 0, 0.01) }

~np[0] = nil
~np[1] = { PinkNoise.ar(0.01.dup) }

RJK

> On Nov 14, 2017, at 6:56 PM, [hidden email] wrote:
>
> Kuivila, Ronald wrote
>>> On Nov 14, 2017, at 4:39 PM,
>
>> clfest@
>
>> wrote:
>>>
>>> Now that works, it seems I tried that, but I must have made a mistake in
>>> my test case.
>>>
>>> It seems as though if I try to replace the sound source (the one that's
>>> going to get filtered),
>>> the filter disappears (until I reinstantiate it).
>>
>> It shouldn't but if you post a script someone might be able to see what is
>> going on.
>
> AFAIK the current intended behavior in NodeProxy is that setting the source
> (index 0) clears the objects in all other indices. If you want the filter to
> persist, it should be a separate NodeProxy.
>
> hjh
>
>
>
> --
> Sent from: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/SuperCollider-Users-New-Use-this-f2676391.html
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/


_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/