public class MusicUtils extends Object
For working with notes, see WesternScaleNote.
| Constructor and Description |
|---|
MusicUtils() |
| Modifier and Type | Method and Description |
|---|---|
static int |
millisPerBeat(float bpm)
Given a beats-per-minute rate, returns the number of milliseconds
in a single beat.
|
static List<IndependentPair<Integer,Double>> |
parseABCNotes(String abc)
Parses the music notation from ABC files (without the header).
|
public MusicUtils()
public static int millisPerBeat(float bpm)
bpm - Beats per minutepublic static List<IndependentPair<Integer,Double>> parseABCNotes(String abc)
abc - The abc note string