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: What exactly is peakrate in GetMediaItemTake_Peaks( take, peakrate, starttime, numchannels, numsamplesperchannel, want_extra_type, buf )? And how would I know what value to set? Thanks! :)
Asked by amagalma (91.140.73.x) on March 8 2021, 12:12pm
Reply on March 8 2021, 4:50pm:
    Number of pixels per second!


Comments:
  • Posted by amagalma (91.140.73.x) on March 8 2021, 11:56pm:
    Thanks! So, are we supposed to pass GetHZoomLevel() there?

  • Posted by Justin on March 9 2021, 1:58am:
    Yes, or if you're rendering at a different zoom level, that...


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

    Comment:    

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