# "Tempo / Mood" based on the BPM calculation ranges to track field

**URL:** https://community.mp3tag.de/t/tempo-mood-based-on-the-bpm-calculation-ranges-to-track-field/15103
**Category:** General Discussion
**Created:** [October 13, 2013, 1:01am UTC](https://community.mp3tag.de/t/tempo-mood-based-on-the-bpm-calculation-ranges-to-track-field/15103 "2013-10-13T01:01:21Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hotdak3](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/f08c70/32.png) [@hotdak3](https://community.mp3tag.de/u/hotdak3)
#### Post date: [October 13, 2013, 1:01am UTC](https://community.mp3tag.de/t/tempo-mood-based-on-the-bpm-calculation-ranges-to-track-field/15103/1 "2013-10-13T01:01:21Z")

</div>

BPM field (Ranges, example 0-60, 61-120, 121-165 & so on), placed with letter(s) example (S) (S-M) & so on, into the track field

If BPM 0-60 = S  
If BPM 61-120 = S-M  
If BPM 121-165= M  
& so on

**BPM** _66.3_ **Track** _S_  
**BPM** _120_ **Track** _S-M_  
**BPM** _146.9_ **Track** _M_

I used "format values" $ifgreater(%bpm%,0,M,S), worked, , but got lost on the string for a specific ranges. This just gave me: if greater than 0, all marked "M" all others "S", all other attempts gave me a syntax error.

Thank you kindly..

- Note: The above BPM ranges, Tempo / Mood are examples only

---

<div class="post-metadata">

### Author: ![DetlevD](https://community.mp3tag.de/user_avatar/community.mp3tag.de/detlevd/32/123_2.png) [@DetlevD](https://community.mp3tag.de/u/DetlevD)
#### Post date: [October 13, 2013, 6:13am UTC](https://community.mp3tag.de/t/tempo-mood-based-on-the-bpm-calculation-ranges-to-track-field/15103/2 "2013-10-13T06:13:08Z")

</div>

> [@DJSweet2x](#):
>
> BPM field (Ranges, example 0-60, 61-120, 121-165 & so on), placed with letter(s) example (S) (S-M) & so on, into the track field
> 
> If BPM 0-60 = S  
> If BPM 61-120 = S-M  
> If BPM 121-165= M  
> & so on
> 
> I used "format values" $ifgreater(%bpm%,0,M,S), worked, , but got lost on the string for a specific ranges. ...

For describing the cases you have to stack some $ifgreater function calls.

**$ifgreater(%BPM%,120,'M',$ifgreater(%BPM%,60,'S-M',$ifgreater(%BPM%,0,'S','unknown')))****$ifgreater(%BPM%,120,'M',$ifgreater(%BPM%,60,'S-M','S'))**

DD.20131013.1013.CEST

---

<div class="post-metadata">

### Author: ![hotdak3](https://community.mp3tag.de/letter_avatar_proxy/v4/letter/h/f08c70/32.png) [@hotdak3](https://community.mp3tag.de/u/hotdak3)
#### Post date: [October 14, 2013, 8:29pm UTC](https://community.mp3tag.de/t/tempo-mood-based-on-the-bpm-calculation-ranges-to-track-field/15103/3 "2013-10-14T20:29:57Z")

</div>

> [@DetlevD](#):
>
> For describing the cases you have to stack some $ifgreater function calls.
> 
> **$ifgreater(%BPM%,120,'M',$ifgreater(%BPM%,60,'S-M',$ifgreater(%BPM%,0,'S','unknown')))****$ifgreater(%BPM%,120,'M',$ifgreater(%BPM%,60,'S-M','S'))**
> 
> DD.20131013.1013.CEST

Thank you
