Skip to Content
๐ŸŽฒ Welcome to RandBox - Powerful JavaScript Random Data Generation Library! Learn More
blogRandBox Module Tour (7/12): music โ€“ Notes, Tempo, Genres

RandBox Module Tour (7/12): music โ€“ Notes, Tempo, Genres

Overview

  • Genres: music_genre
  • Notes: note
  • Tempo: tempo

Examples

import RandBox from 'randbox' const rb = new RandBox() const genre = rb.music_genre?.() const bpm = rb.tempo?.({ min: 60, max: 180 })

Links

  • Index: /en/docs/music/
  • Pages: /en/docs/music/music_genre, /en/docs/music/tempo

FAQ

  • Tempo range?
    • Set min/max BPM via options.
  • Localized genres?
    • Extend data source or locale if supported.
Last updated on: