I was interested in such a question, several times I accidentally opened the audio file with the editor and did not see any distinct content with any encoding: (actually the question: what is written in it? And with what help can it be seen?

  • Shine! What did you want to see there? Bitmap music? And about to see - try at least audacity - alexlz

3 answers 3

Each audio file, like video, is a set of bytes. In order for the player to display a picture, or play a melody such files are structured. The file structure depends on the codec. To determine the codec and move through the frames at the beginning of the file is service information. This is usually a codec type (can be encoded several times), frame size, audio track set, video track set, size, length, and other attributes. Each format provides its own fields.

For more information, you'd better ask more specifically and read specific literature.

If you want to see what's in the file, write a simple program in C or C ++ that will open the file and read the data character-by-character (type char , ASCII encoding). Then display it on the screen.

    Format descriptions are freely available, for example: digital audio formats . If you open a file of any format in a text editor (like a notepad), then you will see just a set of random characters, since the sound file is essentially a binary file. If you open the file in a special sound editor, you will see the signal and its characteristics (frequency, mono-stereo, etc.).

    The bottom line is that you need to work with the format in accordance with the format specification.

      I'm honestly amazed

      I am interested in such a question

      Are you a robot?

      Opened the audio file with the editor and did not see any clear content with any encoding

      And you can write PHP code in video format, it is faster there is processed 24 pages per second. :)

      what is written in it? And with what help it can be seen

      Any audio editor, cubes let's say

      • Yes, I can see the troll, why do I need an audio file editor? I'm not going to write music. I’m interested in what’s written inside. they cannot be chaotic characters. In any case, there must be some kind of structure. - Skazlipop
      • I advise you not to express yourself. So audio files have different extensions and formats, and what are you writing here, just stupid, google which data format each audio format will become clearer to you. - Artem