Ask Your Question

Sequencer issue

asked 2016-10-31 11:46:42 -0500

Chanof gravatar image

updated 2016-12-16 02:20:35 -0500

lennart gravatar image

Hi there, sorry for my many questions :) My setup is almost ready, I get a kick generator by the name "k" and an hi-hat generator by the name "h", to do that I had to remove the folder "h" in dirt-samples. Now if i start a sequence like: d1 $ sound "k h k h" The first triggered sound is "h" (hi-hat), do you know why the sequence start from the second step? Thanks in advance!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2016-10-31 12:17:06 -0500

sfradkin gravatar image

Even when nothing is currently being evaluated in a TidalCycles file, TidalCycles is running in the background. Because of this, it's possible that when you evaluate a line of code, it will begin running right in the middle of a cycle.

There is a way to reset TidalCycles to the very beginning of it's cycle count and therefore at the beginning of a cycle. Please see

Also, you may want to name any custom samples or synths with names unique from the default samples in case you'd like to use those default samples in the future.

edit flag offensive delete link more

answered 2016-10-31 12:34:26 -0500

Chanof gravatar image

Thanks for your fast reply, may i ask also why if i have two different Synthdefs (kick nd hihat) with 8 variables each, some param with the same name they start in solo on different channels but they don't want to start toghether due to error 403:6 and 403:89 what's wrong?
My lines

d1 $ sound "k s k s" # ptch "48" # ramp "144" # rdec "0.3" # modu "192" # mdec "0.1" # mfb "0.3"
d2 $ sound "s h s h" # gain "0.9"

Thanks you!

edit flag offensive delete link more


How are you evaluating the lines in Atom? Shift+Enter evaluates a single line and Ctrl+Enter evaluates a multi-line command. But, if there isn't a line break between the 2 lines you have above, a multi-line evaluation will throw an error.

sfradkin gravatar imagesfradkin ( 2016-10-31 13:32:12 -0500 )edit

Syncing the start of 2 channels is tougher. Perhaps @yaxu has more insight. However, you can make this work using transitions. Something like `t1 (jumpIn' 2) $ sound "bd"` and then `t2 (jumpIn' 2) $ sound "hh"`. Evaluate each of these and they should both start at the same time.

sfradkin gravatar imagesfradkin ( 2016-10-31 13:34:14 -0500 )edit

Question Tools

1 follower


Asked: 2016-10-31 11:46:42 -0500

Seen: 71 times

Last updated: Oct 31 '16