Jump to content


Photo

Help needed in Formula construction

lua

  • Please log in to reply
9 replies to this topic

#1 Medievil-Music

Medievil-Music

    Advanced Member

  • Normal Members
  • PipPipPip
  • 110 posts
  • Gender:Male
  • Location:Russia

Posted 09 January 2018 - 07:00

Hello my friends !
Question for Renoise developers : 
I need to make formula controller to send a reset signal to my lfo every 1/4 beats [ or every X/4 ]
How can this command be done ?

The goal is to simulate a sidechaine virtual signal that can be synced totally to the project's BPM !
Example :
If 125 bpm > the formula controller acts synced 4/4 but, it sends a Reset signal to the LFO every 1/4.
It will help me to control the absolute signal of sidechaining without a source signal { a kick or something }
Thank you in advance for helping .

2018-01-09_084510.jpg?x-email=mvd6%40bk.
 


Edited by Medievil-Music, 09 January 2018 - 07:01.


#2 dblue

dblue

    Dodgy Geezer

  • Admins
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5832 posts
  • Gender:Male
  • Location:Berlin
  • Interests:Code. Music. Graphics.

Posted 09 January 2018 - 08:24

Using a Formula device for this is not really ideal since it outputs a constant meta signal, meaning that will it always try to force the LFO's Reset parameter to some new value.

If you're using a custom LFO shape that should only trigger once per beat, then it would be much easier to simply program a single reset command per beat into your pattern instead.

Simply put an x800 command into your pattern, where x is the number of the LFO device in your chain.

Alternatively, you can simply right-click the Reset button on the LFO itself.

Technically speaking, you just need to set the LFO frequency to match your song LPB and then it's automatically synced to the beat, meaning that you only need a single reset command at the start of your song if you want to be lazy :)
  • Medievil-Music likes this

#3 danoise

danoise

    Probably More God or Borg Than Human Member

  • Renoise Team
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7009 posts
  • Gender:Male
  • Location:Berlin
  • Interests:wildlife + urban trekking

Posted 09 January 2018 - 10:48

Doesn't the formula device already come with a beat-synced LFO? 

 

I think it's a sinusoidal motion, though. If is was made a saw, it could control the reset of a custom LFO and you could have any shape you'd like. 


  • Medievil-Music likes this

Tracking with Stuff. API wishlist | Soundcloud


#4 Medievil-Music

Medievil-Music

    Advanced Member

  • Normal Members
  • PipPipPip
  • 110 posts
  • Gender:Male
  • Location:Russia

Posted 09 January 2018 - 12:48

Using a Formula device for this is not really ideal since it outputs a constant meta signal, meaning that will it always try to force the LFO's Reset parameter to some new value.

If you're using a custom LFO shape that should only trigger once per beat, then it would be much easier to simply program a single reset command per beat into your pattern instead.

Simply put an x800 command into your pattern, where x is the number of the LFO device in your chain.

Alternatively, you can simply right-click the Reset button on the LFO itself.

Technically speaking, you just need to set the LFO frequency to match your song LPB and then it's automatically synced to the beat, meaning that you only need a single reset command at the start of your song if you want to be lazy :)

Thank you, Kieran !  the issue is : i dont know how to do neither the 1st variant, nor the second @_@ 
"Technically speaking, you just need to set the LFO frequency to match your song LPB and then it's automatically synced to the beat, meaning that you only need a single reset command at the start of your song if you want to be lazy  :)" this can not be done every time i click space button without an input signal or something like that. It totally needs a third part controller.
-I use a custom LFO trigger 

2018-01-09_144250.jpg?x-email=mvd6%40bk.
i need a command line to put in formula controller so it can reset this signal " no matter what LPC is" to zero every 1/4 beats, and it should be synced to the BPM of my song and acts dynamically by changing its behavior when the Play bottom starts [ re-resetting].
I wrote : hello formula controller. Can you help me to do that ? I explained her the issue..but as you know, robots are totally rational creatures XD and they understand only commands and numbers ^_^
 


Doesn't the formula device already come with a beat-synced LFO? 

 

I think it's a sinusoidal motion, though. If is was made a saw, it could control the reset of a custom LFO and you could have any shape you'd like. 

Actually it is more difficult than it looks like. I do not know what to write in that black box to make formula act : ))) 


