Is it possible to convert an audio mp3 file to a string file, or read the mp3 file and write in a text file and vice versa?
If possible then how? Also, would the text file size be greater or equal to the original mp3 or audio file?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
An mp3 file like, all files is simply binary encoded data which can be interpreted differently depending on what you use to view that data.
If you’re asking if you can convert an audio file to a string then that is an incorrect question as binary data is only viewed as a string when given a character-encoding (you could open your mp3 file in notepad and ‘read’ it if you wanted).
However, if you’re asking how you can read from an mp3 file and write to another file then this is code for it.
Then to write to another file by calling the file reader method in the second file.