feat: support MP3 export
This commit is contained in:
parent
e123108928
commit
2d75ae45be
1 changed files with 5 additions and 0 deletions
|
@ -118,6 +118,11 @@ export const INDV_DOWNLOADS: IndividualDownload[] = [
|
||||||
fileExt: 'mid',
|
fileExt: 'mid',
|
||||||
action: (score) => score.saveMidi(true, true),
|
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'),
|
name: i18n('DOWNLOAD_AUDIO')('FLAC'),
|
||||||
fileExt: 'flac',
|
fileExt: 'flac',
|
||||||
|
|
Loading…
Reference in a new issue