• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java Media Audio (Record sound Example)

 
Ackshat Sharma
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can anyone here tell me the example of how to record sound from a microphone or other device using java? I searched on Google but there is no example as such provided . please help
 
dennis deems
Ranch Hand
Posts: 808
 
Ackshat Sharma
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
@Dennis , It will be easy to understand a pre-written example code , I already checked all documents on oracle and other forums even here on javaranch (copy paste that code shows a no. of errors(cannot resolve) on an IDE like Myeclipse and netbeans), so please if your have done this earlier paste your example code... Thanks a lot
 
Campbell Ritchie
Sheriff
Pie
Posts: 49813
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And welcome to the Ranch
 
Ackshat Sharma
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
getting a desired reply will be a warm welcome.
 
Tina Smith
Ranch Hand
Posts: 208
9
Eclipse IDE Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The Java Sound Demo has example code to play and record sound clips. And no, it's not the easiest library to work with. But at least it's more flexible than the Clip class (for playing sound).

http://www.oracle.com/technetwork/java/index-139508.html
 
Campbell Ritchie
Sheriff
Pie
Posts: 49813
69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ackshat Sharma wrote:. . . It will be easy to understand a pre-written example code . . .
Disagree. It usually takes a lot of effort to understand pre-written code. And we don’t supply ready-made code.
 
Ackshat Sharma
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mr. Campbell, fully agree with you but I said "pre-written code example" an example is meant to be understand which is short and simple showing simplest implementation, and ofcourse Mr. Campbell it is difficult to understand a pre-written code which is not an example .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic