开发者

Record Audio As Mp3

开发者 https://www.devze.com 2023-03-25 05:35 出处:网络
I want to reco开发者_StackOverflowrd audio and save to my server as mp3 files, i googled and find like this

I want to reco开发者_StackOverflowrd audio and save to my server as mp3 files, i googled and find like this

But it is not free and open source

How can i record audio as mp3 in java and php ?


In terms of Java, you could record with standard Java sound and then use something like lameonj to do the mp3 encoding - all free tools!


This question is the same as yours and the person was able to come up with a solution (which he posted as an answer).

A little additional information. It is possible to record sound in an applet. See this page for information on Java Sound and applets. You'll need to sign your applet, which isn't hard to do. The answer to question 5 doesn't mention this but you can create your own (untrusted) certificate with which to do the signing. This question here on SO has some information on self-signing code.


I solved my problem, I used lame library to encode mp3, If you want to pure code to encode mp3, you can use this

Its using java based lame library

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号