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
// SONGMODE=YOSHIMI | |
setBPM(75); | |
createTrack(0).steps(4, [e3]); | |
createTrack(2).play([[ 0.25, a5(0.15, 48) ], | |
[ 0.75, a5(0.26, 43) ], | |
[ 0.49, f6(0.58, 72) ], |
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
// SONGMODE=YOSHIMI | |
/** | |
* "Chill And Feel" - (c) 2020 Peter Johan Salomonsen | |
*/ | |
setBPM(100); | |
createTrack(5).steps(4,[controlchange(7, 120)]); | |
createTrack(2).steps(4,[controlchange(7, 100),controlchange(64, 0)]); // piano |
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
// SONGMODE=YOSHIMI | |
setBPM(75); | |
// ------- bass | |
createTrack(1).steps(4, [ | |
d3(0.1),,d3(0.1),, | |
,d3(0.1),,d4(0.05),]); | |
// -------- piano |
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
import { SineOscillator } from '../synth/sineoscillator.class'; | |
import { SawOscillator } from '../synth/sawoscillator.class'; | |
import { Envelope } from '../synth/envelope.class'; | |
import { StereoSignal } from "../synth/stereosignal.class"; | |
import { notefreq } from '../synth/note'; | |
import { Noise } from '../synth/noise.class'; | |
import { BandPass } from '../fx/bandpass'; | |
import { SAMPLERATE } from '../environment'; | |
import { BiQuadFilter, FilterType, Q_BUTTERWORTH } from '../synth/biquad'; | |
import { createInstrumentArray } from '../common/mixcommon'; |
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
/** | |
* Copyright 2020 - Peter Johan Salomonsen | |
*/ | |
setBPM(120); | |
addInstrument('pad'); | |
addInstrument('drums'); | |
addInstrument('sawtap'); | |
addInstrument('distlead'); |
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
// SONGMODE=YOSHIMI | |
setBPM(75); | |
createTrack(3).steps(4, [ | |
controlchange(7, 83) // strings volume | |
]); | |
createTrack(1).steps(4, [ |
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
/** | |
* "Fall" | |
* | |
* Spotify: https://open.spotify.com/track/0UtYDJwUGQO4OvCmPnGvZT?si=pB48erfcSeud45DKaWtfmQ | |
* Soundcloud: https://soundcloud.com/psalomo/fall | |
* | |
* Copyright 2020 - Peter Johan Salomonsen | |
*/ | |
setBPM(100); |
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
// SONGMODE=YOSHIMI | |
setBPM(80); | |
const lbd = () => c3(1/8,8); | |
const mbd = () => c3(1/8,35); | |
const bd = () => c3(1/8,45); | |
const lsd = () => e3(1/16,20); | |
const sd = () => e3(1/4,120); |
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
/* | |
* Copyright (c) 2020 - Peter Johan Salomonsen | |
*/ | |
setBPM(105); | |
addInstrument('piano'); | |
addInstrument('string'); | |
addInstrument('drums'); | |
addInstrument('brass'); |
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
/** | |
* | |
* "Hondarribia" - Intro song for the music talk at WebAssembly summit 2020 | |
* | |
* Also available at spotify / soundcloud | |
* https://open.spotify.com/track/72SIjtJwJWggfl2nvHPptE?si=xUh-n4h7QCuR2McQCYie3Q | |
* https://soundcloud.com/psalomo/hondarribia | |
* | |
* Copyright (c) 2019-2020 - Peter Johan Salomonsen - All rights reserved | |
* |