Skip to content

Conversation

@Orgasmscience
Copy link
Contributor

Hi!

This pull request has two small changes to the FunStimSampleProvider. The first change fixes a division by zero that occurs when you set the fade time to 0ms.

The second change is a suggestion, which makes the skip protection a little bit more tolerant to "vibration patterns" that are becoming somewhat popular in the handy community recently, which use very short-spaced commands that result in actions that never quite reach their target value because the read function can't react faster to actions than the runtime of one audio buffer.

effects" that have become popular with handy users recently, which
fire many super short actions that result in durations below the
audio buffer runtime. 10% deviation between actions should still
be safe to not unexpectedly shock anybody.
@Orgasmscience Orgasmscience reopened this May 17, 2022
@FredTungsten FredTungsten merged commit 3a8c432 into FredTungsten:master May 20, 2022
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

Successfully merging this pull request may close these issues.

2 participants