SEQRunAudioFrame

Syntax

#include <cafe.h>
#include <cafe/seq.h>

void SEQRunAudioFrame (void);

Parameters

None.

Return Values

None.

Description

The SEQRunAudioFrame function runs the sequence process for a single audio frame. It must be called from the AX callback routine for each audio frame. For example:

    static void callbackForAudioFrame(void)
    {
            SEQRunAudioFrame();     // Runs MIDI sequencer
            SYNRunAudioFrame();     // Runs synthesizer
            MIXUpdateSettings();    // Reflects the setting changes made by SYN
    }
    
    void main(void)
    {
            ...
    
            AXInit();
            MIXInit();
            SYNInit();
            SEQInit();
            AXRegisterFrameCallback(&callbackAudioFrame);
    
            ...
    
            SEQQuit();
            SYNQuit();
            MIXQuit();
            AXQuit();
            ...
    }

Do Not Call From

None.

See Also

SYNRunAudioFrame
MIXUpdateSettings

Revision History

2013-05-08 Automated cleanup pass.
2006-03-01 Initial version.


CONFIDENTIAL