Quantcast

How to trig a SynthDef with an impulse

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

How to trig a SynthDef with an impulse

chanof
Hi there, how can i trig a SynthDef with an impulse, i think i have to send an osc message to the server, how to send this message every time an impulse occured?
Thanks a lot!
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to trig a SynthDef with an impulse

Julian Rohrhuber-3
Currently, there is no UGen that sends to the server (or arbitrary addresses) directly. It would be good to have, but needs to be carefully done. The usual solution is to send to sclang and sclang starts a new synth - that works fine, too, even if it is a little more complicated.


> On 12.03.2017, at 15:03, chanof <[hidden email]> wrote:
>
> Hi there, how can i trig a SynthDef with an impulse, i think i have to send
> an osc message to the server, how to send this message every time an impulse
> occured?
> Thanks a lot!
>
>
>
> --
> View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/How-to-trig-a-SynthDef-with-an-impulse-tp7631150.html
> Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.
>
> _______________________________________________
> 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
|  
Report Content as Inappropriate

Re: How to trig a SynthDef with an impulse

Hanns Holger Rutz
if it's about reusing an existing synth, you can use Pause to stop and
resume another node.

On 2017-03-12 16:07, Julian Rohrhuber wrote:

> Currently, there is no UGen that sends to the server (or arbitrary addresses) directly. It would be good to have, but needs to be carefully done. The usual solution is to send to sclang and sclang starts a new synth - that works fine, too, even if it is a little more complicated.
>
>
>> On 12.03.2017, at 15:03, chanof <[hidden email]> wrote:
>>
>> Hi there, how can i trig a SynthDef with an impulse, i think i have to send
>> an osc message to the server, how to send this message every time an impulse
>> occured?
>> Thanks a lot!
>>
>>
>>
>> --
>> View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/How-to-trig-a-SynthDef-with-an-impulse-tp7631150.html
>> Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> 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/
>

_______________________________________________
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/
x
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: How to trig a SynthDef with an impulse

x
In reply to this post by chanof
hey,

not sure if this is what you were looking for but you could
use a SendReply:

{SendReply.kr(Impulse.kr(1), '/osc-path')}.play;

OSCFunc({ s.sendMsg()}, '/osc-path');



On Mar 12, 2017, at 3:03 PM, chanof <[hidden email]> wrote:

> Hi there, how can i trig a SynthDef with an impulse, i think i have to send
> an osc message to the server, how to send this message every time an impulse
> occured?
> Thanks a lot!
>
>
>
> --
> View this message in context: http://new-supercollider-mailing-lists-forums-use-these.2681727.n2.nabble.com/How-to-trig-a-SynthDef-with-an-impulse-tp7631150.html
> Sent from the SuperCollider Users New (Use this!!!!) mailing list archive at Nabble.com.
>
> _______________________________________________
> 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/


signature.asc (859 bytes) Download Attachment
Loading...