Present Live audio data (an updating Floating point Array ) as a file

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mudassar87
    New Member
    • Sep 2010
    • 2

    #1

    Present Live audio data (an updating Floating point Array ) as a file

    Hi,

    I want to present live audio data samples ( which I am recieving as an updating float array in C) as an audio file so that I can open this live audio data in VLC. Is there any way ? Or any other way so that I can open this audio in VLC ?

    Regards,
  • donbock
    Recognized Expert Top Contributor
    • Mar 2008
    • 2427

    #2
    Floating-point formats can differ between processors and even between compilers for the same processor.

    If you have any concern that the floating point formats might differ between the program that writes the data and the program that reads the data then you should fully define the file format. You can then write encoding functions in the writing program and decoding functions in the reading program.

    Comment

    • mudassar87
      New Member
      • Sep 2010
      • 2

      #3
      Thanks for your reply,

      But my question is that how can I present such live data as a file. so that it can b opened in other players.

      /M

      Comment

      • donbock
        Recognized Expert Top Contributor
        • Mar 2008
        • 2427

        #4
        What type of audio file do you wish to create?

        Comment

        Working...