The following is a Python-based instance program to learn about Python. The purpose of this program is to analyze the tag information of all MP3 files and output them.
Import OS # Imports OS module, provides file path, lists files and other methods
Import SYS # imports the SYS module, using Sys.modules to get all the content in the module, similar to the reflection function
From userdict Import UserDict # This represents importing UserDict from the Us
Recently bored, want to listen to the song. Poor new computer songs on the two or three, to listen to the other will have to play on the old computer. However, the antique but sturdy book by the wife mercilessly occupied. Helpless.Reasoning, get it, write a program to play it. Do a C/s player.The ideal is beautiful, the reality is cruel. After tedious searching and testing, Nadio (Oct naudio 1.6), the open-source third-party plugin, was found.Write a conclusion and write the process first.Conclu
The Python instance obtains the tag information of an mp3 file and uses a python instance program to learn python. The purpose of this program is to analyze the Tag information of all MP3 files and output them.
Import OS # import OS module, provide file paths, list files, and other methods import sys # import sys module, use sys. modules gets all the content in the module, similar to the reflection functio
/zhao/madplay/mad/include/ldflags=-l/home/zhao/madplay/mad/lib
(2) Compiling:sudo make
(3) Installation:sudo make install
7. Compile Madplay:Enter Path/madplay/madplay-0.15.2b1) Run the following command
./configure CC=ARM-LINUX-GCC Ar=arm-linux-ar ranlib=arm-linux-ranlib--host=arm-linux--prefix=/home/zhao/madplay/ Mad--disable-shared--enable-static--disable-nls cppflags=-i/home/zhao/madplay/mad/include/ldflags=-l/home/zhao/ Madplay/mad/lib
(2) Compiling:sudo make
(3) Installation:sudo make in
The first is the installation: Https://pypi.python.org/pypi/mutagenInstallation:TAR-ZXVF mutagen-1.29.tar.gzCD mutagen-1.29./setup.py Build./setup.py InstallUse:From Mutagen.mp3 import MP3, EasyMP3From MUTAGEN.ID3 import EasyID3From MUTAGEN.ID3 import COMM#EasyMP3继承自MP3, it directly assigns ID3 to EasyID3, using EasyMP3 can be more convenient to obtain such as album name, singer name, song name and other ta
Missviola, zero Customer Network Security
MP3 Joiner is an easy-to-use tool for connecting multiple MP3 files into a large MP3 file:
1. The connection speed is fast without recompression;
2. Supports drag-and-drop connections to files;
3. The connected MP3 file must be the same compression parameter.
First, check the P
First, you need to know that all the file information of the MP3 file is placed in the last 128 bytes of the file. The information stored in these 128 bytes is as follows:
Char header [3];/* the label header must be "tag"; otherwise, no label is considered */Char title [30];/* Title */Char artist [30];/* Author */Char album [30];/* Special set */Char year [4];/* production date */Char comment [28];/* remarks */Char reserve;/* retain */Char track;/* au
As3 loading MP3 ID3 garbled solution most MP3 ID3 uses GBK/gb2312 character encoding. In As2, usedcodepage can be used to solve the problem, but in as3, even if usedcodepage is used, sound still uses utf8 encoding to read ID3 information when loading MP3 files, this makes the ID3 read by a large number of MP3 players g
First, you must add shell32: The program needs to reference shell32.dll. My specific steps are as follows: Right-click "Reference" and choose "add reference". In the displayed dialog box, select the "com" tab, find the Microsoft shell controls andautomation 1.0 component"
Using system. io; using shell32; openfiledialog ofd = new openfiledialog (); // a new method ofd. filter = "MP3 files(folder) | *. MP3 |
/*************************************** **************************************** ************** Author: conowen @ Dazhong* E-mail: conowen@hotmail.com* Http://blog.csdn.net/conowen* Note: This article is original and only used for learning and communication. For more information, indicate the author and its source.
**************************************** **************************************** ************/
1. Introduction to Android audiotrack
In Android, mediaplayer and audiotrack can be
Modify function djinfo ($ dir) for obtaining mp3 file information using php)
{
If (! File_exists ($ dir) return '';
If (substr (php_uname ('s '),) = "Windows") {// not supported by LINUX
$ Player = new COM ("WMPlayer. OCX ");
$ Media = $ player-> newMedia ($ dir );
$ Time = $ media-> duration; // Obtain the duration
@ $ S_bitrate = $ media-> getItemInfo (Bitrate); // get the bit rate
@ $ Size = $ media-> getItemInfo (FileSize); // size
$ Time = sprint
A new MP3 file has no random playback function! As a programmer, do it yourself ~
Obtain the current path:
char buf[1000];GetCurrentDirectory(1000,buf); string cur_folder_file = string(buf)+"\\*.mp3";Obtain the list of mp3 files in the current path:
void getMp3Names(string filepath,vectorRandom rename mp3file (Name: num.mp3, for example, 5.
Tool encapsulation for PCM conversion MP3 and pcmmp3
Tool encapsulation for PCM conversion MP3
Description
1. Simple encapsulation of PCM to MP3.
2. Use the https://github.com/wuqiong/mp3lame-for-iOS to generate a 64-bit lame library.
Source code
Https://github.com/YouXianMing/iOS-General-Tools in PCM-to-MP3
//// Pc
Let's briefly talk about the ID3 mark of MP3, because it is mainly used to perform this operation.
At the very beginning, MP3 didn't have the information we saw today, such as singers, ages, and albums.Only some simple parameters such as yes/no are used to indicate whether it is privated or copyrighted, which makes it inconvenient for MP3-related work, in 1996,
Issue 9th: Wav,mp3 Soft-solution player with similar listening spectrumSupporting examples:V6-916_stemwin improve the experimental _wav,mp3 soft-solution player, with similar listening spectrum (UCOS-III)V6-917_stemwin improve the experimental _wav,mp3 soft-solution player, with similar listening spectrum (FreeRTOS)Routines:http://forum.armfly.com/forum.php?mod=v
Using the Window Media Player control, I made a small mp3 Player to listen to music. Is it really enjoyable? I just wrote it today. It sounds good to listen to mp3. If you have less time to talk about it, go to the topic.Mp3 players provide the following functions:1. Add a song. You can add a single music or all mp3 music in the specified folder including its sub
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.