-
Notifications
You must be signed in to change notification settings - Fork 15
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
11abcd3
commit e3ab4a1
Showing
26 changed files
with
155 additions
and
301 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
32 changes: 27 additions & 5 deletions
32
WavetableSynth/Scripts/ScriptProcessors/WavetableDemo/Interface.js
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,20 +1,42 @@ | ||
Content.makeFrontInterface(1024, 768);function onNoteOn() | ||
Content.makeFrontInterface(1024, 768); | ||
|
||
const var WavetableSelector = Content.getComponent("WavetableSelector"); | ||
|
||
WavetableSelector.set("items", Engine.getWavetableList().join("\n")); | ||
|
||
const var WavetableSynthesiser1 = Synth.getChildSynth("Wavetable Synthesiser1"); | ||
|
||
inline function onWavetableSelectorControl(component, value) | ||
{ | ||
if(value > 0) | ||
{ | ||
WavetableSynthesiser1.setAttribute(WavetableSynthesiser1.LoadedBankIndex, value); | ||
} | ||
}; | ||
|
||
Content.getComponent("WavetableSelector").setControlCallback(onWavetableSelectorControl); | ||
|
||
|
||
|
||
|
||
function onNoteOn() | ||
{ | ||
|
||
} | ||
function onNoteOff() | ||
function onNoteOff() | ||
{ | ||
|
||
} | ||
function onController() | ||
function onController() | ||
{ | ||
|
||
} | ||
function onTimer() | ||
function onTimer() | ||
{ | ||
|
||
} | ||
function onControl(number, value) | ||
function onControl(number, value) | ||
{ | ||
|
||
} | ||
|
Oops, something went wrong.