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

AUDIO: Intermittent Envelope release failure #115

Closed
Whitevinyl opened this issue Jul 23, 2015 · 9 comments
Closed

AUDIO: Intermittent Envelope release failure #115

Whitevinyl opened this issue Jul 23, 2015 · 9 comments
Assignees
Labels
Milestone

Comments

@Whitevinyl
Copy link
Contributor

When you fixed #99 this was fixed (it's what I was referring to in #99's comments), but whatever's changed in the recent Tone update has made it return.

http://localhost:8000/default.html?c=116voEdFXK&t=volbb

if you let this play a while you'll hear some of the release methods fail. I'd looked hard at it before and everything seems correct right into the envelopes triggerRelease method, but just bugs out every now and then for some reason.

@lukephills
Copy link
Member

Yeah I contacted Yotam about the clicking and he said the most efficient way to use trigger attack is to pass in the time 'triggerAttack('+0.01') instead of leaving the parameters empty and not to use now(). So I updated our TriggerAttack methods and the clicking went away. There might be a more effecient way to handle the Releases too but I've just had the example on a loop for a few minutes and I couldn't hear the release failing.

Here's the convo with Yotam:
Tonejs/Tone.js#79

@Whitevinyl
Copy link
Contributor Author

I just ran it again and had the release fail pretty quickly. It was totally fixed but it's been happening again since I last did a bower update and it installed a Tone update. Seems pretty regular so I'm not sure what's up

@Whitevinyl
Copy link
Contributor Author

Ah is it that you rolled back the envelope and rolled forward again once you got the attack fix from Yotam? Maybe we should call release the same way

@lukephills
Copy link
Member

Yeah I rolled the envelope back and then forward again with attack fix. I'll ask about the release. I can't seem to recreate it though, weird.

@lukephills
Copy link
Member

I tried triggerRelease('+0.01') and I didn't hear any release fails either but then this created nasty clicks on release when you attach and detach power blocks. It basically made #112 a lot worse so I won't commit that yet.

@Whitevinyl
Copy link
Contributor Author

OK, I'll try and make a more defined test in the meantime, as sometimes it can go for a few minutes without doing it, but might be best to look at this one next time we meet

@lukephills
Copy link
Member

Yeah think so. I need Ed's help with the attach/detach problem too. So maybe this is a good one to work on next weekend.

@Whitevinyl
Copy link
Contributor Author

this can also be recreated with either midi or computer keys set to poly attached to a tone block with envelope I've just found.
arpeggiating slow chords and leaving a few seconds between each burst is a good way to listen for it.

@Whitevinyl
Copy link
Contributor Author

consolidating envelope issues to #163

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

No branches or pull requests

2 participants