Using this library you can record and create audio files.
The desktop library is a "dummy" library.
The recording functionality is only available on the device.
The three important methods are:
Start(LengthMS As Int32) - The maximum length of the record file (milliseconds).
Stop - Stops the recording.
Save (File As String) - Saves the last record.
Hi Erel
Less work, but great effect. The idea alone is fantastic!
BTW, what is the valid range for WaveIn.Start(x)?
'0' and '200000' throw exception errors.
Thanks a lot.
Robert
Hi timsteeman
If you want to use this library on the desktop, add a reference to RecorderDesktop.dll. If you want this to run on the device, just add a reference to Recorde.dll. The sample B4PPC app is meant for the device, so i you want erel's sample to run on the Desktop, remove Recorder.dll and add RecorderDesktop.dll from the Tools - Conponents dialog.
I forgot to mention (it is now fixed) but this library can only work on the device.
The desktop library is just a dummy library to allow you to work on the desktop.
Hi Erel,
Just a thought. The Recorder saves PCM at 11,025kHz sampling, 8 bit, stereo.
I feel that monoaural would be sufficient for voice memos recorded with the device,
whilst saving 50% memory. I don't know exactly how the Recoder works and
what it wraps, therefore unable to judge whether switching to mono is possible or not.
Cheers
Robert
This method first allocates the required memory for the given maximum length.
The error you've encountered was probably raised because of memory restrictions.
There is no simple way to switch to mono instead of stereo recording.