-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
44eb86c
commit 4c5adfa
Showing
10 changed files
with
42 additions
and
18 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
// maquinitas example | ||
// korg volca beats | ||
// example for korg volca beats | ||
|
||
// new instance | ||
KorgVolcaBeats beats; | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// korg volca beats | ||
|
||
// new instance | ||
KorgVolcaFm fm; | ||
|
||
// setup port | ||
// beats.setupPort(0); | ||
|
||
// print number of MIDI CC parameter | ||
// <<< beats.ccMIDI["hihat grain"] >>>; | ||
|
||
// while (true) { | ||
// Std.rand2(36, 50) => int note; | ||
// Std.rand2(0, 127) => int velocity; | ||
|
||
// beats.noteOn(note, velocity); | ||
|
||
// Std.rand2f(0.01, 0.5) => float on; | ||
// Std.rand2f(0.01, 0.5) => float off; | ||
|
||
// let time flow | ||
// on :: second => now; | ||
// note off | ||
// beats.noteOff(note); | ||
// let time flow | ||
// off :: second => now; | ||
|
||
// CC message | ||
// myVolcaFm.controlChange(myVolcaFm.ccMIDI["lfo rate"], Std.rand2(0, 127)); | ||
|
||
// beats.startSequencer(); | ||
// beats.stopSequencer(); | ||
// } |
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
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