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: Do you mind sharing a bit of insights how the spl function within JSFX operatest? Does it perform boundary checks for the channel on each sample or is there some more performant way to avoid out-of-bounds access? And also, do you have any experience on the performance hit?
Asked by capital-G (185.104.138.x) on December 23 2025, 9:16am
Reply on December 23 2025, 4:25pm:
    It does have to clamp the input and convert to integer, so it does have some additional CPU use, yeah. For a very CPU-intensive JSFX, it might not make much of a difference, but for a very lightweight filter it would be significant.

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

    Comment:    

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