javasound Questions

1

Solved

In my previous post, I had a little trouble trying to read a mp3 file. Now I am able to do that and I want to be able to render the data from the mp3 with java swing. And it would be nice to play t...
Antihistamine asked 21/10, 2012 at 6:47

3

Solved

First off this is for homework or... project. I'm having trouble understanding the idea behind how to draw the sound data waves on to a graph in Java for a project. I have to make this assignment ...
Slovenia asked 14/10, 2012 at 4:5

4

Solved

I realised this might be relatively niche, but maybe that's why this is good to ask anyway. I'm looking at a hardware multiple input recording console (such as the Alesis IO 26) to take in an Adat ...
Sporocyte asked 12/1, 2009 at 8:36

1

I successfully recording java sounds from my micro phone and can draw the recorded wave file graph as in attached image. (I have tried to upload image from here a lot, but it is failed every time....
Latonya asked 20/8, 2012 at 10:10

3

I am running Ubuntu 10.10 using Java 6 and can not get FreeTTS to output any audio. I have tried it now on 3 different computers and even asked a buddy of mine to try it on his Ubuntu PC and he had...
Pasahow asked 31/3, 2011 at 14:24

1

I was wondering if it's possible to capture playing audio on the audio output hardware with a simple Java program, and then write it to an outputstream for example. Is it?
Karmenkarna asked 23/6, 2012 at 9:42

1

I have a java application that is taking in sound from multiple sources, and one of the abilities of the user is to record what is happening in the application to an AVI file, and I would lik...
Acronym asked 22/6, 2012 at 13:37

1

Solved

i am using java 6 , and i am trying to load wav file, to get its duration as follows: public static double getAudioFileDuration(File file) { try { AudioInputStream stream = AudioSystem.getAudioI...
Burnoose asked 19/6, 2012 at 15:18

2

Solved

How can you convert a Wav file into a PNG waveform image file using Java? java MyProgram.class [path to wav file] [path where to write png file] Expected results: Png saved in path specified is...
Portly asked 13/6, 2012 at 14:38

2

Solved

I´m trying to make a java application that is able to play notes on the computer after detecting a midi device. Once I get the desired midi device I´m seting the receiver to which the device´s tr...
Caxton asked 29/1, 2012 at 23:46

2

Solved

I'm doing some work with binaural beats and am trying to build a Java application that can play two sounds at slightly different frequencies...around 25-30Hz difference. In a perfect world, I'd l...
Blocking asked 23/5, 2012 at 23:52

1

Solved

How can I erase the silence (lower then the threshold) part of a wav file using Java? Some say "pull samples out of the PCM data". How can I do that?
Stallfeed asked 8/5, 2012 at 8:25

1

Solved

I have a sound card with multiple outputs and use ALSA to map them to 2 separate stereo channels. The configuration works fine and allows me, for example with speaker-test to play audio on them. I...
Desiraedesire asked 21/2, 2012 at 17:13

0

I want to create a small soundbank programmatically with my own samples and play them through the standard Sun JDK Midi Synthesizer. A already read they are in Beatnik format, but I can't find the ...
Chak asked 23/2, 2012 at 22:9

2

Solved

I've got a collection of short WAV files that I would like to process in Java using various digital signal processing algorithms. I need to get an array of int valued samples for this purpose, enco...
Irritate asked 16/2, 2010 at 20:19

1

Solved

I need to Play a MP3 File in Java code under Linux environment (Ubuntu 11.04). I tried to download the MP3plugin.jar file from http://www.oracle.com/technetwork/java/javase/download-137625.html ,b...
Checker asked 5/12, 2011 at 21:38

2

Solved

1.Consider my code is on some line of a JPanel that I have, am I automatically on EDT? 2.Same question for all other classes which are not belong to GUI, JPanels or other view classes, simple log...
Applicative asked 22/10, 2011 at 23:16

2

Solved

Just wondering if there is a library in Java like the module PyAudiere in Python, that simply allows you to create tones and play them, like this sample Python code: device = audiere.open_device()...
Dato asked 16/10, 2011 at 6:17

3

Solved

The code import javax.sound.sampled.*; import java.io.*; public class Tester { static Thread th; public static void main(String[] args) { startNewThread(); while( th.isAlive() == true) { Sy...
Dialectics asked 29/7, 2011 at 8:55

1

Solved

I have used xuggler to play audio files other than wav,au,aiff. Since xuggler performs audio decoding at low level it is very hard to write a method that both forwards and rewinds the audio being p...
Roadway asked 3/8, 2011 at 9:41

2

Solved

I have tried writing program that plays a sound file but have been unsuccessful so far. I am unable to understand some parts of the code: InputStream is = new FileInputStream("sound file"); Audio...
Shalondashalt asked 28/7, 2011 at 17:49

2

Solved

I'm looking for information on how I can increase the playback speed of a sound file using Java and it's sound API. I'm currently using a clip and an AudioInputStream to play back the file, but I'...
Rattlebrain asked 22/4, 2011 at 21:14

4

I'm implementing a VOIP application that uses pure Java. There is an echo problem that occurs when users do not use headsets (mostly on laptops with built-in microphones). What currently happens ...

3

I am working on a project where I have to extract the human sound from a audio .wav file using java. The audio .wav file may have 3 to 4 sounds like dog, cat, music and human. I will have to iden...
Caniff asked 24/3, 2011 at 7:46

2

Solved

The diagrms in the JavaSound API Programmer's Guide appear to imply (pp. 19-20) that a Mixer can in principle have both DataLines and Ports. However, I was wondering if anyone had actually seen thi...
Maladroit asked 14/3, 2011 at 20:19

© 2022 - 2024 — McMap. All rights reserved.