If you have a problem or need to report a bug please email : support@dsprobotics.com
There are 3 sections to this support area:
DOWNLOADS: access to product manuals, support files and drivers
HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects
USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here
NEW REGISTRATIONS - please contact us if you wish to register on the forum
Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright
Synced LFO
Re: Synced LFO
lets say we use 4/4
is a bar 4 quarter notes? or 4*4 quarter notes?
sadly i'm not a musician as i always understood it a beat is 4 quarter notes and a bar is 4 beats (16 quaternotes)
The denominator defines what type of note get 1 beat. In this case, 4 [quarter note] gets 1 beat. Thereby, 4 quarter notes would fill a measure. If it was an 8 [eighth note] in the denominator, then an 1/8 note would get 1 beat. A measure would contain 8 eighth notes.
Obviously, we are just describing a full measure with the same [fractional] value, 1/4s or 1/8ths.
The numerator defines how many beats in a measure [bar].
So 4/4 time signature says: 4 beats in a measure, 1/4 note gets 1 beat.
6/8 time sig .... 6 beats/measure, 1/8th note gets 1 beat.
TEMPO is defined as BPM [Beats Per Minute].
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Synced LFO
Nubeat7 wrote:its because you multiply PPQ with speed, so it counts faster and you get a shorter ramp..
Ah, Nubeat, I completely missed your post here. Haha oops.
I'll take another look at this soon. I don't care for the math either myself. The silly thing is it's not even complex math; I just get confused trying to keep track of everything in my head while staring at all these wires and nested modules on a screen. The longer I try to think about it the more confused I get. Hopefully now that I've had a rest from this I can go back and make more sense of it.
- Perfect Human Interface
- Posts: 643
- Joined: Sun Mar 10, 2013 7:32 pm
Re: Synced LFO
oh man thank you guys, so the whole bar calculation i did is wrong then, because like tulamide said it calculated for 4 bars (when using 4/4) which should be just 1 bar, so i need to calculate the barcount as follows:
barcount = 4 (basenote is always a quater because PPQ is position per quaternote)/denom * numerator (beats in bar)
then you calculate as you would intend on a barbased cycle
speed = 32 for 1/32 barlenght cycle
because the cycle runs 32 times in one bar
here is the fix..
please tell me if everything is working right now, it also should work fine with 7/8, 5/4, 3/4...and whatever
barcount = 4 (basenote is always a quater because PPQ is position per quaternote)/denom * numerator (beats in bar)
then you calculate as you would intend on a barbased cycle
speed = 32 for 1/32 barlenght cycle
because the cycle runs 32 times in one bar
here is the fix..
please tell me if everything is working right now, it also should work fine with 7/8, 5/4, 3/4...and whatever
- Attachments
-
- Synced LFObarsync fix.fsm
- (151.11 KiB) Downloaded 1315 times
Last edited by Nubeat7 on Sat Sep 13, 2014 1:46 pm, edited 3 times in total.
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Synced LFO
Will check it out later!
- Perfect Human Interface
- Posts: 643
- Joined: Sun Mar 10, 2013 7:32 pm
Re: Synced LFO
Hi NuBeat ...
If I've actually helped YOU ... that makes ME happy
If I've actually helped YOU ... that makes ME happy
- RJHollins
- Posts: 1571
- Joined: Thu Mar 08, 2012 7:58 pm
Re: Synced LFO
oh yes RJ, you did, i was wrong with this beats and bars thing all the time , thank you for your clear explanation!
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Synced LFO
Nubeat7 wrote:please tell me if everything is working right now, it also should work fine with 7/8, 5/4, 3/4...and whatever
Yeah its not working in synced mode.
Also in the speed selector, values for 1/8 and 3/64 seem to be incorrect. I think they should be 8 and 24.
- Father
- Posts: 177
- Joined: Thu Jan 09, 2014 5:48 pm
Re: Synced LFO
hmm, strange, i just did some fast tests with the original steplfo in cubase and it seems to work fine there..
about the selector values, yes for 1/8 it should be 8 and for 3/64 yes 24 should be right - i just divided the old values through 4 , maybe i did a mistake there...
where you testet it? and whats not right?
about the selector values, yes for 1/8 it should be 8 and for 3/64 yes 24 should be right - i just divided the old values through 4 , maybe i did a mistake there...
where you testet it? and whats not right?
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Synced LFO
oh i found the bug, its a stupid code bug i did you need to use the PPQ input (written with capital letters) and delete the float variable ppq (with the small letters)
just reuploaded it..
just reuploaded it..
-
Nubeat7 - Posts: 1347
- Joined: Sat Apr 14, 2012 9:59 am
- Location: Vienna
Re: Synced LFO
We can start to call it a real teamwork
If I'm not totally wrong, then the numbers for the selector are mostly wrong below 1 bar. The calculation should be
1/barindicator
For a 3/4 bar that would be 1/(3/4) = 1/0.75 = 1.33333 (Note that it's periodic, but FS will reduce it to 5 digits after the dot)
for a 3/8 bar it would be 1/(3/8) = 1/0.375 = 2.66667 (Also periodic)
for a 3/16 bar 1/(3/16) = 1/0.1875 = 5.33333 (periodic)
etc.
If I'm right, the correct list of numbers below "1 bar" is
EDIT: And similar for the numbers above "1 bar"
"3/2 bar" = 0.66667
"3" = 0.33333
"6" = 0.16667
If I'm not totally wrong, then the numbers for the selector are mostly wrong below 1 bar. The calculation should be
1/barindicator
For a 3/4 bar that would be 1/(3/4) = 1/0.75 = 1.33333 (Note that it's periodic, but FS will reduce it to 5 digits after the dot)
for a 3/8 bar it would be 1/(3/8) = 1/0.375 = 2.66667 (Also periodic)
for a 3/16 bar 1/(3/16) = 1/0.1875 = 5.33333 (periodic)
etc.
If I'm right, the correct list of numbers below "1 bar" is
- 1.33333
2
2.66667
4
5.33333
8
10.66667
16
21.33333
32
EDIT: And similar for the numbers above "1 bar"
"3/2 bar" = 0.66667
"3" = 0.33333
"6" = 0.16667
"There lies the dog buried" (German saying translated literally)
- tulamide
- Posts: 2714
- Joined: Sat Jun 21, 2014 2:48 pm
- Location: Germany
Who is online
Users browsing this forum: Google [Bot] and 71 guests