Android Question Artest for mp3 files

Discussion in 'Android Questions' started by Enthousiastic, Jan 27, 2015.

  1. Enthousiastic

    Enthousiastic Active Member Licensed User

    Hello , in artest example from the forum if i want the audio to be in mp3 format , beyond the lines 79,80,84 176 , that i shall change to "test.mp3" , how shall i change the WriteWavHeader sub ( called from here WriteMp3Header ) and UpdateHeader ?


    PS : I want to record some seminars that last 1-2 hours with the above program .Will be proper and the quality of sound will be good ?

    Many thanks Enthousiastic
     

    Attached Files:

  2. stevel05

    stevel05 Expert Licensed User

    It's not as simple as that, MP3 is a compressed file format, there is not currently a library to compress to MP3 on the fly. You will have to save as a Wav file then use Warwounds Liblame encoder to convert the file see here: http://www.b4x.com/android/forum/threads/22969
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice