My main goal is to change the volume on one sound card based on the decibel level of the audio on another sound card (both on the same computer). Is it possible to detect the DB level?
PS: I am writing this in C#
...
I am trying to load a *.wav file to a byte array using C# 3.0 and .NET 3.5 like this:
var fs = File.Open(filedialog.FileName, FileMode.Open,FileAccess.Read);
long numBytes = new FileInfo(filedialog.FileName).Length;
BinaryReader br = new BinaryReader(fs);
byte[] bytes = br.ReadBytes((int)numBytes);
From byte[58] and to the end...
Hi there,
I built an application that plays both uploaded original mp3 files, and copies that have been converted with FFMPEG. I am finding that in some cases the FFMPEG files have a horrible popping/clicking/screeching sound for a split second at startup (hear below). But when I analyze the file in an audio editor there is nothing ther...
Hey all,
I want to play music in my Objective-C program. How would I do that? I'm a noob, so please go easy. It's my 2nd program in Objective-C.
Thanks,
Kevin
...
I would like to create a sound visualisation system using C# language and .NET Framework.
This could look like in Winamp application.
Maybe exist free library or some interesting articles which describe how to do it?
Example:
...
I have created a voice recorder applet. The output sound file will be .wav format. I want to use a compressed file format like .ogg. I have the .ogg decoder applet and it plays the audio file through streaming. But I need an .ogg encoder to record the voice in .ogg format.
Any samples or studies are much appreciated!
...
i want to have an MP3 constantly playing and looping in an HTML page after a page has been loaded. I also want to control this sound with HTML interface for PLAY\STOP and if i can tune up down the volume as well then it would be great but that's an optional. Is there a way to first load the sound file first and play it in a loop or ever...
hi!
so i'm doing a little bit of research/thinking about a project i might do and have run into some questions you guys might be able to help me answer.
is it possible in an iphone app (objective-c) to apply effects to a mic-input live. i've seen quite a few applications in appstore allowing you to record a snippet and then apply variou...
Hi,
I'm trying to process my byte array which I got from the sampled sourcedataline (Java Sound API). If I'm multiplying the byte array with a fraction number, I will get noise while playing the stream.
Before I'm playing the sound I separate the stereo wav file into his left and right channel. This works fine. But if I want to proce...
Hi
Is it possible to record the end user by mic?
And what kid of actions can I do with the recording?
Can I get for example the volume of the sound (decibels) in real time?
Can I save the record on a file?
Thanks.
...
Hi,
I'm looking for a C# source code that performs a frequency analysis on a WAV file and displays the results in a graph, similar to the one displayed in apps like WavePad.
Do you know where I can find such a code?
Thanks!
...
Hello,
I'm making a game. Now if my player goes to another level the music is still playing. Now I want to let the music fade out to let start the new music of the next level.
I use mp3 to play. With the packages: jl1.0, mp3spi1.9.4, tritonus_share-0.3.6.
Oh yeah. Volume is not supported in the FloatControll class.
Sorry for my bad En...
There are a lot of reasons for sound not work (no speakers, speakers turned off, volume set to zero, software configuration problems, etc)
How can I discover from within my program if sound is working and being heard?
...
I am on creating voice report. The user has to submit his voice report and it should simultaneously encode the audio data using Vorbis encoder. Its working fine but
encoding will start after the recording is over.
But I should have to employ the Vorbis encoder on the fly. Please share any sample code it would be much helpful.
...
import java.applet.*;
/**
* SoundApplet.java - a simple applet that plays the "gong.au" sound file.
*/
public class AppletGame extends Applet
{
public void init()
{
super.init();
resize(0,0);
AudioClip gong = getAudioClip(getDocumentBase(), "test0.au");
gong.play();
}
}
In Eclipse applet viewer it loads and d...
Hi All,
Is it possible with coreaudio to play a sound out of the left or right channel. For example I want to play one out of the left channel and one out of the right.
At the moment I'm successfully using the following code to play a sound out of both channels:
NSSound *mySound = [[NSSound alloc] initWithContentsOfFile:@"/media/bell....
Hi all.
I've been doing a captcha script lately and was rather successful with it. However I want to create another script that creates a sound which can be used with the captcha.
E.g. the captcha script generates A2B1FD - and the sound script must be able to read out A, 2, B, 1, F, D. How do I go about doing this?
I know it's somethi...
I am trying to analyze the microphone input through Java so you can graphically display where the sound is coming from around the computer. I have audio capture code working well (from: http://www.developer.com/java/other/article.php/1565671#Complete%20Program%20Listings) and have tried to implement:
(FloatControl) targetDataLine.getCon...
Hi,
I need help in setting up a new DataLine. I have load a sound file and set up a line. After loading the data into the line I separate the data into the left and right channel. Now I wanna set up a line for the left and right channel for controlling the gain for each channel.
How can I do this?
...
Hi,
our software should play sounds (not just small noises, but voice etc.). I wonder what about the volume control. The Windows Vista style guide lines says to define an application specific volume control in the windows mixer.
But what about Windows XP and below? I don't think there is a way to get our control into the Windows mixer....