public class SongResampler
extends java.lang.Object
| Constructor | Description |
|---|---|
SongResampler() |
| Modifier and Type | Method | Description |
|---|---|---|
static void |
changeTickSpeed(Song song,
float newTempo) |
Changes the tick speed (sample rate) of a song, without changing the musical speed or length.
|
static void |
precomputeTempoEvents(Song song) |
Converts a song with dynamic tempo changes into one with a static tempo.
|
public static void changeTickSpeed(Song song, float newTempo)
song - The songnewTempo - The new tick speed (Ticks per second)public static void precomputeTempoEvents(Song song)
song - The song