Quantcast
Channel: NAudio
Browsing all 5831 articles
Browse latest View live

New Post: Ima Adpcm Error during Compression

yes, but where are you writing data to the writer? And where are you closing it?

View Article


New 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 Article


New 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 Article

New Post: Ima Adpcm Error during Compression

and you are absolutely sure you are calling writer.Close / dispose?

View Article

New Post: Ima Adpcm Error during Compression

ya ya writer.close() and writer.dispose() both statements are excuting once after Stop Recording Button pressed.

View Article


New 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 Article

New 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 Article

New Post: Ima Adpcm Error during Compression

                  TargetFormat = ImaAdpcmWaveFormat.MyImaAdpcmWaveFormat(8000, 1, 4, 505)                     convertedStream = New WaveFormatConversionStream(TargetFormat, Reader)...

View Article


New 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 Article


New 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 Article

New 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 Article

New 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 Article

New 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 Article


New 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 Article

New 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 Article


New Post: Ima Adpcm Error during Compression

  Can you please try once by your self considering above WaveFormat Structure .

View Article

New 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 Article


New 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 Article

New Post: MIDIout.Finalize() MIDIin.Finalize() problem

how many times do you call new MidiIn or new MidiOut?

View Article

New 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
Browsing all 5831 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>