 |
|
 |
ref PictureBox pictureBox ??
|
|
|
|
 |
|
 |
Hi Jeff!
1.)
In AudioFrame.cs u got 2 arrays per channel:
private double[] _waveLeft;
private double[] _waveRight;
private double[] _fftLeft;
private double[] _fftRight;
What are the double-values u are extracting out of the stream represent?
I monitored the vals from _waveLeft and if its quiet in the room, its between -250 and 250.
If I clap my hands it raises up to 2000 or down to -2000.
I search for the loudest sound in lets say 10 seconds.
Are these vals the loudness of a signal?
what is the difference to the Fouriertransformed Vals in _fftLeft/_fftRight?
2.)
True or False?
The samplingrate of 44100 means that the electric signal from the microphone
is caught 44100 times per second. Or in another way : 44100 int-values in array represent a second
of sound.
If I set the samplingrate to 1000, every millisecond a currencyvalue is writen into an arrayelement.
thxALot in advance
Dirk
PS: Just found you SoundActivated... this answers the question about the loudness!
But still asking for the samplerate.
modified on Wednesday, August 31, 2011 6:35 AM
|
|
|
|
 |
|
 |
Please , Let me know how to save wav or mp3 file after recording.
|
|
|
|
 |
|
|
 |
|
 |
i want to create same application in WPF then what i have to do..can any one tell me..i used image control for picture box..but its giving me error like .....
Connvert from 'ref System.Windows.Controls.Image' to 'ref System.Drawing.Image'
please any one can give me some input..
|
|
|
|
 |
|
 |
Hi. Great prog.
I'm having trouble with the frequency domain display. At first it didn't display anything, then I changed the pen color to red instead of it being amplitude-dependent and it was then sort of realistic-looking, but it hardly changes, and certinly doesn't change with the frequency. I'm using my voice into a microphone - not very musical, but definitely high & low are different!, and I've also tried it with a PC signal generator from the speakers into the mike.
The time domain looks good.
I've tried using the FourierTransform.cs from SoundCatcher instead (and of course used FFT, not FFTDb), but it's still the same.
Any idea?
Thanks,
|
|
|
|
 |
|
 |
Look at this. It will solve the problem.
http://www.codeproject.com/Messages/3241610/Error-in-Program.aspx
|
|
|
|
 |
|
 |
Thx for you to provide this project. Now i want use it to get the frequency in real-time,but i don't know how to do it?Please tell me.Thx again.
|
|
|
|
 |
|
 |
Just:
- take the FFT array;
- find the maximum value and the index of this value in array (do not process '0'-index, such as it is ZeroFrequency coefficient);
The gotten value gives you idea about how to get the real frequency.
|
|
|
|
 |
|
 |
Pretty good basis for building a vu Led Meter. Thanx!
|
|
|
|
 |
|
 |
Hi Jeff,
I tried to turn everything in VB
and seems to be ok ... but when running I get an error here:
Friend Class WaveInHelper
Public Shared Sub [Try] (ByVal err As Integer)
If Err <> Then WaveNative.MMSYSERR_NOERROR
Throw New Exception (err.ToString ())
End If
End Sub
End Class
err is passed = 11... Why?
Any suggestions?
Thanks in advance
bye
my mail
andrea_pc07@alice.it
|
|
|
|
 |
|
 |
I need a real time sound analysis. I tried implementing my own solution for this problem but i keep getting a latency from 30 to 250 millisecond. I am trying to implement it on windows mobile 7. get all the peaks in a second (i implemented a FFT agorithm for this).I am new o sound analysis my first project on this stuff sow any help will be greatly appreciated.
|
|
|
|
 |
|
 |
Hi great code
Actually I don't understand all the code .
I try to simply detect a peak on single channel every second .
You code is too harder for me . Is there as simple way to make an interrupt each time the code detect a peak ?
I hope you can help me
Thanks
|
|
|
|
 |
|
 |
how can I determine the sound level while the sound is recording in order to use the sound degree value in another applications ?
thanx alot
|
|
|
|
 |
|
 |
Hi,
Nice work!
How would you open an existing wav file and display the graph using Peak values?
I want to open a wav file and draw its graph with zoom capability for an audio editor?
Bill
http://www.KabbalahCode.com
|
|
|
|
 |
|
 |
after greeting
iwant to catch on .dll or source code
to generate sound map from image
for using it in project for blind person
my email:seka208@yahoo.com
thanks for you
|
|
|
|
 |
|
 |
System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei SoundViewer.WaveNative.waveInOpen(IntPtr& phwi, Int32 uDeviceID, WaveFormat lpFormat, WaveDelegate dwCallback, Int32 dwInstance, Int32 dwFlags)
bei SoundViewer.WaveInRecorder..ctor(Int32 device, WaveFormat format, Int32 bufferSize, Int32 bufferCount, BufferDoneEventHandler doneProc)
bei SoundViewer.Form1.Start()
|
|
|
|
 |
|
 |
64-Bit should be the first clue. :P
Didn't work on my Windows Server 2008, 64-Bit either. Then I thought that winmm.dll must be a 32-Bit dll. As a result, any application using 32-bit DLL files needs to change it's configuration, or exceptions will occur...
Visual Studio 2008
Click the "Build" -> "Configuration Manager..." menu option. Click the "Active solution platform" drop-down menu and select "New...". A dialog will open, change the type to "x86", click "OK", and rebuild.
|
|
|
|
 |
|
 |
Is this available in VB.NET?
|
|
|
|
 |
|
 |
Hi Jeff..This works great when I use microphone but how can i input the sound from a media file being played by a media player instead of a microphone.I would like to see the visualization of a song being played. Please let me know.
Thanks
|
|
|
|
 |
|
 |
Yeah I also need information about that!
|
|
|
|
 |
|
 |
I need this modification please..
I need to compare two sounds (wav or mp3 songs)
Anyone know how to do that??
|
|
|
|
 |
|
 |
Hi Jeff,
For displaying the waveform for an audio stream arriving from the Microphone, what you are doing is calling the "waveInOpen()" method for the Microphone device. This ope the microphone device.
Is there some way you can open the "Speakers" and then instead of re-directing the audio-stream coming from Microphone (as you have in this sample code) to the sine-wave display, you re-direct the audio stream going towards Speakers to the sine-wave display.
This way, you can show the wave-form for a file being played in the media player.
Thanks,
Anky
|
|
|
|
 |
|
 |
I found that you can "record the speakers" by opening the Volume Control, go to the Options menu, select Properties. If you click on the Recording radio button, the available devices have usually unchecked the option Rec. Playback.
Check that box and ypur soud recorder will catch whatever you are playing.
|
|
|
|
 |
|
 |
this an Awesome program you have.. "Kudos"
but I really want to understand how you code work!
I am reading your code line by line to understand put it taking too long and I get confused midway
I am searching for any documentation you have .. what you posted is not enough.
can you help me out ... I appreciate your help
|
|
|
|
 |