New Post: Ima Adpcm Error during Compression
yes, but where are you writing data to the writer? And where are you closing it?
View ArticleNew Post: Ima Adpcm Error during Compression
In this method i am writing to the writer, Private Sub waveIn_DataAvailable(ByVal sender As Object, ByVal e As WaveInEventArgs) Try If (Me.InvokeRequired) Then...
View ArticleNew Post: Ima Adpcm Error during Compression
waveIn = New WaveIn() waveIn.WaveFormat = New WaveFormat(8000, 16, 1) writer = New WaveFileWriter(CurrentFile, waveIn.WaveFormat) where currentfile contains newly cretaed file path. Also Event...
View ArticleNew Post: Ima Adpcm Error during Compression
and you are absolutely sure you are calling writer.Close / dispose?
View ArticleNew Post: Ima Adpcm Error during Compression
ya ya writer.close() and writer.dispose() both statements are excuting once after Stop Recording Button pressed.
View ArticleNew Post: Ima Adpcm Error during Compression
Recorded Audio File is working fine,, once after encoding to Ima Adpcm Format ,audio file is not working.But if i encode the recorded audio file to other formats,and then if i try to play that encoded...
View ArticleNew Post: Ima Adpcm Error during Compression
OK, so show me the code that converts your recorded Audio file into IMA ADPCM Also, try converting the file using the NAudio demo application
View ArticleNew Post: Ima Adpcm Error during Compression
TargetFormat = ImaAdpcmWaveFormat.MyImaAdpcmWaveFormat(8000, 1, 4, 505) convertedStream = New WaveFormatConversionStream(TargetFormat, Reader)...
View ArticleNew Post: Ima Adpcm Error during Compression
Nudio Demo Application is working fine.but i dont want to launch the dialog box crates by AcmFormatChoose Function.
View ArticleNew Post: Ima Adpcm Error during Compression
well I can't see anything wrong with your code. If your WaveFormat is the same as the one that NAudioDemo uses, then it should work. Possibly there is an issue with CreateWaveFile. Try this code and...
View ArticleNew Post: Ima Adpcm Error during Compression
For Above Wave Format only,Simply i replaced the byte[] buffer = new byte[sourceProvider.WaveFormat.AverageBytesPerSecond * 4] by byte[] buffer = new byte[sourceProvider.WaveFormat.BlockAlign* 4]...
View ArticleNew Post: set Volume for mp3 playback
class AudioFileReader has Volume property, but class Mp3FileReader doesn't have such property. (I use Mp3FileReader for playback from Stream). Another property IWavePlayer.Volume is obsolete, so how...
View ArticleNew Post: Ima Adpcm Error during Compression
CreateWaveFile() method you posted is same as which i am already using. Can you please try once by your self considering above WaveFormat Structure
View ArticleNew Post: set Volume for mp3 playback
AudioFileReader just chains together a bunch of IWaveProviders and ISampleProviders and uses Mp3FileReader under the covers. In the very latest NAudio code I added a WaveVolumeProvider16 for cases when...
View ArticleNew Post: MIDIout.Finalize() MIDIin.Finalize() problem
Hello Mark!Im working with midi in and midi out.I see if for error, you use same port like in and out, error MIDout.Finalize() or MIDIin.Finalize() happen.I asume this is caused by midi loop or...
View ArticleNew Post: Ima Adpcm Error during Compression
Can you please try once by your self considering above WaveFormat Structure .
View ArticleNew Post: MIDIout.Finalize() MIDIin.Finalize() problem
you need to make sure you call Dispose() on your MidiIn and MidiOut to avoid that assertion. It is just a Debug.Assert, warning you that you didn't call Dispose
View ArticleNew Post: MIDIout.Finalize() MIDIin.Finalize() problem
Mark run dispose when and where?I have this error inmediatly after loas appz, without send or recive midi.MIDIin.Finalize() happen when my appz use same port in in and out MIDout.Finalize() when midi...
View ArticleNew Post: MIDIout.Finalize() MIDIin.Finalize() problem
how many times do you call new MidiIn or new MidiOut?
View ArticleNew Post: MIDIout.Finalize() MIDIin.Finalize() problem
One time onload: Gmidi.midiOut = new MidiOut(Gmidi.VMidiDevice); this.Closed += (o, s) => Gmidi.midiOut.Dispose(); Gmidi.midiIn = new MidiIn(Gmidi.IMidiDevice); this.Closed += (o, s) =>...
View Article