While working on a track, in the more calm sections I had the impression that something is slightliy off in terms of timing/synchronization.
After some investigation, I found out that this is probably caused by a small delay when controlling the note played by the
dsaw synth I use there (using
control syn, note: ...).
Using Audacity, I could visualize it with the spectrogram view (screenshot below). At the top is the
dsaw, with the cursor at the beat position. The change of the synth note is to the right of it, so somewhat delayed (0.03 - 0.04 sec). In the middle is
saw, which shows a similar delay, but to a lesser extent. At the bottom is
tb303, which does not show the delay, or at least it is too short to be visible.
Here is a minimal code example that reproduces the effect. It was also used for recording for the above image.
live_loop :tick, delay: 0.01 do 8.times do use_sample_defaults finish: 0.05 sample :elec_twip sleep 0.5 end end live_loop :bass, sync: :tick do with_synth :dsaw do use_synth_defaults detune: 0, sustain: 8, release: 0, amp: 0.4 syn = play :e2 4.times do control syn, note: (scale :f2, :minor_pentatonic).choose sleep 2 end end end
Does anybody know whether this is expected behaviour for these synths, or if it might be a bug? I am quite sure it is not a performance problem (scsynth is below 1% CPU load).