Instead of Golang a built-in library for WAV-MP3, this article transforms it by Golang calling the lame command of Linux.In a Linux environment, lame is not installed by default, so you first need to install lame (personal save download file: Http://pan.baidu.com/s/1qWp71G4#path=%252Fsharesoft%252Flinux%252Flame).Linux lame
Use a third -party lame ,Mp3 Audio encoder.Before using Avaudiorecorder for audio recording, set the parameters:NSString *recordtemporarypathstring = [NSString stringwithformat:@ "%@/temporary", Self.audiotemporarysavepath];LINEARPCM is a lossless encoding format for iOS, but it's bulkyRecording settingsNsmutabledictionary *recordsettings = [[Nsmutabledictionary alloc] init];Recording format not available[Recordsettings setValue: [NSNumber NUMBERWITH
(); } }); }View Code And then the iOS part, here first give a WAV to mp3 the library address, Https://github.com/rpplusplus/iOSMp3Recorder, in fact, is Avaudiorecorder + lame!Recording section: For Avaudiorecorder usage and some setup information:1NSString *dir = [Nshomedirectory () stringByAppendingPathComponent:@"Documents"];2Audiofilepath = [NSString stringWithFormat:@
Android MP3 recording implementationAndroid recording supports amr and aac formats, but these two audio formats do not work well across platforms. MP3 is obviously the best cross-platform choice. Recently, due to project requirements, this requirement has been met. The code is hosted on Github. For details about how to use GavinCT/AndroidMP3Recorder, see README. md recommendation to directly download libs.zip and integrate it into your own project. [Tips: download this zip file only. You can use
Audio Technology Study Notes* MP3 stands for MPEG audio layer-3. * CD stands for compact discs. * The unzipped digital audio signal is very large, and the dual-channel CD quality signal in one second requires a storage space of 1 to 4 MB. * Perceptual coding techniques * MP3 encoding technology is developed by Fraunhofer IIS in Germany and Thomson in France. Fraunhofer IIS: http://www.iis.fraunhofer.de Thomson: * lame is a fully functional MP3 encoder
needs of everyone. Although I still work on the road of innovation, I am glad to see Sugar finally found his foundation.
Audacity
While failing to achieve the same level of commercial success as the other members of the list, I decided to join audacity-a little selfish, and I personally liked it and got quite handy. To this day, I have not heard of any business enterprise intended to provide support
0. Download lame and Unziphttp://lame.sourceforge.net/download.phpHttp://sourceforge.net/projects/lame/files/lame/3.99/lame-3.99.5.tar.gz1. Create the JNI/LIBMP3LAME/SRC directory, and the uncompressed lame-3.99.5/libmp3lame/directory will beBITSTREAM.C fft.h l3s
'] = ' passw0rd '; Service mysqld Startmysqladmin-u root Password "Passw0rd" Vi/etc/httpd/conf/httpd.confJoin ServerName ASTERISK18RC2ModifyUser AsteriskGroup Asterisk chmod 777/var/lib/php/session/chmod 777-r/var/lib/php/session/* Service mysqld Restart/ETC/INIT.D/HTTPD restartVisit http://asterisk18/phpmyadmin/ Wrong line:ForbiddenYou don ' t have permission to access/phpmyadmin/on this server.Reason 1: Do not close SE Linux, or turn off SE linux configuration but no reboot LinuxThe
The Libmp3lame library is already in the Debian Base Library and installed Apt-get install Libmp3lame-dev to
CentOS generally requires source installation, Yum installation cannot find a usable code warehouse
The following is the installation command
$ sudo yum install gcc git $ wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz$ T
If you want to know the relationship between the MP3 frequency, bit rate, bit rate, and sound quality, the higher the frequency, the higher the bit rate, the better the sound quality. It seems that most of the MP3 frequencies are 44100hz. The bit rate is 128,192.
The frequency mentioned here is the sampling rate, which is usually 44100khz, because it is the standard of music CD.Every song is captured from Cd, converted into wav files, and then converted into MP3 using
IOS crazy explanation-converting recording audio into Mp3
Use a third partyLame,Mp3Audio Encoder.
Before using AVAudioRecorder for audio recording, set the parameters:
NSString * recordTemporaryPathString = [NSString stringWithFormat: % @/temporary, self. audioTemporarySavePath];// LinearPCM is a lossless encoding format for iOS, but it is bulky.// Recording settingsNSMutableDictionary * recordsettionary = [[NSMutableDictionary alloc] init];// The recording format cannot be used.[RecordSettings
Article Title: Create MP3 in Linux. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Many friends who like music will try to use CD to make MP3 files on their computers. Of course, Linux users can also make MP3 files by themselves, which is not a patent for Windows/Mac. This time I will introduce two Linux programs for MP3 production.
What I like most is Gr
Copyright Notice:Welcome reprint, but please keep the original source of the articleGavinctSource: http://www.cnblogs.com/ct2011/p/4080193.htmlThe formats supported by Android recordings are AMR, AAC, but these two audio formats do not perform well across platforms.MP3 is clearly the best cross-platform choice.Recently due to project needs, the implementation of this demand, code hosting on GitHub, Welcome to shoot BricksProject AddressGavinct/androidmp3recorderHow to use: readme.mdOverview of I
Zlib1g-dev
Get the Dependencies (Ubuntu Server or headless users):
sudo apt-get update
sudo apt-get install-y build-essential git-core checkinstall texi2html libfaac-dev \
Libopen Core-amrnb-dev libopencore-amrwb-dev Libtheora-dev Libvorbis-dev pkg-config Zlib1g-dev
installation
yasm
Yasm is a assembler and is recommended for x264 and FFmpeg.
CD
wget http://www.tortall.net/projects/yasm/releases/yasm-1.2.0.tar.gz
tar xzvf yasm-1.2.0.tar.gz
CD yasm-1.2.0
./configure
make
sudo checkinst
In order to compress a software painstakingly, eventually still did not find a don't money GUI tools, depressed, another idea, why not use Linux command line tool to compress ah, so found this tool on the Internet lameFirst of all, of course, using homebrew to install lameDangchengchengdemacbook-pro:js dangchengcheng$ Brew Install lame==> Downloading https://homebrew.bintray.com/bottles/lame-3.99.5.yosemit
-1.2.0#./Configure# Make# Make install# Cd ..++ X264 ++# Git clone git: // git.videolan.org/x264# Cd x264#./Configure -- enable-shared# Make# Make install# Cd ..
++ LAME ++# Wget http://downloads.sourceforge.net/project/lame/lame/3.99/lame-3.99.5.tar.gz# Tar xzvf lame-3.99.5
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.