This might have something to do with how filters work, but out of interest: I noticed that when you call the AnalogFilter.ProcessSample() function with a value of zero, completing the call takes about 6-7 times longer than with non-zero values (at least on my Mac). Any other sample value, no matter how close it is to zero (as long as it's not exactly zero) suddenly makes the function work much faster.
Since there are many cases where a module might feed digital zero through the filter, is there any way to avoid this sudden (and probably unnecessary) CPU hit? Of course I could just skip the filter whenever the input signal settles to zero, or add some slight offset/noise to the input, but these feel like unnecessary kludges.... Any ideas?
AnalogFilter.ProcessSample() high CPU with value zero
Jump to
- Cherry Audio
- ↳ Voltage Modular
- ↳ Instruments
- ↳ Atomika Synthesizer
- ↳ Blue3 Organ
- ↳ Rhodes Chroma
- ↳ CA2600 Synthesizer
- ↳ CR-78 Drum Machine
- ↳ DCO-106 Polyphonic Synthesizer
- ↳ Dreamsynth
- ↳ Lowdown Bass Synthesizer
- ↳ Eight Voice Synthesizer
- ↳ Elka-X Synthesizer
- ↳ GX-80 Synthesizer
- ↳ Harmonia Synthesizer
- ↳ Memorymode Synthesizer
- ↳ Mercury-4 Synthesizer
- ↳ Mercury-6 Synthesizer
- ↳ Miniverse Synthesizer
- ↳ Novachord + Solovox Collection
- ↳ Octave Cat Synthesizer
- ↳ P-10 Synthesizer
- ↳ Polymode Synthesizer
- ↳ Pro Soloist Synthesizer
- ↳ PS-20 Synthesizer
- ↳ PS-3300 Synthesizer
- ↳ Quadra Synthesizer
- ↳ Sines Synthesizer
- ↳ Surrealistic MG-1 Plus Synthesizer
- ↳ Synthesizer Expander Module
- ↳ Wurlybird 140B Electric Piano
- ↳ Cherry Audio Preset Packs
- ↳ Instrument preset exchange
- ↳ Effects
- ↳ Galactic Reverb
- ↳ Rackmode Signal Processors
- ↳ Stardust 201 Tape Echo
- ↳ Modules
- ↳ Aarnville
- ↳ Adroit Synthesis
- ↳ Andrew Macaulay
- ↳ Benard
- ↳ Ben Davis
- ↳ borkman
- ↳ Centripidity
- ↳ Black Cloud Industries
- ↳ Cherry Audio
- ↳ Cherry Audio/MRB
- ↳ Collider Modular
- ↳ Cyberwerks Heavy Industries
- ↳ DMT Audio
- ↳ Dome Music Technologies
- ↳ Gargoyle
- ↳ Hamster Modular
- ↳ Haslo
- ↳ HetrickCV
- ↳ Hype Audio
- ↳ Insomniac Music
- ↳ JKphobic
- ↳ Knobstradamus
- ↳ M*4
- ↳ Martin Dennis
- ↳ Misfit Audio
- ↳ Monkey Business Audio
- ↳ MRB
- ↳ nekomatic
- ↳ Nick Hladek
- ↳ Nrgzr78
- ↳ Oliver Moebus
- ↳ Playertron
- ↳ P.moon
- ↳ PoohBear
- ↳ PSPaudioware.com
- ↳ R_Ware
- ↳ Request for Music
- ↳ SHARP Modular
- ↳ Sonic Lighthouse Studio
- ↳ Sonobiosis
- ↳ Vulpus Labs
- ↳ Vult
- ↳ Waverley Instruments
- ↳ weevil
- ↳ Module Designer
- ↳ Cherry Audio Store
- ↳ Sync
- ↳ Tips and Tricks
- ↳ Preset Exchange