javasound Questions

2

Solved

I have designed my own synthesizer in java and I now want to connect it with a midi keyboard. My class below searches through all the midi devices that have transmitters. It successfully finds my m...
Pico asked 4/8, 2011 at 7:35

3

Solved

When i capture with JavaSound or Third party sound capture tools and record it to a file. Afterwards read the file back to modify it, is there any way to remove the "background noise" with my java ...
Hallucinatory asked 2/8, 2011 at 18:29

6

Solved

Java Sound offers FloatControl instances for various sound line functionality, and both a MASTER_GAIN & VOLUME control type. Can these controls be used to change the system volume?
Radiotransparent asked 13/1, 2013 at 7:47

2

Solved

I have recently implemented a MIDI Beatbox from the code in Head First Java and would really like to do more with Java's MIDI capabilities. I thought that I might start by adding more, non-percussi...
Rainmaker asked 18/10, 2011 at 15:14

1

I'm using the Java sound API and Java 1.7. I am having difficulty reading from a TargetDataLine quickly enough to keep up with what is being recorded when I run my application on Linux (java versio...
Boomkin asked 24/3, 2014 at 19:24

1

I'm writing an application that records the screen and audio. While the screen recording works perfectly, I'm having difficulty in getting the raw audio using the JDK libraries. Here's the code: t...
Hutton asked 5/2, 2014 at 5:58

1

Solved

I am trying to write a little program that reads a wav file and sends the output as if it would come from my microphone. Unfortunately I do not have much experience with the sound API. Background:...
Hipparch asked 17/1, 2014 at 18:23

2

Solved

We'll, I've been beating my head against a wall trying to get Java to play some simple wav files without any luck. I've tried this code: Clip clip = AudioSystem.getClip(); AudioInputStream inputSt...
Daile asked 6/1, 2014 at 21:44

3

Solved

I have the following code snippet: File file = new File(sourceFile); AudioInputStream in = AudioSystem.getAudioInputStream(file); AudioInputStream din = null; AudioFormat baseFormat = in.getFormat...
Leatheroid asked 13/3, 2013 at 13:57

3

Solved

Can anyone point me in the right direction as to why this code will not play this audio clip continuously? It plays it once and stops. final Clip clip = AudioSystem.getClip(); final AudioInputStre...
Quinnquinol asked 23/1, 2012 at 23:3

2

Solved

I visited a web site screencast-o-matic. They have a web-application of java applet which capture screen to export as video. I want to develop similar application. What are the knowledge and ...
Davidadavidde asked 4/6, 2011 at 10:12

1

I'm having trouble using Java's Clip class in a game I've been developing. Specifically, I think the problem is in using the same clip multiple times simultaneously. I did some googling and some pe...
Tenterhook asked 3/10, 2013 at 20:3

2

Solved

I am having trouble in converting the audio format of a WAV file. I am recording sound from my microphone and the sound is recorded in the following format: PCM_SIGNED 44100.0 Hz, 16 bit, mono, 2 ...
Gamboa asked 9/5, 2012 at 11:30

3

Solved

How do I increase the volume of an outgoing wav audio stream using Java? I'm having issues with various Java TTS engines and the output volume of the synthesized speech. Is there an API call or a d...
Reproof asked 4/6, 2009 at 23:20

2

Solved

How can I detect silence when recording operation is started in Java? What is PCM data? How can I calculate PCM data in Java? I found the solution : package bemukan.voiceRecognition.speechToText;...
Intransigeance asked 27/4, 2011 at 7:11

3

Solved

I have written a simple class to play audio files in a simple game. It works fine for small sounds like a gunshot or explosion, but when I tried to use it for background music I got this error: 'Fa...
Carrissa asked 27/2, 2012 at 18:24

2

The tutorial http://download.oracle.com/javase/tutorial/sound/capturing.html does not cover how to select microphone. I am enumerating mixers with the following code System.out.println("Searchin...
Smocking asked 7/6, 2011 at 5:52

3

I'm trying to record/process some audio from three usb microphones with Java Sound on Snow Leopard (but can switch to Windows if it fixes things). Problem is, when I try to use the mixer that corre...
Gyrocompass asked 21/11, 2010 at 19:6

3

I have a SoundManager class for easy sound management. Essentially: public class SoundManager { public static class Sound { private Clip clip; // for internal use public void stop() {...} pub...

1

Solved

I can read and play sounds using the "Playing a Clip" solution from the javasound tag wiki page. However, for sounds that are played frequently (e.g., a quick laser gun sound, a footstep,...
Couscous asked 31/3, 2013 at 2:56

2

I've been trying to get midi volume control to work in a MidiPlayer class for a very long time now. I've searched for examples for accomplishing this here on stackoverflow and all over the Internet...
Rondel asked 9/6, 2012 at 23:39

1

Currently I am trying to record a sound wave from a mic and display amplitude values in realtime in Java. I came across Targetdataline but I am having a bit of trouble understanding I get data from...
Silsbye asked 26/1, 2013 at 23:8

1

I am reading a wav file through AudioInputStream into a byte array, AudioInputStream audiofile = AudioSystem.getAudioInputStream(f); byte[] audio=new byte[numberofframes*framesize]; int bytes=a...
Hirokohiroshi asked 2/1, 2013 at 4:41

1

Is there a good recipe to get decent, reliable digital sampled sound playback in Java? My list of requests is pretty short: Load digitized samples in memory (for example, from resouces bundled i...
Sadomasochism asked 23/12, 2012 at 1:5

1

I'm wondering how I may obtain musical information such as amplitude from a audio file? Suppose we have a raw audio file, what I want to extract data from the file which allows me to generate a cu...
Teutonism asked 23/10, 2012 at 6:30

© 2022 - 2024 — McMap. All rights reserved.