Skip to content

Commit 8e65932

Browse files
bring back sample playback
1 parent d6484c4 commit 8e65932

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

slider.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,9 @@ class AudioInputTypeSlider extends Slider{
8787
this.propName = "inputType";
8888
this.inputSelect = p.createSelect();
8989
this.inputSelect.option("Additive Synth");
90+
this.inputSelect.option("cello");
91+
this.inputSelect.option("drums");
92+
this.inputSelect.option("sweep");
9093
this.inputSelect.changed(()=>this.settings.inputType = this.inputSelect.value());
9194

9295
this.oddEvenSel = p.createSelect();

widget.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ let sliderIdLookups = {
114114
}
115115

116116
function createWidgets() {
117+
loadAudioSources();
117118
let settings = getDefaultSettings();
118119

119120
const collapseButtons = document.getElementsByClassName("collapse-button");

0 commit comments

Comments
 (0)