Jacob Weber
Jacob Weber

Reputation: 103

how can i record audio in C#

I was wondering if there was a simple way to record audio, and have it saved as an object of any sort.

My personal goal is to eventually record audio, save it to a "channel", allow for multiple channels, and play them back simultaneously.

Upvotes: 2

Views: 656

Answers (2)

Mark H
Mark H

Reputation: 13897

You could take a look into the OpenAL wrapper in OpenTK.

It should have what you need in it. The AudioCapture and AudioContext classes will collect your data, and then AL.SourcePlay() can be used to play multiple contexts together.

Upvotes: 0

benteight
benteight

Reputation: 324

This project on CodeProject provides some classes for capturing audio. It uses Managed DirectX, which has been deprecated, so you might want to look into using SlimDx as a wrapper around DirectSound instead.

Upvotes: 1

Related Questions