SynthMaker

Code Component enhancements

Archive · 2005 6 old posts

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].

Before your first post

A few rules keep this a friendly place. You agree to them once.

Shown next to what you post, here and in the app. It doesn’t have to be your real name: 3–24 lower-case letters, digits or _ (capitals become lower case, spaces become _).

    Then your post goes up straight away.

    Delete this reply?

    Open it in SynthMaker?

    It goes on the track you’re editing there, in place of that track’s sound, and into My sounds. Your other tracks stay as they are.

    Want to keep that track’s sound? Start a new song in SynthMaker first (Song › New song), then open this.

    Report this reply?

    Only the developer reads reports. The person isn’t told who reported them.

    What’s wrong with it?

    Block this person?

    You won’t see their posts and replies here any more. They aren’t told, and you can unblock them at any time.

    People you’ve blocked

    Their posts and replies are hidden from you. Unblock someone to see them again.

    The community rules

    A few rules keep this a friendly place. Everyone agrees to them once, before their first post.