audio « API « Java I/O Q&A





1. JavaSound writing to audio file with a stream    stackoverflow.com

I'm attempting to create an audio filter using the JavaSound API to read and write the audio files. Currently my code is structured as follows:

  ByteArrayOutputStream b_out = new ...

2. Audio Streaming Using J2ME    stackoverflow.com

I've got audio online in the form of MP3 files, how do I stream the audio from my J2ME app? A website give the app a list of audio to play, ...

3. How to get video and audio streams from web cameras with Java?    stackoverflow.com

How can I get video and audio streams from web cameras with Java (in a cross-platform way)? For example, we have a computer with 3-4 USB web cameras; we want to get ...

4. How to create live stream audio for web-sites?    stackoverflow.com

We are storing sound from mic to pc via sound forge. We would like to broadcast the sound which comes from the mic to the pc as live streaming audio. Basically a person ...

5. Media player libraries in Java    stackoverflow.com

I am evaluating libraries for playing audio/video in Java. It does not need to be 100% Java; Java bindings to native libraries are perfectly OK. An external application that can be ...

6. Playing Live streamed audio through Java    stackoverflow.com

Are there any java libraries out there that can handle live streamed audio such as an internet radio stream that can then be played back using Java? I've looked into stuff like ...

7. Record streaming audio in java?    stackoverflow.com

I'm trying to set up a program to record a portion of an internet audio stream, and save it to a file (preferably mp3 or wav). I've looked everywhere and I ...

8. BufferedInputStream.read(byte[]) Causes problems. Anyone have this problem before?    stackoverflow.com

I've written a Java program that downloads audio files for me and I'm using BufferedInputStream. The read() function works fine but is really slow so I've tried using the overloaded version ...

9. intercept the audio stream that is playing on a pc Java    stackoverflow.com

Possible Duplicate:
internal audio recording program
Here is the scenario: You are listening a song or an audio file with windows media player or vlc or ...





10. Audio Mixing with Java (without Mixer API)    stackoverflow.com

I am attempting to mix several different audio streams and trying to get them to play at the same time instead of one-at-a-time. The code below plays them one-at-a-time and ...

11. cut audio data in the stream with java    stackoverflow.com

i know how to read bytes from file and save, but how can i read seconds from an audio file and save in a new file? is there any method for ...

12. Is there a way of recording audio of streaming broadcast from a webpage?    stackoverflow.com

I'm looking to create webpage for record streaming audio from source (like online radio). At first I thought of doing something like recording from speakers, but solutions like flash, java and ...

13. get signal amplitute of a music file aif    stackoverflow.com

i have a music file with aif extension. The file is: 32bit, stereo, 48kHz I need to open it and elaborate the signal. i've used this java instructions:

      ...

14. Playing game music in Java - How to stop the stream of data?    stackoverflow.com

I have this music class for a game I'm making in an Introduction Course in high school. You can see the source where I got the code from. I ...

15. strange problem with java sound streaming audio    stackoverflow.com

I am using a very basic java sound class to stream audio from Bing Translate for the pronounciation of Chinese characters. It's worked wonderfully for all of the 20 words I've ...

16. FLAC or OGG Online Media player    stackoverflow.com

Is there a way to make an audio/video player in Java that can play on a website? I searched around but I don't understand enough yet for this. We are going to setup ...





17. Streaming playlist in rm format to j2me Midelt    stackoverflow.com

I am developing internet radio that to be consumed by j2me midelt MIDP2 clcd1.1 , as per my knowledge j2me can consume only RM and AMR format over rtsp or http ...

18. Audio on J2ME, I don't know where is wrong?    stackoverflow.com

I want to do 2 task at same time:

  • Play an audio file.
  • Read raw data of it to do something
