Fix tempo and sample picker layout
This commit is contained in:
1 parent
5497b16ac0
commit
e0c33ca624
4 files changed
+50
-13
No files matched your search
@@ -8,8 +8,8 @@ export const BEATS_PER_BAR_OPTIONS = [2, 3, 4, 5, 6, 7, 8] as const;
|
||||
export type BeatsPerBar = (typeof BEATS_PER_BAR_OPTIONS)[number];
|
||||
export const TOTAL_STEPS = DEFAULT_BEATS_PER_BAR * STEPS_PER_BEAT;
|
||||
export const TEMPO_BPM = 112;
|
||||
export const MIN_TEMPO_BPM = 60;
|
||||
export const MAX_TEMPO_BPM = 180;
|
||||
export const MIN_TEMPO_BPM = 30;
|
||||
export const MAX_TEMPO_BPM = 260;
|
||||
|
||||
export function getTotalSteps(beatsPerBar: BeatsPerBar): number {
|
||||
return beatsPerBar * STEPS_PER_BEAT;
|
||||
|
||||
Reference in new issue
Block a user