Old 07-23-2021, 01:24 PM   #1
etalmor
Human being with feelings
 
Join Date: Jul 2009
Location: Israel
Posts: 13
Default JSFX: inferring current beat with time signatures

Hi,

In JFXS, I'd like to determine the current beat position within the current bar.
This is easy of course if there is only one time signature (something like
beat_position % ts_num)... but if the song has several time signature markers,
beat_position is not enough ...

For example
if there is a 4/4 time signature at the 1st bar, and 3/4 time signature in the second bar (till the end):
Then i'd like to infer the 3rd column of this table:
Beat number | Bar Number | Beat In Bar
1 | 1 | 1
2 | 1 | 2
3 | 1 | 3
4 | 1 | 4
5 | 2 | 1
6 | 2 | 2
7 | 2 | 3
8 | 3 | 1
9 | 3 | 2
10 | 3 | 3

Any ideas?

Thanks
Eran

Last edited by etalmor; 07-26-2021 at 12:25 AM. Reason: Extra info
etalmor is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:24 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.