0 votes

If I have two AudioStreamPlayer each with a different stream, is it possible to merge those stream to save it as one wav file ?
I mean by using mergedStream.save_to_wav(file_path)

I suppose it's possible to listen to both AudioStreamPlayer with a recorder one and save the created stream
But for long records, it's a lost of time. I want to run it on Android so there is no way I can use external binaries like ffmpeg...

[edit]
Maybe with C# and external libraries ? I really have no idea

in Engine by (84 points)

1 Answer

0 votes
Best answer

Godot doesn't feature a WAV encoder, so this isn't possible without using an add-on of some sort.

by (10,271 points)
selected by

Ok thanks I'll look if it's possible by writing some c++
by the way,

I suppose it's possible to listen to both AudioStreamPlayer with a
recorder one and save the merged stream

This works great appart from the fact that it's "slow"

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.