Sounds 2 Library Reverb Effect Demo

Location

$CAFE_ROOT/system/src/demo/sound2

Description

Demonstrates how to use the reverb filter presets. Particularly, it demonstrates:

The following are required for this demo.

Six samples are included in ADPCM audio formats.

This demo is interactive. Follow the on-screen instructions to play sounds and select individual filters for each of the three AUX channels.

Console Output

When invoked, the program will display the following.

axfx2reverbs.c built 16:52:05 Dec  3 2013
********************************************************
********************************************************
*            Sound 2 Reverb Presets Demo               *
********************************************************
********************************************************
*    PAD Buttons are:                                  *
*    Home        Quit Program                          *
*    Up/Dn       move parameter selection cursor       *
*    Rt/Lt       +/- selected parameter                *
*    Stick Y     Vary selected numeric parameter       *
*    A           Toggle effect transition reset        *
*    B           Start/Stop playing current sample     *
*    X           Cycle through samples                 *
*    Y           Cycle through reverb presets          *
*    L           Cycle 32k and 48k mode                *
********************************************************
********************************************************

TV Output

The current controls and setting (left side) and adjustable parameters (right side) are displayed to the TV:

        axfx2reverbs.c built 18:40:49 Oct 29 2013 

        Voice         5
       L renderer       48K         MAX AUX Usage:   3.17%
       B Play           ON          MAX CPU Usage:  11.29%
       X Voice       string         MAX DSP Usage:  17.36% 
       Y Effect Preset  Large Room  MAX Voices:     1
         AuxA Send     >0    dBx10                   MIN%  AVG%  MAX%
       A Effect Transition Reset    Cur AUX Usage:   2.74  2.90  3.11
                        Yes         Cur CPU Usage:  10.74 10.93 11.26
                                    Cur DSP Usage:  17.18 17.22 17.27
                                    Cur Voices:     1

                                    Home       Quit
                                    Up/Dn      move cursor
                                    Left/Right toggle value
                                    Stick Y    vary value

Navigating With the GamePad

Parameters

Renderer Switch between 32K and 48K audio library renderer.
Play Start or stop playing the current sound. Pressing B will also toggle this value.
Voice Selects which sound effect is played. Pressing X will also cycle through the available sounds.
Effect Preset Selects the preset reverb effect. Pressing Y will also cycle through the available presets.
AuxA Send Attenuation level applied to the AUXA effects path.
Effect Transition Reset When enabled, the effect is updated (when selecting a different preset) using the call AXFX2ReverbSettingsUpdate.

Files

$CAFE_ROOT/system/src/demo/sound2/axfx2reverbs.c Demo source code.
$CAFE_ROOT/data/disc/content/axdemo/sound2/32k/
  acousticE.dsp
  acousticEshort.dsp
  cowbell.dsp
  crash.dsp
  cymbal.dsp
  kick.dsp
  snare.dsp
  tom1.dsp
  tom2.dsp
  tom3.dsp
  strings.dsp

32K DSP sound files.
$CAFE_ROOT/data/disc/content/axdemo/sound2/48k/
  acousticE.dsp
  acousticEshort.dsp
  cowbell.dsp
  crash.dsp
  cymbal.dsp
  kick.dsp
  snare.dsp
  tom1.dsp
  tom2.dsp
  tom3.dsp
  strings.dsp

48K DSP sound files.
$CAFE_ROOT/data/disc/content/axdemo/spdemo/spdemo.spt Sound Pipeline table file.
$CAFE_ROOT/data/disc/content/axdemo/spdemo/spdemo.spd Sound Pipeline sample file.

See Also

AXFX2 Reverb Overview

Revision History

2013/12/03 Renderer switch
2013/10/29 Update details.
2013/08/25 Initial version.


CONFIDENTIAL