feat: support MP3 export

This commit is contained in:
Xmader 2020-12-14 02:13:20 -05:00
parent e123108928
commit 2d75ae45be
No known key found for this signature in database
GPG Key ID: A20B97FB9EB730E4
1 changed files with 5 additions and 0 deletions

View File

@ -118,6 +118,11 @@ export const INDV_DOWNLOADS: IndividualDownload[] = [
fileExt: 'mid',
action: (score) => score.saveMidi(true, true),
},
{
name: i18n('DOWNLOAD_AUDIO')('MP3'),
fileExt: 'mp3',
action: (score) => loadSoundFont(score).then(() => score.saveAudio('mp3')),
},
{
name: i18n('DOWNLOAD_AUDIO')('FLAC'),
fileExt: 'flac',