From the original SynthMaker forum (2004–2014), with its members’ names and dates.
jobro ·
1: I've been using this formula in SE and sometimes in SM:
float x;
x = (sin(x)/y));
That code generates a squelchy distortion effect. Now I know that divide is a hassle to work with, so I wouldn't mind if I could use Multiply instead. Can this be done?
2: I am using Software Passport to protect my software. Now my question is this. It uses inline assembler instructions to process the data. Can I use these instructions in SM's assembler routine in any way? If not, would it be too much to ask for an inline assembler code module?
3: Can one make a check on startup if a necesery file exist on the system? If not then refuse to execute the program / vst. Can this be done?
4: Is it possible to code SM components in Delphi?
5. Can you export a Mac version of a plugin?
oddson ·
1 - if 'y' is a variable in the code then no. If it's constant you can multiply by it's multiplicitve inverse. If it's mostly constant (only varies on longer time intervals) you can recalculate the inverse using the hop control structure to avoid calculating the same thing over and over at sample rate.
2 - no idea but is suspect not
3 - if its path can be predicted reliably you might be able to use the 'text load' primitive and check the contents from that
4 - No. There is no SDK for SM and none planned for near future so no external components for now.
5 - Not at present.
angstrom ·
oddson wrote: 1 - if 'y' is a variable in the code then no. If it's constant you can multiply by it's multiplicitve inverse. If it's mostly constant (only varies on longer time intervals) you can recalculate the inverse using the hop control structure to avoid calculating the same thing over and over at sample rate.
rather than hop I would do it on change in the green section then feed that reciprocal value into code. No need to keep calculating in audio realm.
As its a distortion here that value would most likely be the 'drive' knob.
BTW, I'm sure you know but ... reciprocals are created as 1/value=reciprocal
. Then use the reciprocal in your multiplication in place of the division
jobro ·
Ok could you give me an example of this reciprocals then? Nothing I've been working with.
Wrote something here? To have a post removed or your name hidden, write to [email protected].