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 if you are syncing to host like the ff, should be at the @sample or the @block, which one is ideal? play_state & 1 ? ( host_sample_pos = floor(play_position * srate); beat_counter = host_sample_pos % (samples_per_beat * steps); ) : ( beat_counter = 0; );
Asked by Syncing (197.251.240.x) on August 24 2025, 7:55am
Reply on August 24 2025, 1:08pm:
    @block should probably do the initial calculation, then @sample can count where it is relative to the block start


Comments:
  • Posted by Syncing (197.251.240.x) on August 24 2025, 7:06pm:
    Alright, 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