mirror of
https://github.com/Tonejs/Tone.js
synced 2025-01-13 20:39:06 +00:00
correcting link
This commit is contained in:
parent
5ff4922646
commit
23f4a00f28
1 changed files with 4 additions and 4 deletions
|
@ -46,7 +46,7 @@
|
|||
<tone-play-toggle></tone-play-toggle>
|
||||
<div id="tracks">
|
||||
<div id="progress"></div>
|
||||
<img src="./audio/loop/drum_loop.png">
|
||||
<img src="https://tonejs.github.io/audio/loop/drum_loop.png">
|
||||
</div>
|
||||
</div>
|
||||
</tone-example>
|
||||
|
@ -59,17 +59,17 @@
|
|||
Tone.Transport.loopEnd = "8m";
|
||||
|
||||
const kick = new Tone.Player({
|
||||
url: "./audio/loop/kick.[mp3|ogg]",
|
||||
url: "https://tonejs.github.io/audio/loop/kick.mp3",
|
||||
loop: true
|
||||
}).toDestination().sync().start(0);
|
||||
|
||||
const snare = new Tone.Player({
|
||||
url: "./audio/loop/snare.[mp3|ogg]",
|
||||
url: "https://tonejs.github.io/audio/loop/snare.mp3",
|
||||
loop: true
|
||||
}).toDestination().sync().start("2n");
|
||||
|
||||
const hh = new Tone.Player({
|
||||
url: "./audio/loop/hh.[mp3|ogg]",
|
||||
url: "./audio/loop/hh.mp3",
|
||||
loop: true
|
||||
}).toDestination().sync().start("3:3", "4n"); // start with an offset
|
||||
|
||||
|
|
Loading…
Reference in a new issue