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

New Post: Audio leveler

i want to set leveler property on audio file by NAudio library... How to solve this issue! please help

View Article


New Post: MIDI: how to set/change track name?

i'm adding a feature to my program that will automatically do some stuff with existing midi tracks, by modifying the content of the track and then renaming it and saving it as a different track within...

View Article


New Post: MIDI: how to set/change track name?

Figured it out. Posting it here for anyone else with this same issue.new TextEvent("track name here", MetaEventType.SequenceTrackName, 0)

View Article

New Post: Push-To-Talk streaming

Hello! I write a Push-To-Talk radio interface program. From the remote client goes stream of UDP packets, which begins and ends randomly (PTT button on/off). What a best way to save it to *.wav file...

View Article

New Post: Must read complete blocks. Using Wave16ToFloatProvider

what is the value of tmpReader.Length? It needs to be a multiople of wave16.WaveFormat.BlockAlign, which is likely to be 2 in your case. I would also recommend reading in smaller blocks, of say a...

View Article


New Post: Is it possible to record mic and speaker to mp3?

Have a look at the WasapiLoopbackCapture class. The NAudioDemo application has a code sample.

View Article

New Post: Is it possible to record mic and speaker to mp3?

Hi. Thanks for the reply. Yes I have thanks. What I did was record the mic and the speaker in to wav and then layer them together In one wav to mp3 :.) thanks for great work.

View Article

New Post: Multiple WaveOut Objects

I have a similar issue, I'm running in a Task the same code on multiple device. Every object is instanciate for each task offcourse.private void RunSession(WaveOut WaveOut, WaveStream stream, string...

View Article


New Post: Push-To-Talk streaming

SOLVED: I implemented it as a class with a loop in thread. This loop reads data from BufferedWaveProvider and calculate how many "real time" we need to write. If we have no data at input,...

View Article


New Post: Output mp3 stream, playback G722 stream

1) yes although it depends what the receiving end is expecting. You'd need to try to send it out at real-time speed, which could be tricky to get right 2) NAudio includes a managed G722 codec. The...

View Article

New Post: Push-To-Talk streaming

glad you got it working

View Article

New Post: Multiple WaveOut Objects

0 means the default device. What callback model are you using? You shouldn't need to use tasks at all.

View Article

New Post: Cue Reader Example

Good question. I don't know whether the cue positions are in bytes or samples. If samples you might need to multiply by 2 for 16 bit (and maybe by 2 again for stereo).

View Article


New Post: wave file amplify

Should work if you use CreateWaveFile16 which takes an ISampleProvider (you need a fairly recent version of NAudio for this)WaveFileWriter.CreateWaveFile16(@"C:\Users\zaheer\Desktop\out.wav", vol);

View Article

New Post: Cue Reader Example

This document describes how cues are stored:http://www.sonicspot.com/guide/wavefiles.html#cue the NAudio cue support was actually a third party contribution so I don't know exactly how it works. It...

View Article


New Post: Multiple WaveOut Objects

Yes after reading multiple answers it seems I should use something to dispatch audio between input/output without Task.I have 1 or more WaveStream (from file, memory stream, etc ...) I need to play on...

View Article

New Post: Multiple WaveOut Objects

it's not something I've included in NAudio, but the basic approach would be to use a BufferedWaveProvider for each output. You'd need to create a custom IWaveProvider whose Read method would either...

View Article


New Post: Multiple WaveOut Objects

Thanks, About your last comment, it was what I did at firstCreate WaveFileReadersCreate WaveOutSet the device numberWaveOut.Init(stream); WaveOut.Play(); I do it twice but it seems the first one play,...

View Article

New Post: Cue Reader Example

I'm pretty sure it listed in samples. The only way I've found so far to skip to the next cue is using the code you provided above to put them in a listbox, and then:Private wave As...

View Article

New Post: Adding 16 Bit Stereo , Conversion in WasapiLoopback.

Could you implement this into the WasapiLoopBack: unsafe void WasapiLoopBack(object sender, NAudio.Wave.WaveInEventArgs e) { Int32 bytesrecorded = e.BytesRecorded; byte[] newArray16Bit = new...

View Article
Browsing all 5831 articles
Browse latest View live


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