# BPM or Tempo as long as not Zero

**URL:** <https://community.mp3tag.de/t/bpm-or-tempo-as-long-as-not-zero/60656>\
**Category:** Support\
**Created:** [April 8, 2023, 4:48pm UTC](https://community.mp3tag.de/t/bpm-or-tempo-as-long-as-not-zero/60656 "2023-04-08T16:48:41Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ianwat](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@ianwat](https://community.mp3tag.de/u/ianwat)\
**Post date:** [April 8, 2023, 4:48pm UTC](https://community.mp3tag.de/t/bpm-or-tempo-as-long-as-not-zero/60656/1 "2023-04-08T16:48:41Z")

</div>

So I've made a goof.

about 60% of my tracks have a tempo value and a bpm string in the title.

As I've combined them and then renamed, I noticed that some have zero bpm, but have tempo.

%artist% - %title%(CLEAN) - %initialkey% - $num(%BPM%,1) BPM - %year%

So I'm wondering is there a way in the tag - file name to cope with that, or would I be better with

something that put tempo into bpm (unless not 0) and then a separate action to do the reverse

So $ift2(x,BPM) TEMPO ?

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [April 8, 2023, 4:56pm UTC](https://community.mp3tag.de/t/bpm-or-tempo-as-long-as-not-zero/60656/2 "2023-04-08T16:56:44Z")

</div>

Have a look at the characters with special functions in format strings:

> **[Format Strings and Placeholders – Mp3tag Documentation](https://docs.mp3tag.de/format/#characters-with-special-functionality)**
>
> Documentation on format strings and placeholders to describe the structure of file names and imported data. Mp3tag is the universal Tag Editor.

Esp. check the square brackets.

Yet, I would check the purpose of the TEMPO field as that is, unlike the standard field BPM, a user-defined one that probably not a lot of players will display.  
So perhaps it is wiser to copy the contents of TEMPO to BPM (if they have the same context) and then use only BPM and delete TEMPO.

---

<div class="post-metadata">

**Author:** ![ianwat](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/i/7993a0/32.png) [@ianwat](https://community.mp3tag.de/u/ianwat)\
**Post date:** [April 8, 2023, 5:23pm UTC](https://community.mp3tag.de/t/bpm-or-tempo-as-long-as-not-zero/60656/3 "2023-04-08T17:23:09Z")

</div>

Yeah a common DJ tool uses tempo, which is annoying. (Mixed in Key)

---

<div class="post-metadata">

**Author:** ![ohrenkino](https://community.mp3tag.de/user_avatar/community.mp3tag.de/ohrenkino/32/4843_2.png) [@ohrenkino](https://community.mp3tag.de/u/ohrenkino)\
**Post date:** [April 8, 2023, 5:27pm UTC](https://community.mp3tag.de/t/bpm-or-tempo-as-long-as-not-zero/60656/4 "2023-04-08T17:27:34Z")

</div>

If BPM and TEMPO appear alternatively in a file, you could use  
`$num([%bpm%][%tempo%],1)`  
It will lead to strange results if both are present.

---

<div class="post-metadata">

**Author:** ![system](https://community.mp3tag.de/uploads/default/original/2X/c/ce7035d426cb755a7916793326d23b465222a407.png) [@system](https://community.mp3tag.de/u/system)\
**Post date:** [May 8, 2023, 5:28pm UTC](https://community.mp3tag.de/t/bpm-or-tempo-as-long-as-not-zero/60656/5 "2023-05-08T17:28:19Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
