Last active
October 22, 2017 23:45
-
-
Save beefchimi/058cfb1a2d3c23e005d11ee5462bb59a to your computer and use it in GitHub Desktop.
Oscillator presets
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const up = { | |
wave: 'sine', | |
freq: { | |
start: 392, | |
end: 493.88, | |
}, | |
volume: 1, | |
duration: 0.2, | |
}; | |
const downGood = { | |
wave: 'sine', | |
freq: { | |
start: 493.88, | |
end: 698.46, | |
}, | |
volume: 1, | |
duration: 0.1, | |
}; | |
const downBad = { | |
wave: 'sine', | |
freq: { | |
start: 587.33, | |
end: 392, | |
}, | |
volume: 1, | |
duration: 0.1, | |
}; | |
const swap = { | |
wave: 'sine', | |
freq: { | |
start: 880, | |
end: 1760, | |
}, | |
volume: 0.2, | |
duration: 0.06, | |
}; | |
const synthPresets = { | |
up, | |
downBad, | |
downGood, | |
swap, | |
}; | |
export default synthPresets; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment