output interval of a LFO data

ZeroValue's icon

Hello,

In my current patch, I made a LFO using the [phasor] object, and then I've translated its output into data using [snapshot]. Now, I'm aiming to establish the rate of data output (grain) at ~50ms.
Initially, I considered using [line] for this purpose, but it seems to work only when generating a ramp.

Are there any other objects you'd recommend for achieving this goal, either within the audio processing part or after the [snapshot] operation?

ZeroValue's icon

ok I guess my best solution is using the arguments in the [snapshot] object

Jean-Francois Charles's icon

Another way is to bang the snapshot~ instead of giving it an internal rate. Give bangs are regular intervals with a metro or qmetro.

ZeroValue's icon

The purpose of implementing a limitation rate is to optimize CPU resources, aiming for minimal usage in my scenario. What's odd is that despite implementing limitations, I'm not seeing any resource gains. (The LFO is transmitting OSC data.)

Roman Thilenius's icon

the objects always does the same: within every vector it continously waits if it should output something or not.

if you want to save CPU, downsample the whole process via poly~ or make a proper data LFO.

and yes, it is easy to make [line] behave like a signal [phasor~]. for auto-loop see right outlet, and stopping and restarting it anytime is basically its default behaviour and almost easier than with signal objects.

everytime you guys use signal objects to make a data LFO a yeti kills a fluffy kitten!!!

ZeroValue's icon

Oh, I wasn't aware of this situation; lots of adorable kittens have been involved!

So, I've been delving into how to craft a smooth LFO using [line]. I have a few questions that perhaps you can assist me with:

  • I noticed there's a message clock $1, and I attempted to incorporate a float with it, but nothing seemed to change.

  • Is there a method to promptly reverse the direction? (I experimented with scale, but it didn't yield the desired outcome.)

  • Additionally, is there a technique to generate something akin to a sine wave?

Below is my current patch where I've managed to fashion a saw up, saw down, and a triangle. However, I'm uncertain if this is the optimal approach for creating the triangle wave.

Max Patch
Copy patch and select New From Clipboard in Max.