More samples!!
This commit is contained in:
parent
5dcb8038c4
commit
a630d0d81f
BIN
public/samples/BEE.WAV
Normal file
BIN
public/samples/BEE.WAV
Normal file
Binary file not shown.
BIN
public/samples/BELCH2.WAV
Normal file
BIN
public/samples/BELCH2.WAV
Normal file
Binary file not shown.
BIN
public/samples/BOING.WAV
Normal file
BIN
public/samples/BOING.WAV
Normal file
Binary file not shown.
BIN
public/samples/DING.WAV
Normal file
BIN
public/samples/DING.WAV
Normal file
Binary file not shown.
BIN
public/samples/Sosumi.wav
Normal file
BIN
public/samples/Sosumi.wav
Normal file
Binary file not shown.
BIN
public/samples/StartupMacQuadra.wav
Normal file
BIN
public/samples/StartupMacQuadra.wav
Normal file
Binary file not shown.
BIN
public/samples/Windows XP Critical Stop.wav
Normal file
BIN
public/samples/Windows XP Critical Stop.wav
Normal file
Binary file not shown.
BIN
public/samples/bum.wav
Normal file
BIN
public/samples/bum.wav
Normal file
Binary file not shown.
BIN
public/samples/icq-message.wav
Normal file
BIN
public/samples/icq-message.wav
Normal file
Binary file not shown.
BIN
public/samples/mariomeow.wav
Executable file
BIN
public/samples/mariomeow.wav
Executable file
Binary file not shown.
|
@ -45,7 +45,8 @@
|
|||
<button onclick={() => nes_load_url("pictionary.nes")}>Pictionary</button>
|
||||
<button onclick={() => nes_load_url("granddad.nes")}>Grand Dad</button>
|
||||
<button onclick={() => nes_load_url("RadGravity.nes")}>Rad Gravity</button>
|
||||
<input bind:files={romfile} type="file" />
|
||||
<input bind:files={romfile} type="file" /><br/>
|
||||
<button style="background-color: #ffaaaa;" onclick={() => rom = null}>Please stop</button>
|
||||
<hr/>
|
||||
<p>DPad: Arrow keys<br/>B button: Z, A button: X, Select: Tab / C, Start: Return / V</p>
|
||||
<hr/>
|
||||
|
|
|
@ -32,10 +32,20 @@
|
|||
selectedSample = samples.length - 1;
|
||||
}
|
||||
async function loadDefaultSamples() {
|
||||
samples.push({sample: await loadSample("samples/meow1.wav", 720, 10), name: "Meow"});
|
||||
samples.push({sample: await loadSample("samples/mariomeow.wav", 1380, 1), name: "Meow"});
|
||||
selectedSample = samples.length - 1;
|
||||
samples.push({sample: await loadSample("samples/YEARGH.WAV", 1300, 1), name: "Yeargh"});
|
||||
samples.push({sample: await loadSample("samples/meow1.wav", 720, 10), name: "Reeowwrr"});
|
||||
samples.push({sample: await loadSample("samples/QUACK.WAV", 700, 1), name: "Quack"});
|
||||
samples.push({sample: await loadSample("samples/StartupMacQuadra.wav", 1140, 1), name: "Quadra"});
|
||||
samples.push({sample: await loadSample("samples/Sosumi.wav", 1000, 1), name: "Sosumi"});
|
||||
samples.push({sample: await loadSample("samples/DING.WAV", 1560, 1), name: "Ding"});
|
||||
samples.push({sample: await loadSample("samples/Windows XP Critical Stop.wav", 520, 2), name: "XP"});
|
||||
samples.push({sample: await loadSample("samples/icq-message.wav", 1430, 1), name: "ICQ"});
|
||||
samples.push({sample: await loadSample("samples/BEE.WAV", 550, 1), name: "Bee"});
|
||||
samples.push({sample: await loadSample("samples/BELCH2.WAV", 520, 1), name: "Belch"});
|
||||
samples.push({sample: await loadSample("samples/BOING.WAV", 830, 1), name: "Boing"});
|
||||
samples.push({sample: await loadSample("samples/bum.wav", 1040, 1), name: "Bum"});
|
||||
samples.push({sample: await loadSample("samples/YEARGH.WAV", 1300, 1), name: "Yeargh"});
|
||||
}
|
||||
loadDefaultSamples();
|
||||
$effect(() => {
|
||||
|
|
Loading…
Reference in a new issue