Welcome to %s forums

BrainModular Users Forum

Login Register

lfo: phase and sawtooth

Tell us what you'd like Usine to do
Post Reply
23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 06 Mar 2009, 21:42

would be cool to be able to shift the phase, also a sawtooth/ramp type shape would be nice.

maybe there is a workaround storing to an array for now....

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 07 Mar 2009, 10:15

maybe you can test some of my patch in the synthesis pack , i think about the wavedraw one where you can draw your own waveform and his has a phase feature... ;-)
just link the audio out to the parameters you want modulate ...

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 07 Mar 2009, 16:53

hey great tip nay! thanks didn't thought about that coool.

Clearscreen
Member
Posts: 482
Location: Australia
Contact:

Unread post by Clearscreen » 08 Mar 2009, 01:28

23fx23 wrote:would be cool to be able to shift the phase, also a sawtooth/ramp type shape would be nice.

maybe there is a workaround storing to an array for now....
i may be wrong, but wouldn't running the lfo's output through a delay change the phase? remember you can run data through audio lines and vice versa in usine...

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 08 Mar 2009, 07:03

yup that what i missed, dealing with data I forgot audio modules, but in fact they deal data!

the delay trick is cool but wouldn't work for my purpose as it has to be started on an incoming event, with a delay it will be in phase but ...delayed. but thanks to remind me audio modules. I find another way creating an array and shifting it that work for my purpose.
also ill try nay's tip and the delay tip can be useful for something else.thx

Clearscreen
Member
Posts: 482
Location: Australia
Contact:

Unread post by Clearscreen » 09 Mar 2009, 00:45

hey, what about using an audio phaser? again, i could be wrong but just a thought...

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 09 Mar 2009, 09:33

23fx23 wrote:would be cool to be able to shift the phase, also a sawtooth/ramp type shape would be nice.
There is a separate Ramp module where you can choose between up and down. AFAIK it's a bit more CPU demanding than the "normal" LFO, I guess that's because it outputs an array of block size and not a single value.

It's a long time since school days so I may be way out of line here, but...: Isn't the phase offset something that can be accomplished with some Math/Trigonometric modules?
Bjørn S

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 09 Mar 2009, 12:44

yup thank also bsork I was using the ramp before but noticed that cpu load, why does it output arrays of same value??

hehe back to school, that's also what i like in usine, it reactivate a bit my sleeping brain cells.
I recreated a less cpu ramp using the count ms modules (divide count by duration,; there might be other solution but this work great for what i need. (generarting lum flashs)

the phase sifting with trigo seems interessant, will check, in fact I need math lessons lol.thx

just formated so couldn't check nay's tech, also audio modules (thx clearscreen if the phaser has a sift , then it should do the job) it might be exactly what I want, actually i was creating an array , concat it with the same swapped and shifting the whole, cool to create custom lfo, but might feel the step in audio (for now i use for light animation so no pb..) as always with usine there seems to be lot's of workaround, investing differents techs is trippy.

tonight I ll at last check your synthesis pack module nay, seems very exciting!

bsork
Site Admin
Posts: 1334
Location: Asker, Norway
Contact:

Unread post by bsork » 09 Mar 2009, 13:50

23fx23 wrote:yup thank also bsork I was using the ramp before but noticed that cpu load, why does it output arrays of same value??
It doesn't... ;)

If you look at the output values (for instance with the Array module) when running the Ramp at "normal" LFO speeds, the values look (almost) the same within each block. However, if you set the "width" parameter to a couple of milliseconds (like the duration of your execution blocks), you'll see the differences. This allows for a lot smoother transitions when used on audio material since there's a new value calculated for each sample, but of course that comes at a CPU cost.
Bjørn S

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 09 Mar 2009, 20:53

ah ok, I couldn't see it, make sense!

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 10 Mar 2009, 01:45

hey nay
I ve tried your synthesis pack, very nice, bring me lot of ideas and the sound seems clean.
also tried your drawwavform module with phase and it's great, it works,
but I think it's hitting too much cpu in my purposes to be only used as a lfo(3-5 percent is too much for simple blinks, but don't worry I found workarounds...) anyway that's a geat share, thanks again.

I also tried audio modules tip but either delayed or hitting too much cpu, I think simple midi/data don't need such precision/computing,
so I stick on the two actual workarounds i found (well it works and not so cpu hog so that's cool, a ms counter as ramp generator and shifting arrays for phasable lfo...) and im gonna buy a trigonometic book :) i thinks it's only now that trigonometric will be good to understand (damned why didn't I listen more in classroom..).

I had a such reflexion: when not dealing with audio at all, shouldn't there be a special low cpu mode (i don't think my patchs have to be recalculated 700 times a second hehe, 70 should be enough) shouldt we cheat increasing audio buffers even if in no audio mode, or enlage block calculation?

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 10 Mar 2009, 06:53

i know about cpu..
there's a new beta version of synthedit , seems better ( first pack was made with synthmaker )
hope i'll find the time to work on new modules soon...

23fx23
Member
Posts: 2545
Contact:

Unread post by 23fx23 » 10 Mar 2009, 14:03

hehe, I hope too :)
time is lacking, I wished I was in holidays to finish and post my interface that include many of you all tips, start to rock I find.
"unfortunately" they engage me again two more weeks, arf. Im on usine at night but I should calm a bit cause im really late too often.

those modules are already great to experiment, we could build crasy synths in usine.

Post Reply

Who is online

Users browsing this forum: No registered users and 147 guests