Ask Your Question
0

How do I control duration of my own samples included in dirt

asked 2017-07-05 06:32:26 -0600

julio gravatar image

Hi everyone,

I am trying to gate my own included samples, i.e. control their duration. I have tried with the # dur "0.1" for example as in midi control, for a staccato sound but the SuperDirt synth still triggers the whole sample. Does SuperDirt only play one-shot? is there a way to control the envelope parameters?

Thanks, Julio

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted
0

answered 2017-07-05 06:47:15 -0600

julio gravatar image

I found how to take to the edge of the next sample with # cut but I am looking to control length or articulation, i.e. staccato or legato...

edit flag offensive delete link more
0

answered 2017-07-05 08:03:13 -0600

yaxu gravatar image

Hi Julio, there is a legato parameter, e.g. d1 $ sound "mysample ~" # legato "1". This cuts off the sample at the end of it's 'slot'. legato of 0.5 would make it cut off halfway through its slot. To specify duration in percentage you can do # end "0.5 to play the first half of the sample. There is also begin to specify where in the sample that playback begins.

edit flag offensive delete link more

Comments

thanks Alex!! this is super useful!! exactly what I was looking for.

julio gravatar imagejulio ( 2017-07-05 12:00:03 -0600 )edit

actually, just tested but no joy with legato... the post window says:
Not in scope: ‘legato’ Perhaps you meant ‘negate’

:(

julio gravatar imagejulio ( 2017-07-05 12:19:02 -0600 )edit

That should work. You probably just need to upgrade tidal and superdirt.

To update tidal, run this from a terminal window: cabal update; cabal install tidal

Then upgrade the superdirt quark via evaluating Quarks.gui in supercollider and recompile class library

  • after all that restart atom
yaxu gravatar imageyaxu ( 2017-07-05 12:46:29 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2017-07-05 06:32:26 -0600

Seen: 18 times

Last updated: Jul 05