# Get current tempo

``

    current_bpm

Returns the current tempo as a bpm value. If the thread is in :link bpm mode, this will return the latest bpm value of the shared Link network metronome (note that this value may change after reading if the Link bpm isn’t static).

To know if this thread is in :link or standard bpm mode see `current_bpm_mode`.

This can be set via the fns `use_bpm`, `with_bpm`, `use_sample_bpm` and `with_sample_bpm`.

Introduced in v2.0

## Example

# Example 1
``
    use_bpm 60
      puts current_bpm_mode
      use_bpm 70
      puts current_bpm_mode
      use_bpm :link
      puts current_bpm_mode
| ``
    # => 60

    # => 70

    # => 120 (or whatever the current Link BPM value is)