Is there any option to convert listen from a stream to an audio file?
Hi All :), Is there any option to convert listen from a stream to an audio file?
Probably using a subscriber and convert the listening to a audio file.
Thanks in advance!!! =]
On Flutter Sound V6, it is possible to play RAW-PCM Linear 16 from a Dart Stream. Is it what you are looking for ?
Thanks for the answer, I have musical notes for example 'soundfonts sf2' types, which executed in a stream every X time. And i would like to record the stream and create it as an audio file ====> Recording it.
If I understand correctly, you do not want to Record (from a microphone, ...) or Playback (to a loudspeaker, ...). What you want is download something which is streamed by a server. For this, Flutter Sound is not the correct tool.
On Wikipedia : A SoundFont bank contains base samples in PCM format (similar to WAV files)
Flutter Sound can play raw PCM data, but I am not really sure about 'soundfonts sf2' types.
Also, 'soundfonts sf2' has sometimes to deal with MIDI. If your data is MIDI, then Flutter Sound is not the correct tool.
I hope that I am clear, and that I understood correctely what you are trying to do.
Also, there is a helper function in Flutter Sound V6 which can convert Raw PCM-Linear 16 to a Wave (.wav) file. This may help you.
Thanks :), You are correct 'soundfonts sf2' has sometimes to deal with MIDI.
Probably need to convert those midi sound to PCM data / WAV data.