Device Remix Matrix Demo

Location

$CAFE_ROOT/system/src/demo/ax

Description

Demonstrates how to use device remix matrix to modify the output channels. Similar to Final Mix Callback demo, but uses the device remix matrix settings. Specifically:

NOTE:
The Audio Mode must be configured to HDMI Surround (in User Settings), and a 5.1 surround audio system for listening, or you will not hear any of the changes described here.

The demo is intended to show how remix matrices can be used for simple remixes of the final output. To demonstrate the usage, we have implemented:

The mix is chosen as:

right = right + sur_right*0.2 + center*0.5 + lfe*0.5
left = left + sur_left*0.2+center*0.5 + lfe*0.5
sur_left = 0;
sur_right = 0;
lfe = 0;
fc = 0;

This remix choice is for educational purposes only with no intent in choice. Users are encouraged to experiment with the mixes.

A combination of the remix matrices, along with final mix callback, is a powerful tool to perform downmix/upmix for games mixed with different channel configurations than what the device channel mode user selected.

Console Output

After the program is invoked, it will display the following output:

********************************************************
********************************************************
*            Remix demo                                *
********************************************************
********************************************************
*    PAD Buttons are:                                  *
*    Home        Quit Program                          *
*    Rt/Lt       move parameter selection cursor       *
*    Up/Dn       +/- selected parameter                *
*    B           Start/Stop playing current tone       *
*    X           Cycle through remix types             *
*    Y           Apply / do not apply remix            *
********************************************************
********************************************************

                remix.c built 19:05:13 Apr 4 2012
                
             B Play       OFF                        
             X Remix Type NONE
             Y Apply      NO
                                                     Home       Quit
                                                     Up/Dn      move cursor
                                                     Left/Right Toggle Value

The two left columns display voice control and remix control parameters. The lower right describes the PAD navigation controls.

Navigating with the GamePad

Files

$CAFE_ROOT/system/src/demo/ax/remix.c Demo source code.
$CAFE_ROOT/data/disc/content/axdemo/common/surr_ch_voice.spt SoundPipe Table.
$CAFE_ROOT/data/disc/content/axdemo/common/surr_ch_voice.spd SoundPipe Sample data.

Samples

Front Left Lead Synth.
Front Right Bass Synth rhythm.
Front Center Snare, Closed Hi-Hat, Mid Tom, Kick.
Surround Left Ride Cymbal, Open Hi-Hat, Hi Tom.
Surround Right Ride Cymbal, Open Hi-Hat, Lo Tom.
LFE Low frequency mix from all other channels.

See Also

AXAcquireVoice
AXSetDeviceRemixMatrix
AXSetVoiceState
SPGetSoundEntry
SPInitSoundTable
SPPrepareEnd
SPPrepareSound

Revision History

2013/05/08 Automated cleanup pass.
2012/08/01 Cleanup Pass.
2012/05/10 Updated for SDK 2.05 release
2012/01/26 Updated for SDK 2.02 Release


CONFIDENTIAL