This namespace provides miscellaneous classes for various purposes. E.g. rendering and drawing of wave form graphics or spectrul visuals, broadcasting and streaming support, a DSP and an Encoder framework, as well as a wave writer class.
The classes defined are BASS.NET API specific and does not relate to any native BASS functionality. Just for your benefit.
Classes
Class | Description | |
---|---|---|
BaseDSP |
Base class for all user defined DSP classes (e.g. DSP_PeakLevelMeter, DSP_Gain or your own DSP implementations).
| |
BaseEncoder | ||
BPMCounter |
Provides general methods to detect beats live in an audio signal and to calculate the resulting Beats Per Minute (BPM).
Requires: bass.dll - available @ www.un4seen.com. | |
BroadCast |
Enables streaming of audio content to the internet.
| |
BroadCastEventArgs |
EventArgs class to be passed as the second parameter of a Notification event handler.
| |
DSP_BufferStream |
Stream Buffer DSP (to clone a BASS stream's current sample data to a decoding stream).
| |
DSP_Gain |
Gain DSP (amplification).
| |
DSP_IIRDelay |
IIR Delay Filter DSP.
| |
DSP_Mono |
Mono DSP (converts a stereo signal to a mono signal).
| |
DSP_Pan |
Stereo Panning DSP (balance).
| |
DSP_PeakLevelMeter |
Peak Level Meter DSP.
| |
DSP_SoftSaturation |
Soft Saturation DSP (a waveshaper).
| |
DSP_StereoEnhancer |
Stereo Enhancer DSP (actually also removes mono signals).
| |
DSP_StreamCopy |
Stream Copy DSP (to clone any BASS stream).
| |
EncoderACM |
Encoder class implementation for the Windows Audio Compression Manager using Un4seen.Bass.AddOn.Enc.
| |
EncoderAIFF |
Encoder class implementation for the Audio Interchange File Format (AIFF) using raw PCM sample data with no real encoder.
| |
EncoderBassEnc_Aac |
Encoder class implementation for build-in BASSenc_AAC encoding.
| |
EncoderBassEnc_Flac |
Encoder class implementation for build-in BASSenc_FLAC encoding.
| |
EncoderBassEnc_Mp3 |
Encoder class implementation for build-in BASSenc_MP3 encoding.
| |
EncoderBassEnc_Ogg |
Encoder class implementation for build-in BASSenc_OGG encoding.
| |
EncoderBassEnc_Opus |
Encoder class implementation for build-in BASSenc_OPUS encoding.
| |
EncoderCMDLN |
Encoder class implementation for any generic Command-Line encoder tool using Un4seen.Bass.AddOn.Enc.
| |
EncoderFAAC |
Encoder class implementation for AAC encoding using faac.exe.
| |
EncoderFHGAACplus |
Encoder class implementation for FHG Winamp AACplus encoding using "fhgaacenc.exe" (the command-line encoder using the following Winamp DLLs: "enc_fhgaac.dll", "nsutil.dll", "libsndfile-1.dll" and "libmp4v2.dll").
| |
EncoderFLAC |
Encoder class implementation for FLAC encoding using "flac.exe".
| |
EncoderLAME |
Encoder class implementation for MP3 encoding using lame.exe.
| |
EncoderMP3 |
Encoder class implementation for any generic MP3 command-line encoder tool using Un4seen.Bass.AddOn.Enc.
| |
EncoderMP3S |
Encoder class implementation for MP3 encoding using the Fraunhofer IIS mp3 Surround command line encoder mp3sEncoder.exe.
| |
EncoderMPC |
Encoder class implementation for MusePack MPC encoding using "mppenc.exe" resp. "mpcenc.exe".
| |
EncoderNeroAAC |
Encoder class implementation for the Nero Digital AAC encoder using "neroAacEnc.exe".
| |
EncoderOGG |
Encoder class implementation for OGG-Vorbis encoding using "oggenc2.exe".
| |
EncoderOPUS |
Encoder class implementation for Opus Interactive Audio Codec encoding using "opusenc.exe".
| |
EncoderQTAAC |
Encoder class implementation for the QuickTime AAC encoder using "qtaacenc.exe".
| |
EncoderTooLAME |
Encoder class implementation for MPEG Audio Layer II (MP2) encoding using "tooLAME.exe".
| |
EncoderTwoLAME |
Encoder class implementation for MP2 TwoLAME encoding using "twolame.exe".
| |
EncoderWAV |
Encoder class implementation for the RIFF WAVE format using raw PCM sample data with no real encoder.
| |
EncoderWavPack |
Encoder class implementation for WavPack encoding using "wavpack.exe".
| |
EncoderWinampAACplus |
Encoder class implementation for Winamp AACplus encoding using "enc_aacPlus.exe" (the command-line encoder using the following Winamp DLLs: "enc_aacplus.dll", "nscrt.dll" and "libmp4v2.dll").
| |
EncoderWMA |
Encoder class implementation for the Windows Media Audio codec using Un4seen.Bass.AddOn.Wma.
| |
HiPerfTimer |
Provides a Win32 high performance counter.
| |
ICEcast |
ICEcast streaming parameter class.
To be used when creating an instance of the BroadCast class.
| |
SHOUTcast |
SHOUTcast streaming parameter class.
To be used when creating an instance of the BroadCast class.
| |
StreamingServer | ||
Visuals |
Provides general visualisation methods to generate spectrum analyzers etc.
Requires: bass.dll - available @ www.un4seen.com | |
WaveForm |
Provides general methods to generate a stereo or mono channel waveform graphic for an audio file or a decoding stream handle.
The WaveForm will be drawn as two independent stereo envelopes, a combined dual mono envelope or a mono envelope. Requires: bass.dll - available @ www.un4seen.com | |
WaveFormVolumePoint |
The class represents a volume point to be used to draw a volume curve within the wave form.
| |
WaveFormWaveBuffer |
The internal class containing the rended wave buffer data (in frames).
| |
WaveWriter |
Provides general methods to save an audio stream to a file in the WAVE file format.
Supported bit resolutions are 8-bit, 16-bit, 24-bit and 32-bit. Supported sample rates are 8000, 11025, 22050, 44100, 48000 or 96000 Hz. Multi channel wave files are also supported. Use 1=mono, 2=stereo... | |
WMAcast |
Windows Media Streaming (WMAcast) streaming parameter class.
To be used when creating an instance of the BroadCast class.
|
Structures
Structure | Description | |
---|---|---|
WaveFormWaveBufferLevel |
Interfaces
Interface | Description | |
---|---|---|
IBaseEncoder |
Defines a generalized encoder class interface that a BaseEncoder class must implement.
| |
IStreamingServer |
Defines a generalized streaming server class interface that a StreamingServer class must implement.
|
Delegates
Delegate | Description | |
---|---|---|
BaseEncoderENCODEFILEPROC |
This delegate might be used in the EncodeFile(String, String, BaseEncoder, BaseEncoderENCODEFILEPROC, Boolean, Boolean) method.
| |
BroadCastEventHandler |
Definition of the Notification event handler.
| |
WAVEFORMPROC |
Callback which will be invoked during RenderStart(Int32, Boolean) to give feedback about the current rendering progress.
|
Enumerations
Enumeration | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
BaseEncoderBITRATE |
List of supported encoding bitrates (kbps).
| |||||||||||||||
BaseEncoderSAMPLERATE |
List of supported broadcast sample rates.
| |||||||||||||||
BroadCastBROADCASTSTATUS |
List of all possible broadcast status.
| |||||||||||||||
BroadCastEventType |
Types of event that has occurred with the BroadCast class.
| |||||||||||||||
EncoderBassEnc_AacAACProfile |
The FDKAAC profile to use (Audio Object Type).
| |||||||||||||||
EncoderBassEnc_AacAACVBR |
The FDKAAC profile to use (Audio Object Type).
| |||||||||||||||
EncoderBassEnc_Mp3LAMEMode |
The general LAME encoding mode (stereo, joint stereo, mono etc.).
| |||||||||||||||
EncoderBassEnc_Mp3LAMEQuality |
Encoding quality (default is Quality).
| |||||||||||||||
EncoderBassEnc_Mp3LAMEReplayGain |
ReplayGain analysis.
| |||||||||||||||
EncoderBassEnc_Mp3LAMEVBRQuality |
-V: Quality setting for VBR (default is VBR_Q4).
| |||||||||||||||
EncoderBassEnc_OpusOPUSFramesize |
The OPUS framesize in milliseconds (2.5, 5, 10, 20, 40, or 60).
| |||||||||||||||
EncoderBassEnc_OpusOPUSMode |
The OPUS bitrate encoding mode (VBR, CVBR, CBR).
| |||||||||||||||
EncoderFHGAACplusFHGProfile |
The FHG AAC profile to use (only for CBR mode).
| |||||||||||||||
EncoderLAMELAMEATH |
LAME ATH control options.
| |||||||||||||||
EncoderLAMELAMEMode |
The general LAME encoding mode (stereo, joint stereo, mono etc.).
| |||||||||||||||
EncoderLAMELAMENOASM |
--noasm: Assembly optimizations options.
| |||||||||||||||
EncoderLAMELAMEQuality |
Encoding quality (default is Quality).
| |||||||||||||||
EncoderLAMELAMEReplayGain |
ReplayGain analysis.
| |||||||||||||||
EncoderLAMELAMEVBRQuality |
-V: Quality setting for VBR (default is VBR_Q4).
| |||||||||||||||
EncoderMP3SMP3SVBRQuality |
-m: Quality setting for VBR.
| |||||||||||||||
EncoderMPCMPCPreset |
Profile options, Quality preset. To be used with MPC_Preset.
| |||||||||||||||
EncoderOGGOGGConverter |
The OGG resampling engine mode (Best, Medium. Fast).
| |||||||||||||||
EncoderOPUSOPUSDownmix |
The OPUS downmix mode (None, Mono, Stereo).
| |||||||||||||||
EncoderOPUSOPUSFramesize |
The OPUS framesize in milliseconds (2.5, 5, 10, 20, 40, or 60).
| |||||||||||||||
EncoderOPUSOPUSMode |
The OPUS bitrate encoding mode (VBR, CVBR, CBR).
| |||||||||||||||
EncoderQTAACQTMode |
The QuickTime encoding mode (CBR, ABR, CVBR, TVBR).
| |||||||||||||||
EncoderQTAACQTQuality |
The QuickTime quality engine mode (Fast, Normal, High).
| |||||||||||||||
EncoderTooLAMETOODeEmphMode |
The general tooLAME encoding mode (stereo, joint stereo, mono etc.).
| |||||||||||||||
EncoderTooLAMETOOMode |
The general tooLAME encoding mode (stereo, joint stereo, mono etc.).
| |||||||||||||||
EncoderTooLAMETOOPsycModel |
The psychoacoustic model tooLAME should use (-1 to 4, default is 1).
| |||||||||||||||
EncoderTwoLAMETWODeEmphMode |
The general TwoLAME encoding mode (stereo, joint stereo, mono etc.).
| |||||||||||||||
EncoderTwoLAMETWOMode |
The general TwoLAME encoding mode (stereo, joint stereo, mono etc.).
| |||||||||||||||
EncoderTwoLAMETWOPsycModel |
The psychoacoustic model TwoLAME should use (-1 to 4, default is 3).
| |||||||||||||||
StreamingServerSTREAMINGERROR |
List of all possible streaming errors.
| |||||||||||||||
WaveFormBEATDRAWTYPE |
Beat Drawing Type: Defines how beat positions should be drawn with the WaveForm:
| |||||||||||||||
WaveFormMARKERDRAWTYPE |
Marker Drawing Type: Defines how markers should be drawn with the WaveForm - any combination of the following flags:
| |||||||||||||||
WaveFormVOLUMEDRAWTYPE |
Volume Curve Drawing Type: Defines how the volume curve should be drawn with the WaveForm:
| |||||||||||||||
WaveFormWAVEFORMDRAWTYPE |
WaveForm Drawing Type: Defines how the wave form should be drawn:
|