build
This commit is contained in:
parent
d1befc29cb
commit
cf7a158944
1 changed files with 1 additions and 1 deletions
2
docs/dist/useCycle.js
vendored
2
docs/dist/useCycle.js
vendored
|
|
@ -29,7 +29,7 @@ function useCycle(props) {
|
||||||
Tone.Transport.schedule((time) => {
|
Tone.Transport.schedule((time) => {
|
||||||
const toneEvent = {
|
const toneEvent = {
|
||||||
time: event.part.begin.valueOf(),
|
time: event.part.begin.valueOf(),
|
||||||
duration: event.part.end.valueOf() - event.part.begin.valueOf(),
|
duration: event.whole.end.valueOf() - event.whole.begin.valueOf(),
|
||||||
value: event.value
|
value: event.value
|
||||||
};
|
};
|
||||||
onEvent(time, toneEvent);
|
onEvent(time, toneEvent);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue