Best Tools for compiling audio for AudioSprite

Hi all,

What is your bast tools (practices) for compiling multiple small audio files into one audio + one json for using in phaser AudioSprite.

Thank a lot for your feedback

Hi @oduvan, I’m using gulp-audiosprite (that it’s just a gulp implementation of https://github.com/tonistiigi/audiosprite/). It works really well, I just add my wav files to a folder and the gulp task exports the audiosprite in the formats I need (ogg, mp3) and the json file.

This is the config object Im using:

{
		format: 'jukebox', // jukebox format is compatible with Phaser 3

		output: 'soundfx',
		export: 'ogg,mp3',
		gap: 1, // In seconds
		bitrate: 128,
		vbr: 5,
		samplerate: 44100,
		channels: 2,
	}
1 Like

Thanks. I’ll check it out