[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] recording mouse gestures



A question about KtlLoop: 

in the sample code in the help file for KtlLoop, the sound to be
controlled is defined within a node proxy definition (ndef). 

The thing or things that I'm wishing to control are instances of a
synthdef that perform 2D spatialisation. These receive their audio input
via busses and perform ambisonic encoding and other steps in response to
distance and azimuth data received via the "set" method. So it's the
distance and azimuth data for each sound source that I wish to record
and play back (rather than x and y coords from the mouse directly). 

What I was thinking of doing was to create an array of KtlLoop objects
for each of the instances synthdef. Something like this:



number_of_sound_sources.do { arg i;	

k[i] = KtlLoop(2Dspatializerinstances[i]);

};


This however gives a "wrong type" error.

Can synthdef instances be controlled by KtlLoop and if so how?

I did try entering the name of the synthdef itself as an argument to
KtlLoop and this produced no error, but I didn't go any further with
this. Not understanding ndef, I also tried redefining a synthdef
instance within an ndef - this produced a string of errors.

Thanks,

Iain






Em Ter, 2015-12-29 às 10:01 +0800, James Harkins escreveu:
> On December 29, 2015 1:37:32 AM "alberto.decampo" 
> <alberto.decampo@xxxxxxxxx> wrote:
> 
> > Sorry, should say that somewhere:
> > This example (and maybe the KtlLoop quark itself too)
> > requires the JITLibExtensions - which are generally useful.
> 
> Maybe add JITLibExtensions as a dependency, so that the quarks system will 
> make sure it's there.
> 
> hjh
> 
> Sent with AquaMail for Android
> http://www.aqua-mail.com
> 
> 
> 
> 
> 
> _______________________________________________
> sc-users mailing list
> 
> info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
> archive: https://listarc.bham.ac.uk/marchives/sc-users/
> search: https://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: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/