I'd like to ask you about how to get music information from C++

Asked 2 years ago, Updated 2 years ago, 30 views

I am currently studying data structure at C++ and making music-related programs

Currently, the user directly inputs the title or album singer from the console window.

If you receive only the title of the music from the user in the console window, when the actual sound source file is present,

I want to get information from the music file so that it can be input automatically

Also, if there are multiple music files in a folder, if you enter a folder name, all music files in it are

I want to take information and store it in each data structure, but I don't know what to use

I'm asking if you need another library or if it's only possible with the functionality within C++

c++

2022-09-22 18:43

1 Answers

Something to worry about.

Where will you get the music information when searching for the title?

Does the music file mean the mp3 saved in my PC? So you're going to extract the ID3 value?

It's ID3 value. Now I use ID3v2, so I can take it out from the music file after looking at the specifications.

Is there a guarantee that the MP3 file name is the title?

What if the search is "love" and the title of the file being searched is the same?

If it is a GUI-type program, you can save the file by selecting it from the list after searching, but if it is a console, it is not easy.

Getting all the file names in that directory is easy.

https://msdn.microsoft.com/ko-kr/library/kda16keh.aspx

Please refer to the above document.


2022-09-22 18:43

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.