Here is my code:
String wavPath = "file:///" + currentPath + fileName;
FileConnection fc;
try {
 ...

19. how to stream sound in java without delay using SourceDataLine    stackoverflow.com

I want to generate sounds based on user's action in Java. Even if I set the buffer size in SourceDataLine to the smallest possible value (1 frame) I still have delay ...

20. How can I get duration of AudioInputStream?    stackoverflow.com

I want to get duraction of an AudioInputStream (in microseconds). How can I easily do that? I found how can I get duration of an audio file:, but can't ...

21. Efficiently streaming audio samples retrieved from a java object in Gecko (firefox extension)    stackoverflow.com

I am writing a firefox extension which needs to play a certain PCM stream. The samples are retrieved from a java module over LiveConnect: Java code:

public class Synthesizer 
{
    ...

22. j2me record and stream without gap?    stackoverflow.com

Is it possible to record voice and stream in J2ME,like I record and use commit() to get the byte array,but the commit() takes at least 250ms ,even the record length is ...

23. How would you go about streaming live audio?    stackoverflow.com

I am new to Red5 and i have gone through some examples such as the Simple Chat demo and some other chat demos i have looked at online. In that chat ...

24. AUDIO stream(CD ROM) reading    coderanch.com

hello peeps, please i would like to kow if here is any class that i can actualluy use to write a program that loads d contents of a CD/dvd-ROM drive just like how windows XP does it to popup a window for options of whether t open it run it or e.t.c. basically i want to do this for audio cds ...

25. Popping in streaming audio    coderanch.com

Not sure if this is the right place for this post, but it seems to be the best fit. I created an audio core for a game, and it works fine, except on occasion there is a very faint pop. It's not present in the sound clips (which are in Ogg Vorbis format), and I'm using the VorbisSPI to decode them. ...

26. Audio Streaming    coderanch.com

Hi all, I'm building a web for publicing my songs and I'm a Java programer (Junior). Any of you have any idea on how to implement an audio / Mp3 portal to Stream audio from my Tomcat Server ? Can I do it with Java ? I need to create an Applet ? What I want to do is something like ...

27. Audio streams    coderanch.com

Hi everyone... I don't think it's a difficult question but I am a newcomer in Java programming so I am not able to decide about this... What is the best way to get the audio stream from the PC microphone and then processing the acquired samples? Thanks to you all for the support!

30. Record audio streaming    forums.oracle.com

Good morning people. I'm needing to record the audio of an address for streaming audio and have no idea how. If anyone knows how to do this, or any class that helps I appreciate. An example of streaming audio address is: mms://www.omegasistemas.com.br/biancafm Thanks. Marcos Dias Vendramini Edited by: MarcosDV on Aug 23, 2010 12:42 PM

31. How to stream audio / video in java?    forums.oracle.com

Hello. I would live to develop a java application (JavaEE, with tomcat or JBoss) that could stream audio / video over the Internet, on a controlled matter. First, I would have to embed a flash player, correct? Need suggestions on one, paied or free. My questions are: How can I have the flash player stream audio to users by downloading it ...

32. streaming audio receiver    forums.oracle.com

Hi folks. I need to write a java application that receives streaming audio over the network. The audio source may vary, but will likely be an internet radio station. I assume there are many different protocols used to broadcast audio over the internet - is there one or two that are most common? What package would I use to receive the ...

33. Stream audio to browser    forums.oracle.com

I want to stream audio to the browser in a secure manner. By secure I mean that I don't want to just use a browser plugin that just points to an audio file sitting somewhere on the server, but rather use some application to stream the audio to a browser and have it play in one of several plugins (ie. WMP ...

34. Receive audio stream from remote client    forums.oracle.com

Hi All, If anybody have knowledge about JVoiceXml,Please answer my doubt. I can give speech input through microphone into the machine where I run JVoiceXml interpreter.So jvxml recognize my speech and act on it. Is there any possible for JVoiceXml interpreter to receive audio stream(speech input) from remote client(mobile phone)?. I have no idea about it.Please answer ASAP. Thanks/Regards, Sourab

35. playing input stream audio in j2me    forums.oracle.com

want to make a text-to-speech synthesizer for mobile phones. for that i am using FreeTTS (text-to-speech synthesizer written in java) so i have made a client-server model where i have a midp client which is sending text to the FreeTTS acting as a server.... for this i am using socket... so basically -- client is sending text to server -- server ...

36. Stream Audio over the Net    forums.oracle.com

I want to code client/server apps that would allow one to talk in their microphone and stream to other clients who are connect ed to the "audio server". The stream will need to happen over the internet (i.e. not a closed LAN). I'm not sure where I should start. I've coded in Java, but I haven't coded in sound or in ...

37. Streaming Audio    forums.oracle.com

I'm writing a program that plays streaming audio from a Shoutcast server. However all the APIs I've looked at need file names of the file to play, where streaming audio doesn't work like that. I've been playing with the MP3SPI 1.9.4 library for a while and I haven't been able to get anything to work. Please could someone push me in ...