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) => {
|
||||
const toneEvent = {
|
||||
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
|
||||
};
|
||||
onEvent(time, toneEvent);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue