Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The offset is imprecise in a sound with a file source that loops #9

Closed
alemangui opened this issue Jun 19, 2016 · 1 comment
Closed

Comments

@alemangui
Copy link
Owner

This issue occurs with Pizzicato.Sound objects that have a file as a source and have the loop: true attribute. After the first looping occurs, the offset becomes imprecise

This can be evidenced by calling sound.pause(); sound.play();. After the first loop the cut will not be seamless and a jump will be heard.

Another way is to add and remove an effect to the sound: sound.addEffect(effect); sound.removeEffect(effect). After the first loop the operation will not be smooth. This is exemplified by @JohnPaulHarold in this demo site.

This was referenced Jun 19, 2016
alemangui added a commit that referenced this issue Aug 19, 2016
alemangui added a commit that referenced this issue Aug 19, 2016
@JohnPaulHarold
Copy link
Contributor

nice work

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants