Welcome Guest

Pages: 1
Rounding of BPM in Comments (FLAC)
liamk23PostApril 24, 2021, 08:57
Newbie
Posts: 16
Registered:
April 14, 2017, 15:43
Normal topicRounding of BPM in Comments (FLAC)

Hi,

Given a comment tag with value '138.03 - 02A - #6', how would I round the BPM to nearest whole number, in this case '138'.
So the end result would be '138 - 02A - #6'.

Giving a few more examples:
122.00 - 06A - #6 > 122 - 06A - #6
141.99 - 04A - #7 > 142 - 04A - #7
098.23 - 02A - #5 > 098 - 02A - #5
079.95 - 05A - #7 > 080 - 05A - #7

Note, the special case when BPM is less than 100 it has a preceding '0'.

Your help is much appreciated, have a great day! 🙂

2MR2PostApril 24, 2021, 11:40
Avatar photo
Administrator
Posts: 2083
Registered:
August 23, 2012, 19:27
Normal topicRounding of BPM in Comments (FLAC)

I've uploaded an action to:

https://2manyrobots.com/actions/RoundBPMStartComment.zip

Drag the zip file to the main window's file list area. This will give you an action named Round BPM at start of Comment.

Note that the action does not save the modified files.

It's safe to run over any file. If the Comments field does not start with {number} - nothing will be modified.

liamk23PostApril 24, 2021, 12:20
Newbie
Posts: 16
Registered:
April 14, 2017, 15:43
Normal topicRounding of BPM in Comments (FLAC)

Incredible work! Thank you so much! 🙂

Pages: 1
Mingle Forum by Cartpauj | Version: 1.1.0beta | Page loaded in: 0.017 seconds.