tidal communicates \dur param from pattern to synthdef?

Hi everyone, tidal communicates \dur param from pattern to synthdef? Can i end a synth at the end of the step? Like \dur parameter for sc patterns? Thanks a lot

edit retag close merge delete

Sort by » oldest newest most voted

answered 2016-11-02 11:47:52 -0500

This post is a wiki. Anyone with karma >1 is welcome to improve it.

Tidal communicates the delta, and if you set it, thesustainor legato, parameter, which is what is the same name in standard SuperCollider patterns. By default, every synth ends at the end of every step (legato = 1). If you set legato to > 1 you get overlap, if it is < 1, you get gaps.

The calculation looks like this:

sustain = ~sustain ?? { if(~legato.notNil) { ~delta * ~legato } { unitDuration } };


In other words, normally, the unitDuration is used as a sustain parameter for each event, and in the case of synths (unlike samples), it uses a legato of 1 (one sound ends when another one starts). If you supply # legato in tidal, you can control the relative overlap between subsequent synths. If you supply # sustain in tidal, you can control sustain independently of the duration (delta) between subsequent synth starting moments.

more

Also, if you're looking for ideas on how to write the SynthDef itself, try looking at the tutorial-synths.scd in the synths folder. It has some examples of one way to incorporate the sustain parameter.

more

Hi, i tried the tutorial synth, and also experiments with sustain but i don't find something that end the note when one another come's out, like a monophonic synth, To controll something like this overall:

EnvGen.ar(Env.new([0,1,1,0],[0,dur,0]),doneAction:2)

How can i get the ms between two step?

I don't understand how to get the delta, i think this one must be the difference between two step: the duration of one step

more

There is a cut parameter in Tidal that will force another note to end when a new one starts, maybe that's what you're looking for?

( 2016-11-02 19:35:39 -0500 )edit

It can create glitch clicks between notes, if i can get the duration ms of each step i can end the synth smoothly: in a gate that do not create glitch clicks.

( 2016-11-03 12:00:47 -0500 )edit

Stats

Asked: 2016-11-02 11:08:41 -0500

Seen: 297 times

Last updated: Nov 02 '16