justin = { main feed , music , code , askjf , social , 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] | [all]

Question: Could you elaborate on designing a sequencer, how to design where the playhead meets a sample in order to play it? Is this information stored in a list and the gui follows this? I'm not quite understanding how to relate the two.
Asked by Sam2short (67.21.182.x) on March 1 2018, 2:54pm
Reply on March 3 2018, 2:21pm:
    That's a pretty open ended question, specific questions are probably easier to deal with... but anyway, audio is processed in blocks. When you want to render a block of audio for a track, you scan the list of items in the track for items that intersect the block (maybe caching the index of the first item that matches, to speed up subsequent blocks), then render those items and sum the results...
[back to index] | [unreplied] | [replied] | [all]
Copyright 2018 Justin Frankel. | RSS