Click or drag to resize

AudioRecorder Class

Inheritance Hierarchy

Namespace:  CSAudioRecorder
Assembly:  CSAudioRecorder (in CSAudioRecorder.dll) Version: 1.0.1.0 (1.0.1.0)
Syntax
public class AudioRecorder : UserControl, 
	IDisposable

The AudioRecorder type exposes the following members.

Constructors
  NameDescription
Public methodAudioRecorder
Constructor.
Top
Properties
  NameDescription
Public propertyACMFormat
The selected ACM format of the selected ACM tag(for ACM encoding). The default format is 44.100 kHz, 16 Bit, Stereo.
Public propertyACMTag
The selected ACM tag (for ACM encoding). The default tag is PCM.
Public propertyAudioSource
The audio device source.
Public propertyBitrate
The bitrate of the destination audio file.
Public propertyBitrateVal
Set the bitrate of the destination audio file by value.
Public propertyBits
The bit-depth of the destination audio file (for WAV format only).
Public propertyChannels
The channels of the destination audio file.
Public propertyDeleteEmptyRecordedFile
Delete or not a recorded file that empty in the end of the recording process
Public propertyDeviceIndex
The audio source device.
Public propertyFileName
The title tag of the opened multimedia file.
Public propertyFormat
The format of the destination file, this can be AAC, ACM (WAV), APE, MP2, MP3, OGG, WAV (PCM), and WMA.
Public propertyIsRecording
Public propertyLatency
The audio source device.
Public propertyMessageArgs
Public propertyMode
The mode of the capturing process. This can be WasapiLoopbackCapture (default), WasapiCapture or LineIn.
Public propertyProgressArgs
Public propertyRatingStars
The rating stars of the opened multimedia file. This value can be 0 (unrated) to 5 (best).
Public propertyRatingUser
The user of the rating tag. The default value is: "Windows Media Player 9 Series".
Public propertySamplerate
The samplerate of the destination audio file.
Public propertySamplerateVal
The samplerate of the destination audio file by value.
Public propertyStartOnNoise
Start to record when noise is detected.
Public propertyStartOnNoiseVal
The noise value of the meter to start to record when noise is detected.
Public propertyStopOnSilence
Stop to record when silence is detected.
Public propertyStopOnSilenceSeconds
The number of seconds to detect the silence before stopping the record process.
Public propertyStopOnSilenceVal
The maximum noise value of the meter to start the timer to stop the record process.
Public propertyTagAlbum
The album name of the opened multimedia file.
Public propertyTagArtists
A list of strings for the TagArtists of the opened multimedia file.
Public propertyTagComment
The comment of the opened multimedia file.
Public propertyTagComposers
A list of strings for the TagComposers of the opened multimedia file.
Public propertyTagCopyright
The copyright of the opened multimedia file.
Public propertyTagGenres
A list of strings for the TagGenres of the opened multimedia file.
Public propertyTagLyrics
The lyrics of the opened multimedia file.
Public propertyTagPerformers
A list of strings for the TagPerformers of the opened multimedia file. In some cases this tag will be the TagArtists tag.
Public propertyTagRating
The rating value of the opened multimedia file. This value can be 0 (unrated) to 255 (best).
Public propertyTagTitle
The TagTitle tag of the opened multimedia file.
Public propertyTagTrack
The Track number of the opened multimedia file.
Public propertyTagYear
The created year of the opened multimedia file.
Public propertyTotalSizeIn
The total size of the recorded audio file. This will return the size in Bytes, KB, MB, GB, TB, PB, EB, ZB or YB.
Public propertyTotalTimeIn
The total time of the recorded audio file.
Public propertyUserKey
The user key.
Public propertyUserName
The user name.
Top
Methods
  NameDescription
Public methodAddImageFromFile
Set the ID3 tags to the opened multimedia files.
Public methodCheckLicense
Check the user license of the component.
Public methodClearAllTags
Clear all the tags of the selected multimedia file.
Public methodClearTag
Remove a tag type from the opened multimedia file.
Protected methodDispose
Clean up any resources being used.
(Overrides ContainerControlDispose(Boolean).)
Public methodGetACMFormats
Get the ACM formats according to the ACMTag.
Public methodGetACMTags
Get ACM tags according to the ACMFormat. You can also set the audio propitiates to get the best results according to the source audio file.
Public methodGetBitrates
Get the supported bitrates to a list.
Public methodGetBits
Get the supported bits to a list.
Public methodGetChannels
Get the supported channels to a list.
Public methodGetDeviceDefaultIndex
Get the default input device index. This works when the mode of the recorder is on WASAPI.
Public methodGetDevices
Get the all audio devices that installed on the local machine according to the capture mode.
Public methodGetEnumValue(Enum)
Get the value of the selected item of the Enum
Public methodGetEnumValueT(String)
Get the value of the selected item of the Enum
Public methodGetFormats
Get the supported formats to a list.
Public methodGetModes
Get the supported recorder modes to a list.
Public methodGetSamplerates
Get the supported samplerates to a list.
Public methodOpenID3Tags
Open a multimedia file. You can add/get/set tags only after calling this function. The supported format are: avi, mp3, mpc, mp4, asf, aiff, aif, aifc, tta, wv, ogg, flac, spx, opus, ape, xiph, wma, jpg, jpeg, png, mpg, mpeg and many other multimedia files.
Public methodPause
Pause the record operation.
Public methodRaiseError
Raise an error
Public methodResetFont (Overrides Control.ResetFont.)
Public methodSetID3Tags
Set the ID3 tags to the opened multimedia files.
Public methodSizeSuffix
Public methodStart
Start the record operation.
Public methodStop
Stop the record operation.
Public methodUnPause
Unpause the record operation.
Top
Events
Fields
  NameDescription
Public field_audiorecoder
Top
See Also