SynthMaker

LFO: Stream vs. Triggered

Archive · 2011 5 old posts

From the original SynthMaker forum (2004–2014), with its members’ names and dates.

lesobrod ·

The stream data has sample rate 44100 and need enough CPU. I'd like modulate sound signal by some random and weird LFO. It's easy to create such LFO from noise stream, but no need to have 44100 sample rate for modulation signal. From my experience and acoustics theory I've learned that 1000 Hz is quiet enough.

First question is - what is sample rate of Trigger data? May be it is possible to realize my madLFO using green wires?

More significant quest - what about Code and Trigger data? Can I use code for slow processing?

oddson ·

lesobrod wrote: First question is - what is sample rate of Trigger data?

Allegedly 100Hz but it's not a reliable value. It's based on Windows timers from the OS and it will get delayed by other processing and doesn't run at any reliable frequency. There are threads about much faster triggers (search Tick1000 for these discussions) but I don't believe they are really that fast nor do they run at a steady rate. (Search 'green timing' and be prepared to read a lot of stuff on this issue.)

lesobrod wrote: May be it is possible to realize my madLFO using green wires?

The Tick100 primitive is supposed to fire tiggers at 100hz and would in theory let you run a green LFO at that rate. I once tested it's actual rate on my old machine and got an actual value of about 66Hz.

lesobrod wrote: More significant quest - what about Code and Trigger data? Can I use code for slow processing?

Yes the hop() command can be used to use much less CPU when high frequencies are not required.

lesobrod ·

Hehe ... 🙂 Manual is a bit useful thing, isn't it? 😊 It seems hop(4096) for 0.01 - 10 Hz LFO enough and save much CPU. But I ment another thing - if I plug module' Float output to streamin code input - will code work with trigger' sample rate (without hop() ) ?

nix ·

Yes, I think so. Try it 🙂

trogluddite ·

lesobrod wrote: But I ment another thing - if I plug module' Float output to streamin code input - will code work with trigger' sample rate (without hop() ) ?

Code, assembly and stream parts (poly and mono) always use the soundcard sample rate - they do not see the triggers at all.

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.