JackDotJS / node-studio

Node-based music production tool, built with Tauri.
MIT License
7 stars 1 forks source link

Export options #3

Open JackDotJS opened 2 years ago

JackDotJS commented 2 years ago

In order of importance:

JackDotJS commented 1 year ago

ive done some googling and found FFMPEG can be used to encode MP3, AAC, OGG, and FLACs, though this will definitely require a bunch of rust code. and i'm not sure how we could stream the audio data from the web frontend to the rust backend.

as for MIDI exports, this library could probably be used: https://github.com/grimmdude/MidiWriterJS

and finally, i've found that PCM and WAV are almost technically the same thing, which might be a helpful clue, but i have yet to find simple and up-to-date solutions for encoding them. that said, some of my research says the first 4 formats are significantly better audio formats nowadays, so we probably won't even need to worry about these last two after all. i'm gonna keep them on the list though, just in case we find something that isn't too terrible to implement.