From the original SynthMaker forum (2004–2014), with its members’ names and dates.
rl ·
Some ideas for syntax enhancements:
- Instant initialization
e.g:
float x=0;
- Initialization expressions
to be evaluated only once (maybe when VST host calls resume())
e.g.
float phase=PI * y/2;
- Constants
e.g:
const float PI=3.1415926535;
the CM could also provide predefined constants/variables:
PI
BPM
SAMPLERATE
misc. VST parameters
...
( and of course: Arrays )
Shifrin ·
rl wrote: Some ideas for syntax enhancements:
Some excellent suggestions there rl!
rl wrote: the CM could also provide predefined constants/variables:
PI
BPM
SAMPLERATE
misc. VST parameters
That would be awesome, to have access to those predefined constants. Wouldn't need 'sample rate' inputs to filters for example, if there was a SAMPLERATE constant in the code component. Inspired!
Shif.
Nu Audio Science ·
The samplerate thing sounds great, But then again what do i know, The most complicated thing i've coded so far is a Wet/Dry mixer DOH
Tom7777 ·
Hi im just wondering, would this effect older code if it was added and would it still run ok? or would i have to edited them all and make changes?
jorge ·
Tom7777 wrote: Hi im just wondering, would this effect older code if it was added and would it still run ok? or would i have to edited them all and make changes?
Assuming there's not bugs, all the older schematics should work fine with the latest version of SM but when you save with the latest version most probably you wont be able to use the schematic with an older version.
Tom7777 ·
Ok, thats fine then 🙂
Wrote something here? To have a post removed or your name hidden, write to [email protected].