Hello
That’s my first post here, I’m a happy and relatively new csound user which I mainly use in contemporary installations, sometimes related to contemporary dance shows, and few other sound utilities. Now also building vsts with cabbage for groups of friends Cabbage is so nice. I’m having a problem right now that I couldn’t read about in forums.
I can’t get perfect timing accuracy inside hosts. Every synth I build gets triggered in a slighly different time than my midi notes. It happens also when no midi notes are involved and when the plugin is tracking host’s beats, like a metronome. This picture is the typical result I get when zooming close to the sample level.
Here’s also my simple testing code used to create the screenshot.
<Cabbage> form caption("Untitled") size(400, 300), colour(58, 110, 182), pluginid("def1") keyboard bounds(8, 158, 381, 95) </Cabbage> <CsoundSynthesizer> <CsOptions> -n -d -+rtmidi=NULL -M0 -m0d --midi-key-cps=4 --midi-velocity-amp=5 </CsOptions> <CsInstruments> ; Initialize the global variables. ksmps = 32 nchnls = 2 0dbfs = 1 ;instrument will be triggered by keyboard widget instr 1 aEnv linseg 1, 0.001, 0 aOut noise aEnv, 0 outs aOut, aOut endin </CsInstruments> <CsScore> ;causes Csound to run for about 7000 years... f0 z </CsScore> </CsoundSynthesizer>
Using Cabbage 2.3.0 on osx 10.11, exported to vst
Tested in Reaper and Live with same results.
Tried to enable/disable PDC on each host
Tried to set ksmps to different values including 1
Tried to run envelope at audiorate
With different results, always not perfectly aligned with host’s grid.
Do you have the same behavior?