How do you calculate Hz with grid resolution?

This forum is for discussing Reason. Questions, answers, ideas, and opinions... all apply.
Post Reply
User avatar
Oquasec
Posts: 2849
Joined: 05 Mar 2017

24 Aug 2018

The rate of a module can go all the way up to 250hz or 1/128.

But I think 250hz rate is a much higher grid resolution than say 1/128 for the piano roll.
Trying to figure out what math I need to do for that to tell me the grid resolution of something cranked that high.
Producer/Programmer.
Reason, FLS and Cubase NFR user.

User avatar
Loque
Moderator
Posts: 11239
Joined: 28 Dec 2015

24 Aug 2018

depends on the tempo you are playing your song.
60s/120bpm=0.5s per beat
0.5s/128=~0.004s for a 1/128 beat

hz are imulses per second.
250hz=1s/250=0.004s for a 250hz impulse

I would say, pretty close...

Since i am not a genius, i now may get slapped for my simple math :-D
Reason12, Win10

User avatar
AS7RO
Posts: 114
Joined: 04 Aug 2018

24 Aug 2018

What do you mean by the rate of a module?

if I understand correctly,

If your BPM is lets say 100 BPM. that simply transfers to 100 bars per minute or 1.67 bars per second.

1.67 bars per second can be said as 1.67 cycles per second, which is the definition of Hertz.

Now if you want to know how many notes per second in each bar, simply multiply 1.67 x 128 = 213.76 notes per second at 100 BPM.


so at 128 grid spacing and 100BPM you can play up to 213.76 notes per second!

as another example at 130 BPM and 128 grid spacing equals to up to 277.34 notes per second!

Formula would be (BPM/60)* GRIDspacing = Maximum notes per second, at that GRIDspacing.
Why are you reading this?

User avatar
selig
RE Developer
Posts: 11864
Joined: 15 Jan 2015
Location: The NorthWoods, CT, USA

24 Aug 2018

Loque wrote:
24 Aug 2018
depends on the tempo you are playing your song.
60s/120bpm=0.5s per beat
0.5s/128=~0.004s for a 1/128 beat

hz are imulses per second.
250hz=1s/250=0.004s for a 250hz impulse

I would say, pretty close...

Since i am not a genius, i now may get slapped for my simple math :-D
2nd part is correct: 250 Hz = 4ms/cycle.
1st part is close but you missed one part, which is a "beat" is 1/4 note at 4/4 (not a whole note, as you calculated).

So 120 BPM means 120 1/4 notes per minute, or two 1/4 notes per second.
This translates to 500ms/cycle for 1/4 note,
Since a 1/128 note is 32 times smaller than a 1/4 note: 500ms/32 = 15.625 ms/cycle.

So…at 120 BPM, 1/128 rate is equivalent to about 64 Hz.
Which means your rate is faster when NOT synced to tempo.
Or, you would have to set tempo to 468-469 BPM to get a rate equivalent to 250 Hz.

The spreadsheet:
Screen Shot 2018-08-24 at 3.37.47 PM.png
Screen Shot 2018-08-24 at 3.37.47 PM.png (155.45 KiB) Viewed 891 times
Selig Audio, LLC

User avatar
selig
RE Developer
Posts: 11864
Joined: 15 Jan 2015
Location: The NorthWoods, CT, USA

24 Aug 2018

AS7RO wrote:
24 Aug 2018
What do you mean by the rate of a module?

if I understand correctly,

If your BPM is lets say 100 BPM. that simply transfers to 100 bars per minute or 1.67 bars per second.

1.67 bars per second can be said as 1.67 cycles per second, which is the definition of Hertz.

Now if you want to know how many notes per second in each bar, simply multiply 1.67 x 128 = 213.76 notes per second at 100 BPM.


so at 128 grid spacing and 100BPM you can play up to 213.76 notes per second!

as another example at 130 BPM and 128 grid spacing equals to up to 277.34 notes per second!

Formula would be (BPM/60)* GRIDspacing = Maximum notes per second, at that GRIDspacing.
@100 BPM, 1/128 note is 53.3 Hz/CPS

You made a similar mistake as above, substituting bars for beats (BPM stands for "BEATS" per minute). So to get the correct answer you need to divide your answer by 4 since there are four beats in a bar of 4/4.

