From the original SynthMaker forum (2004–2014), with its members’ names and dates.
rullyastronout ·
heloo. great sofware...i like it, make me boost my job, nomore c++ write.
i have questions.
1. counting 0.1 float accumulated as a loop, never return 1.0 is always over than 1.0, why, but it does work with other number e.g 0.2 0.5 which meet 1.0. ps. i use code and data.
2. i was compiling the effect that you made into vst, i use wavelab , but once i bounce into new wave file, it doesn't give the value that it suppose to be, except default value and alwasy the same, does this due to trial or something else.
3. how can i be able to skip samples.
4. i want to buy the cool sm software.
thank you.
rully....homelessboy
[/code]
sambean ·
Hey Rully, welcome to the forum 😀
1. Must be something to do with rounding, I was never aware of this, someone with more experience in the field should be able to advise..
streamout trig;
float acc;
acc = acc + 0.1;
trig = (acc==1.0)&1.0;
If this is connected to an analyser + graph, no trigger is generated, if you change the acc to 0.2 a trigger is generated.. strange..
2. I imagine this is the copy protection, whicg adds noise bursts to compiled vsts, this can be solved by 4. (unless it's a wavelab issue??)
3. In code
hop(n){
...
}
where n = 2^k, ie 2, 4, 8, 16...
This will hop every n samples..
4. [old link]
Have fun!!
Sam
Tom7777 ·
Welcome to the forum rullyastronout 🙂
stefan ·
Floating point numbers usually can't represent exact values, so you should always avoid doing exact comparisons as well. You need a small "epsilon". Something like:
I think I'd say that it'd hopy every sample BUT every n sample 🙂
That is, it will run for every n sample and skip the rest.
sambean ·
Dang! Thats why it never worked... 😉
rullyastronout ·
hi every one, thank yu for the welkome drink.
i was trying hop, then it read the first sample and then the rest sample is the same as previus one.
well, the actual question is, how can i be able to jump between samples then jump back to the first sample before sending output, regarding to vst has a block of sample before it start. 😉 i use to to this in c++
by the way, where did you all get the list of syntax of the code language ?? i didnt find it in help.
Wrote something here? To have a post removed or your name hidden, write to [email protected].