I want to try to create a program to create / edit any music. Purely for educational purposes, I want to learn how to work with music files, change them, create ...
I know that there are formats with and without track compression. For example, the same .aiff, but do not open it just like a notepad. How to create your own .aiff? How to write in it a couple of seconds of sounds and get its structure, to change, study?
There is MIDI. Everything is easier with him, but there are less opportunities. The musical range limits the possibilities, but it can be converted to MusicXML and vice versa and thus created, edited.
Why so much fuss with the same .mp3? This is a popular format, there should be a lot of information on the Internet about how to change it, but I don’t find anything other than getting track tags using ID3 (in PHP).
How to convert any format into editable code (for example .XML) and back and what can you do with a track?
I have confusion in my head about this, I hope that there is a person here who will explain how it works.
P.S. I hope to work on JS, NodeJS, PHP, if it is possible, I don’t intend to create extremely powerful editors, I want to understand how it works, create a small (even ugly) track through PHP and that's it.