Edited by Medievil-Music, 09 January 2018 - 15:30.


#5 Medievil-Music

Medievil-Music

    Advanced Member

  • Normal Members
  • PipPipPip
  • 110 posts
  • Gender:Male
  • Location:Russia

Posted 09 January 2018 - 13:10

 " Alternatively, you can simply right-click the Reset button on the LFO itself. "
Keiran ! This was so funny for me to discover lol 
I didnt know that this Reset button can record its own automation ..... :badteethslayer:
 
I think it works more effectively that the formula controller thing ^_^ Thank you for that tip 
#alwaysaskaspecialist 


  • dblue likes this

#6 dblue

dblue

    Dodgy Geezer

  • Admins
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 5832 posts
  • Gender:Male
  • Location:Berlin
  • Interests:Code. Music. Graphics.

Posted 09 January 2018 - 13:29

This was so funny for me to discover lol


Happy to help :)

PS: The images you're posting are not working correctly here. In the future you can attach stuff directly through the forum itself, or use a more reliable free host like imgur.com
  • Medievil-Music likes this

#7 Zer0 Fly

Zer0 Fly

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1273 posts
  • Gender:Not Telling
  • Location:Am Mind
  • Interests:Buddha

Posted 09 January 2018 - 15:44

Formula device is not so good for controlling resets - it will constantly output a value, thus freezing the lfo that it links to. Solutions to this problem are rather impractical because of their quirks and complexity.

 

You might have even more fun, linking key trackers or velocity trackers to the reset of a lfo. Then you can let the bassdrum instrument trigger the sidechain right away if set up right!

 

Those oneshot custom LFOs are really nice for creating sidechain action or key triggered automations.

 

Can they lookahead? I mean if you adjust the timing of the track with the trigger notes for the lfo reset...stuff to look at this evening.



#8 Medievil-Music

Medievil-Music

    Advanced Member

  • Normal Members
  • PipPipPip
  • 110 posts
  • Gender:Male
  • Location:Russia

Posted 09 January 2018 - 17:03

Formula device is not so good for controlling resets - it will constantly output a value, thus freezing the lfo that it links to. Solutions to this problem are rather impractical because of their quirks and complexity.

 

You might have even more fun, linking key trackers or velocity trackers to the reset of a lfo. Then you can let the bassdrum instrument trigger the sidechain right away if set up right!

 

Those oneshot custom LFOs are really nice for creating sidechain action or key triggered automations.

 

Can they lookahead? I mean if you adjust the timing of the track with the trigger notes for the lfo reset...stuff to look at this evening.

I used to do that since 6 years// i just needed a method that can control my lfo without a Source Signal. All sidechaine options depend directly on a Source signal :)
I do not need that / i made an automated LFO reset track that plays no sounds ; only a channel with a bunch of LFO controllers [ with automated reset by 1/4 or 2/4 ] { you can build some sequenced gated pads and sound fxs by doing these things } 
It is very comfortable. + You can set the track latency in Mixer section to control the Lookahead parameter . 



#9 Zer0 Fly

Zer0 Fly

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 1273 posts
  • Gender:Not Telling
  • Location:Am Mind
  • Interests:Buddha

Posted 09 January 2018 - 20:38

yes, I know about the implications, but you can actually use an empty instrument, using the notes for the single purpose of syncing an lfo. The note/vel value could then also be used to sync the lfo to different reset positions, or read in another tracker to control some other aspect of the gate/sidechain. Just thought to mention it to you, that you're not bound to pattern fx or automation graphs, as I found sometimes note data is easier to read and work with.


  • triple zero and Medievil-Music like this


#10 Medievil-Music

Medievil-Music

    Advanced Member

  • Normal Members
  • PipPipPip
  • 110 posts
  • Gender:Male
  • Location:Russia

Posted 10 January 2018 - 01:21

yes, I know about the implications, but you can actually use an empty instrument, using the notes for the single purpose of syncing an lfo. The note/vel value could then also be used to sync the lfo to different reset positions, or read in another tracker to control some other aspect of the gate/sidechain. Just thought to mention it to you, that you're not bound to pattern fx or automation graphs, as I found sometimes note data is easier to read and work with.

I got it ! thank you. That key tracker thing also needs to be tested ! Thank you for that hint ! ^_^







Also tagged with one or more of these keywords: lua