-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Export audio file? #8
Comments
Hi, unfortunately there is not such feature implemented. I wanted to add it, as the app itself is quite useless without this option, however, I'm quite busy with work related tasks all the time. I found this http://stackoverflow.com/questions/16969201/web-audio-api-scheduling-sounds-and-exporting-the-mix which might be the way to go. |
@janmyler There's a library for exporting to wav (which I've used here) and a somewhat hackily converted version for mp3 (which does seem to work but might be incredibly slow for longer tracks) |
Feel free to take var number_of_channels = 2;
var oactx = new OfflineAudioContext(number_of_channels, sample_rate * length, sample_rate);
start_playing(from_position, oactx);
oactx.startRendering().then(function(rendered_audio_buffer) {
export_audio_buffer_as(rendered_audio_buffer, file_type);
}); |
I am finding difficulties to save the project in DB and re render as it is saved , is it possible with it , then what is the idea to be used ? |
Hi mate,
Great effort, just wondering if there is an option to export the final audio as mp3/wav?
Appreciate your help.
Cheers!
The text was updated successfully, but these errors were encountered: