justin = { main feed , music , code , askjf , pubkey };
Ask Justin Frankel
No reasonable question unanswered since 2009!

Suggested topics: programming, music, sleep, coffee, etc.

Note: please do not ask questions about REAPER features, bugs or scheduling, use the forums instead.


Name: Ask: Human (enter yes):
[back to index] | [unreplied] | [replied] | [recent comments] | [all]

Question: I have this JSFX plugin i coded, whenever I'm bypass and enable while audio is playing, it sometimes spikes the output that I have to stop playback and play again for it to get to normal level because Im doing some reset @block with playstae. and i also have ext_noinit set to 1. how do i fix this bypass/enable spike while audio is playing?
Asked by spiking (197.251.240.x) on December 9 2025, 9:50pm
Reply on December 10 2025, 2:10am:
    hmm the spikes are probably from the discontinuity in signal? what's the plug-in doing that causes that?


Comments:
  • Posted by Spiking (197.251.240.x) on December 10 2025, 8:16am:
    It's an upward expander, so it increases gain to make track more dynamic. That variable that tracks how much gain to add spike up during bypass/enable but because I'm resetting it at the @block with playstate, stopping playback and playing again eliminate the spike, but I wish it never happens in the first place. Is there not a builtin variable that can know when a plugin is coming from bypass so I can use it to track and clear that variable and buffers?

  • Posted by Justin on December 10 2025, 2:32pm:
    not really, but it sounds like the spike is due to the quickly going from a quiet signal (pre-bypass) to a loud signal, and the attack time of the processor is still expanding? maybe need a limiter on the output of it?

  • Posted by Spiking (197.251.240.x) on December 10 2025, 3:33pm:
    Okay. Then it's either I leave it as it is, or add a brickwall limiter to the output. Thanks.


Comment:
    Your Name:   -- Site Owner's Name:  (for human-verification)

    Comment:    

    
  
[back to index] | [unreplied] | [replied] | [recent comments] | [all]
Copyright 2025 Justin Frankel. | RSS