NamedControl help file (small fix)

View: New views
2 Messages — Rating Filter:   Alert me  

NamedControl help file (small fix)

by Sergio Luque :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi list,


I think the following code in the NameControl help file:

a = { q.filterInput(q.chooseNoise) }.play;
a.set(\freq, 1000); // set filter frequency
a.set(\gate, -3); // release in 3 seconds


Should be:

a = { q.filterInput(q.chooseNoise * q.makeEnv(Env.asr, 2)) }.play;
a.set(\freq, 1000); // set filter frequency
a.set(\gate, -3); // release in 3 seconds


The current version works, but due to a different reason than the one  
explained in that series of examples.



Cheers!,

Sergio

--
Sergio Luque
www.sergioluque.com





_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/

Re: NamedControl help file (small fix)

by Dan Stowell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I think you're right - thanks - fixed in svn.
Dan

2009/4/22 Sergio Luque <mail@...>:

> Hi list,
>
>
> I think the following code in the NameControl help file:
>
> a = { q.filterInput(q.chooseNoise) }.play;
> a.set(\freq, 1000); // set filter frequency
> a.set(\gate, -3); // release in 3 seconds
>
>
> Should be:
>
> a = { q.filterInput(q.chooseNoise * q.makeEnv(Env.asr, 2)) }.play;
> a.set(\freq, 1000); // set filter frequency
> a.set(\gate, -3); // release in 3 seconds
>
>
> The current version works, but due to a different reason than the one
> explained in that series of examples.
>
>
>
> Cheers!,
>
> Sergio
>
> --
> Sergio Luque
> www.sergioluque.com
>
>
>
>
>
> _______________________________________________
> sc-users mailing list
>
> info (subscription, etc.):
> http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
> archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
> search: http://www.listarc.bham.ac.uk/lists/sc-users/search/
>



--
http://www.mcld.co.uk

_______________________________________________
sc-users mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: http://www.listarc.bham.ac.uk/marchives/sc-users/
search: http://www.listarc.bham.ac.uk/lists/sc-users/search/