Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Documents: Update page title prefix

About This Guide

This application note describes the usage of Wave Library Generator Tool alongside AudioWeaver Designer and demonstrates its uses. Wave Library Generator is a lightweight GUI used to set the parameters in AudioWeaver Designer for FFS-based Wave Players without the dependency of a MATLAB license. The FFS-based Wave Players basically emulate AWE flash file system images for reading out the wave samples.

Workings

Open the WaveLibraryGenerator exe, Add the audio files by ‘Add File(s)’ button as per the order you require. Select the Target Directory by browsing to the target folder. Type in ‘Target File Name’ as shown in the figure below. Press Generate.

...

The output generated from the tool consists of a Binary file (.bin) with the selected wav/Ogg files along with an encoded U32 list of the file names in the order added in the Tool window as .csv. This .csv file is used to load into the TableSource module for Index mapping. The generated txt file contains a list of the included audio files and is solely for documentation purposes.

Image RemovedImage Added

Figure 2: WaveLibraryGenerator Output

...

Output of the WaveLibraryGenerator, the Binary file can be used in examples where FileMemBuffer module is needed. Load the obtained .bin filepath into the FileMemBuffer module at the fileName in the arguments. This module provides the address of the Buffer pointer as an output which is taken as the starting address in the FFSWrapper module in case of native mode. The FFS Instance is provided to the Wave Player by the FFS Wrapper module. Indicate the wav files to be played in each Wave Player module by populating them into the respective ‘fileName’ as shown below.

Image RemovedImage Added

Figure 3: Wave Player Properties

...

View file
space
nameplucky_16k.wav
page(8.D.2.8) Wave Library Generator Tool
DOCHUB
View file
namebell_short.wav
page(8.D.2.8) Wave Library Generator Tool
spaceDOCHUB
View file
nameappointed.wav
page(8.D.2.8) Wave Library Generator Tool
spaceDOCHUB
View file
nameWaveLibraryGenerator.exe
page(8.D.2.8) Wave Library Generator Tool
spaceDOCHUB