In Ubuntu, use osd-lyrics to display mp3 lyrics. software required: UbuntuTweak0.5.4.1 open tweak, find the software source center, select osd-lyricsPPA, and select osd-lyrics in the Software Center, after the app is installed, open it in the panel notification area in the audio and video area, right-click the preference associated player, and you will be able to display the lyrics normally.
Use osd-lyrics in Ubuntu to display
The MP3 code is as follows:
Classid = "CLSID: CFCDAA03-8BE4-11CF-B84B-0020AFBBCCFA"Width = "350"Height = "40">
You only need to replace file: // C:/Windows/1.mp3 with the one you want to play.
// Custom Buffer
Import java. Io .*;
Class mybufferedinputstream{Private byte [] Buf = new byte [1, 1024];
Private inputstream in;Private int Pos = 0, Count = 0;
Mybufferedinputstream (inputstream in ){This. In = in;}/*Read one byte at a time from the buffer byte array.*/Public int myread (){// Read hard disk data through the in object and store the data in BufIf (COUNT = 0 ){Count = in. Read (BUF );If (count Return-1;Pos = 0;Byte B = Buf [POS];Count --;Pos ++;Return B;} Else if (count> 0 ){B
Sina technology news on the morning of March 13, Beijing time, according to foreign media reports today, the British IT Website V3 last week selected the top 10 sunset technologies, of which desktop, CD and floppy disk ranked among the top three, even popular MP3 music players are listed on the list.
The top 10 products are listed below:
1. Desktop
For many people, the desktop is ending, but it still has many advantages, so it has not been extinct.
Three MP3 playback Methods1. Use the Windows Media Player ControlFirst, insert the Windows Media Player control and drag it to the dialog box. And name the control m_wmpplayer.Void cmusicdlg: onbutton1 (){// Todo: add your control notification handler code hereCstring filename;Cfiledialog DLG (true );If (DLG. domodal () = idok){Filename = DLG. getpathname ();M_wmpplayer.seturl (filename );}}
2. Use MCIInclude header file # include Hwnd m_audio;
M_
How to obtain id3 from an MP3 file using Python
This example describes how Python obtains id3 from an MP3 file. Share it with you for your reference. The details are as follows:
?
1 2 3 4 5 6 7 8 9 10 11
Def getID3 (filename ): Fp = open (filename, 'R ') Fp. seek (-128, 2) Fp. read (3) # TAG iniziale Title = fp. read (30) Artist = fp. read (30) Album = fp. read (30) Anno = fp. rea
usingSystem.Runtime.InteropServices;//put WAV Public Partial classFrmmain:form {System play music wav MP3 [DllImport ("Winmm.dll")] Public Static extern BOOLPlaySound (stringPszsound,intHmod,intFdwsound);//play Windows music, Reload PublicFrmmain () {InitializeComponent (); } //enter the system to play music Private voidM_systemplaywav (stringstrplayfile) { Try { if(Strplayfile.trim () = ="")
This article describes how to implement regular mp3 playback in python. The program is very simple and the function is very practical. it mainly uses python to implement the playback of an mp3 song every half an hour, if you have any need, refer. The program is very simple, mainly the application of the mp3play module
Import mp3play, time filename = "shocould It matter.pdf" clip = mp3play. load (filena
Target to synthesize the sounds in the MP3 into the MP4.Third-party libraries in use: Mp4parser,Muxing Audio/videoThe API and the process is Straight-forward:
You wrap the raw format file into a appropriate track object. h264trackimpl H 264Track = new h264trackimpl (new Span class= "Pl-smi" >filedatasourceimpl ( "Video.h264 aactrackimpl aactrack = new Aactrackimpl (new filedatasourceimpl ( aac
These track object is then adde
Introduction: FFmpeg is a set of open-source computer programs that can be used to record, transform, and convert digital audio and video into streams. More information please BaiduEnvironmental Centos6.7Compiler: GCCInstallation steps:1 steps: Install dependent environmentYum install-y yasm automake autoconf libtool gcc gcc-c++2 steps: Download the source package,Cd/usr/local/srcwget http://jaist.dl.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz # #下载lame源码包wget http://downloads.sour
First open Google, in the keyword input box, enter "Index of/" Inurl:lib (double cited as the English state), select the "Search Chinese Simplified page" option, enter search, get some pages, do not think this is someIn fact, they are a list of resources for some book sites, click to open it to see, how? Isn't itAll the resources? Using other keyword may get a lot of other resources: on the Search box, enter: "Index of/" CnkiThen press search you will be able to find a lot of library Cnki, VIP,
Many netizens are very interested in the MP3 player I posted before. So I am going to write a tutorial to introduce some functions in detail...Principle:In fact, the lrc file is just a text document in a fixed format.By[Time] LyricsOr[Time] [time...] LyricsSave in this formSplit the line with a linefeed, and then split the lyrics and time. Save the lyrics and time to the array.Code: check the code directly.The code is not optimized, and the code is me
// I have successfully runCode:
# Include "stdafx. H"# Include # Include
# Pragma comment (Lib, "ole32.lib ")# Pragma comment (Lib, "strmiids. lib ")
Void testmp3 (void );
Int winapi winmain (hinstance,Hinstance hprevinstance,Lptstr lpcmdline,Int ncmdshow){// Todo: Place code here.Testmp3 ();Return 0;}Void testmp3 (){Igraphbuilder * pgraph;/* Pointer to the filter graph */Imediacontrol * pmediacontrol;/* Pointer to the mediacontrol object *//* Initialize, Program Run it once at startup *
() will be executed (): when an activity loses its focus, it executes the task. As for what is the focus (the focus is available when you can click it, and the focus is lost when you cannot click it) onDestory (): when onResume () is executed during destruction to obtain the focus, as to what is the focus (the focus is available when you can click it, and the focus is lost when you cannot click it) onStop (): Stop, completely overwritten by other activities, exited, and so on. To familiarize yo
When I listened to songs online on Baidu MP3 in Ubuntu, it was garbled. I remember it was also a problem on 9.04. However, after upgrade to Ubuntu9.10, the problem was not solved by developers, in fact, solving this problem is very simple. You only need to change a small code. The specific method is as follows. 1. sudocp/etc/fonts/conf. d/49-sansserif.conf/etc/fonts/conf. d/49-sansserif.co
When I listened to songs online on Baidu
Android MedieCodec hard decoding mp3 and wma
1 mediecodec supports more than 4.1 of systems and is a class of Google SDK.
2. decoding mp3 and wma audio files
3. Before decoding, The MediaExactor needs to extract the file information, including the file type, sampling rate,
Package com. dawin. mediacodec; import java. io. IOException; import java. nio. byteBuffer; import android. media. mediaCodec; import
1. We have installed the latest version of "Codoy player", and then click "format conversion" in "my applications" on the Codoy music interface, as shown in the following figure.2. Click "add File" on the page and find the mp3 music file to be converted and compressed.3. "conversion format"-"MP3"-"music quality"-"advanced" to go
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.