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: In JSFX, The @gfx section runs at the screen refresh rate (typically 30fps), while @sample runs at the full audio sample rate. Is this true? So that means a fast changing variable in @sample that is being passed to @gfx for movement display may not be as fast as the @sample value itself due to the screen refresh rate, right?
Asked by gfx accuracy (102.176.65.x) on June 11 2026, 11:01pm
Reply on June 12 2026, 7:01am:
    the jsfx @gfx rate is arbitrary and slow (you can request higher rates etc but you're not guaranteed anything), and the audio thread runs at a fixed rate (or doesn't run, if bypassed/etc). so yeah, you'd need to buffer things for display to ensure they get displayed. you can look at how e.g. the JSFX oscilloscope does that.


Comments:
  • Posted by gfx accuracy (102.176.65.x) on June 12 2026, 12:44pm:
    Great, will take a look at it. Thanks


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

    Comment:    

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