TGrains vs TGrains2

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

TGrains vs TGrains2

kmll
I want to use TGrains2 but if I swap the object in the code below it does not work for TGrains2 whilst it works for TGrain. Any suggestions what is causing this?

b= Buffer.read(s, "C:/Program Files (x86)/SuperCollider-3.7.2/sounds/a11wlk01.wav");

b.bufnum
(
SynthDef(\GRANULAR, {|bufnum=5, amp= 0.5, freq= 10, rate= 1, offset= 0, dur= 0.3, pan= 0|
        Out.ar(0,TGrains.ar(
                numChannels:2,
                trigger:Impulse.ar(freq),
                bufnum:bufnum,
                rate:rate,
                centerPos:offset*BufDur.ir(b),
                dur:dur,
                pan:pan,
                amp:amp));
}).add;
)
k=Synth.new(\GRANULAR, [\bufnum, b.bufnum,\amp,1, \dur, 1/2, \offset, 1/2, \rate, 1]);
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: TGrains vs TGrains2

Nathan Ho
Hi kmll,

This message didn't go through -- you need to subscribe to sc-users and post in the "New SuperCollider Users List (Use This!!!)" subforum.


Nathan

kmll wrote
I want to use TGrains2 but if I swap the object in the code below it does not work for TGrains2 whilst it works for TGrain. Any suggestions what is causing this?

b= Buffer.read(s, "C:/Program Files (x86)/SuperCollider-3.7.2/sounds/a11wlk01.wav");

b.bufnum
(
SynthDef(\GRANULAR, {|bufnum=5, amp= 0.5, freq= 10, rate= 1, offset= 0, dur= 0.3, pan= 0|
        Out.ar(0,TGrains.ar(
                numChannels:2,
                trigger:Impulse.ar(freq),
                bufnum:bufnum,
                rate:rate,
                centerPos:offset*BufDur.ir(b),
                dur:dur,
                pan:pan,
                amp:amp));
}).add;
)
k=Synth.new(\GRANULAR, [\bufnum, b.bufnum,\amp,1, \dur, 1/2, \offset, 1/2, \rate, 1]);
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: TGrains vs TGrains2

kmll
I am allready a subscriber. Not sure why I am not listed as one.. Anyhow I submitted a new request but I have still not received any confirmation email or instructions..
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: TGrains vs TGrains2

Nathan Ho
Even if you are a subscriber, you still need to post specifically in the users' forum here: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/SuperCollider-Users-New-Use-this-f2676391.html

Sorry about the confusion. Our mailing list system is pretty lousy.


Nathan

kmll wrote
I am allready a subscriber. Not sure why I am not listed as one.. Anyhow I submitted a new request but I have still not received any confirmation email or instructions..
Loading...