Skip to content

Is there any option to convert listen from a stream to an audio file? #49

Open

Description

@Lix-ai

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!!! =]

Activity

  1. added
    enhancement
    on Sep 29, 2020
  2. Larpoux commented on Sep 29, 2020

    @Larpoux
    Contributor

    On Flutter Sound V6, it is possible to play RAW-PCM Linear 16 from a Dart Stream.
    Is it what you are looking for ?

  3. Lix-ai commented on Sep 29, 2020

    @Lix-ai
    Author

    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.

  4. Larpoux commented on Sep 29, 2020

    @Larpoux
    Contributor

    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.

  5. Larpoux commented on Sep 29, 2020

    @Larpoux
    Contributor

    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.

  6. Lix-ai commented on Sep 29, 2020

    @Lix-ai
    Author

    Thanks :),
    You are correct 'soundfonts sf2' has sometimes to deal with MIDI.

    Probably need to convert those midi sound to PCM data / WAV data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions