-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Expected Behavior
You'd never hear popping or crackling in the audio, and never notice a slowdown no matter how long you let midio run.
Actual Behavior
CRACK beautiful noises POPPLE POP POP gorgeous airy chord CRAAAAAAckckkckKCkkKKk
Solutions
- the
<span>s that i'm creating for the piano key effects might not be getting cleaned up correctly? i am using .removeChild and not assigning it to a variable... so it should just go away. Maybe i could only allow X number of spans to be created?? - performance of many oscillators being created at a time with many filters each oscillator. i don't think this is the problem because if i load up midio and click a bunch it's fine and doesn't start clicking/crackling/slowing down til after a bunch of clicking. it's like the problem always takes around a minute to show up- and sometimes it never shows up at all.. .which leads me to my third theory
- some filter being applied to some oscillator at some volume level sometimes. this might be due to any number of calculations in the code for ADSR, pretty much anytime i'm doing any filter or gain adjustments on any filter or oscillator- which is kind of a lot. i believe this is my strongest lead.
Steps to Reproduce the Problem
- Load up midio
- Click a bunch
- Notice how you don't get crackling/popping/slow down all of the time
- Reload midio
- Let it run for 1-5 minutes
- See if you hear crackling
Screenshots
Specifications
- Midio Version: current
- Operating System: Windows 10
- Node Version: v0.10.25
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working