valde/static/js/settings.js

13 lines
326 B
JavaScript
Raw Normal View History

2024-01-25 23:08:03 +00:00
import { pick } from "./modules/utils.js"
2024-01-27 03:24:40 +00:00
const NOTES = ["A3", "A2", "C4", "C3", "F3", "F2"]
2024-01-25 23:08:03 +00:00
export const NOTE = pick(NOTES)
2024-01-27 03:24:40 +00:00
const SPACING = ["7h", "8h", "9h", "10h"]
export const SPACE = pick(SPACING)
const RECORDINGS = ["birds.mp3", "stairs.mp3"]
export const RECORDING = pick(RECORDINGS)
Tone.Transport.bpm.value = 60;