OR…
@ 100 BPM a 1/4 note = 1.67 Hz (600ms per cycle).
A 1/128 note is 1/32 of a 1/4 note, so if you multiply by 32 and not 128 you get:
1.66666666 * 32 = 53.33333333
:)
Selig Audio, LLC

User avatar
AS7RO
Posts: 114
Joined: 04 Aug 2018

24 Aug 2018

selig wrote:
24 Aug 2018
AS7RO wrote:
24 Aug 2018
What do you mean by the rate of a module?

if I understand correctly,

If your BPM is lets say 100 BPM. that simply transfers to 100 bars per minute or 1.67 bars per second.

1.67 bars per second can be said as 1.67 cycles per second, which is the definition of Hertz.

Now if you want to know how many notes per second in each bar, simply multiply 1.67 x 128 = 213.76 notes per second at 100 BPM.


so at 128 grid spacing and 100BPM you can play up to 213.76 notes per second!

as another example at 130 BPM and 128 grid spacing equals to up to 277.34 notes per second!

Formula would be (BPM/60)* GRIDspacing = Maximum notes per second, at that GRIDspacing.
@100 BPM, 1/128 note is 53.3 Hz/CPS

You made a similar mistake as above, substituting bars for beats (BPM stands for "BEATS" per minute). So to get the correct answer you need to divide your answer by 4 since there are four beats in a bar of 4/4.

OR…
@ 100 BPM a 1/4 note = 1.67 Hz (600ms per cycle).
A 1/128 note is 1/32 of a 1/4 note, so if you multiply by 32 and not 128 you get:
1.66666666 * 32 = 53.33333333
:)
Thanks, I thought I was missing something. multitasking at work doesnt always work!
Why are you reading this?

User avatar
selig
RE Developer
Posts: 11864
Joined: 15 Jan 2015
Location: The NorthWoods, CT, USA

24 Aug 2018

AS7RO wrote:
24 Aug 2018
selig wrote:
24 Aug 2018


@100 BPM, 1/128 note is 53.3 Hz/CPS

You made a similar mistake as above, substituting bars for beats (BPM stands for "BEATS" per minute). So to get the correct answer you need to divide your answer by 4 since there are four beats in a bar of 4/4.

OR…
@ 100 BPM a 1/4 note = 1.67 Hz (600ms per cycle).
A 1/128 note is 1/32 of a 1/4 note, so if you multiply by 32 and not 128 you get:
1.66666666 * 32 = 53.33333333
:)
Thanks, I thought I was missing something. multitasking at work doesnt always work!
I wouldn't have been able to answer if I hadn't already whipped up a spreadsheet a few years ago for just such an occasion. I can never remember the formulas and suck at math (as much as I enjoy it)!
Selig Audio, LLC

User avatar
AS7RO
Posts: 114
Joined: 04 Aug 2018

27 Aug 2018

selig wrote:
24 Aug 2018
AS7RO wrote:
24 Aug 2018

Thanks, I thought I was missing something. multitasking at work doesnt always work!
I wouldn't have been able to answer if I hadn't already whipped up a spreadsheet a few years ago for just such an occasion. I can never remember the formulas and suck at math (as much as I enjoy it)!
I am not the best at math but hey I am an radio frequency engineer. Haha
Why are you reading this?

deniscratch
Posts: 18
Joined: 18 Jan 2017

03 Sep 2018

AS7RO wrote:What do you mean by the rate of a module?

if I understand correctly,

If your BPM is lets say 100 BPM. that simply transfers to 100 bars per minute or 1.67 bars per second.

1.67 bars per second can be said as 1.67 cycles per second, which is the definition of Hertz.

Now if you want to know how many notes per second in each bar, simply multiply 1.67 x 128 = 213.76 notes per second at 100 BPM.


so at 128 grid spacing and 100BPM you can play up to 213.76 notes per second!

as another example at 130 BPM and 128 grid spacing equals to up to 277.34 notes per second!

Formula would be (BPM/60)* GRIDspacing = Maximum notes per second, at that GRIDspacing.
Thanks to explain!!!


Enviado do meu iPhone usando Tapatalk

Post Reply
  • Information
  • Who is online

    Users browsing this forum: Google [Bot], WarStar and 12 guests