BASS.NET API wrapper for BASSMIX.DLL
Requires: bassmix.dll - Mixing and resample channels (MIX) Add-On - available @ www.un4seen.com.
A fairly common question is how to mix and/or resample channels. To make that task simple, here's the add-on that'll do it.
Inheritance Hierarchy
Un4seen.Bass.AddOn.MixBassMix
Namespace: Un4seen.Bass.AddOn.Mix
Assembly: Bass.Net (in Bass.Net.dll) Version: 2.4.17.5
Syntax
The BassMix type exposes the following members.
Methods
Name | Description | |
---|---|---|
BASS_Mixer_ChannelFlags |
Modifies and/or retrieves a channel's mixer flags.
| |
BASS_Mixer_ChannelGetData(Int32, Byte, Int32) |
Retrieves the immediate sample data of a mixer source channel.
This overload uses a managed byte[] to reference the buffer data!
SHOULD ONLY BE USED, if the stream was created with BASS_SAMPLE_8BITS!
| |
BASS_Mixer_ChannelGetData(Int32, Int16, Int32) |
Retrieves the immediate sample data of a mixer source channel.
This overload uses a managed short[] to reference the buffer data as 16-bit values - each element will represent one channel in this case!
SHOULD ONLY BE USED, if the stream was created WITHOUT BASS_SAMPLE_FLOAT or BASS_SAMPLE_8BITS!
| |
BASS_Mixer_ChannelGetData(Int32, Int32, Int32) |
Retrieves the immediate sample data of a mixer source channel.
This overload uses a managed int[] to reference the buffer data (Note: an int is 32-bit meaning if we expect to receive 16-bit data stereo a single int value will contain 2 x 16-bit, so a full stereo pair of data)!
SHOULD ONLY BE USED, if the stream was created WITHOUT BASS_SAMPLE_FLOAT or BASS_SAMPLE_8BITS!
| |
BASS_Mixer_ChannelGetData(Int32, IntPtr, Int32) |
Retrieves the immediate sample data (or an FFT representation of it) of a mixer source channel.
This overload uses an IntPtr to reference the buffer data.
| |
BASS_Mixer_ChannelGetData(Int32, Single, Int32) |
Retrieves the immediate sample data (or an FFT representation of it) of a mixer source channel.
This overload uses a managed float[] to reference the buffer data as 32-bit!
SHOULD ONLY BE USED, if the stream was created with BASS_SAMPLE_FLOAT!
| |
BASS_Mixer_ChannelGetEnvelopePos(Int32, BASSMIXEnvelope, Object) |
Retrieves the current position and value of an envelope on a channel.
| |
BASS_Mixer_ChannelGetEnvelopePos(Int32, BASSMIXEnvelope, Single) |
Retrieves the current position and value of an envelope on a channel.
| |
BASS_Mixer_ChannelGetLevel(Int32) |
Retrieves the level (peak amplitude) of a mixer source channel.
| |
BASS_Mixer_ChannelGetLevel(Int32, Single, BASSLevel) |
Retrieves the level (peak amplitude) of a mixer source channel.
| |
BASS_Mixer_ChannelGetLevel(Int32, Single, Single, BASSLevel) |
Retrieves the level (peak amplitude) of a mixer source channel.
| |
BASS_Mixer_ChannelGetMatrix |
Retrieves a channel's mixing matrix, if it has one.
| |
BASS_Mixer_ChannelGetMixer |
Retrieves the mixer that a channel is plugged into.
| |
BASS_Mixer_ChannelGetPosition(Int32) |
Retrieves the playback position in bytes of a mixer source channel.
| |
BASS_Mixer_ChannelGetPosition(Int32, BASSMode) |
Retrieves the playback position of a mixer source channel.
| |
BASS_Mixer_ChannelGetPositionEx |
Retrieves the playback position of a mixer source channel, optionally accounting for some latency.
| |
BASS_Mixer_ChannelIsActive |
Checks if a mixer source channel is active.
| |
BASS_Mixer_ChannelPause |
Pauses a mixer source channel (don't process the source).
| |
BASS_Mixer_ChannelPlay |
Starts (or resumes) playback of a mixer source channel (process the source).
| |
BASS_Mixer_ChannelRemove |
Unplugs a channel from a mixer.
| |
BASS_Mixer_ChannelRemoveSync |
Removes a synchronizer from a mixer source channel.
| |
BASS_Mixer_ChannelSetEnvelope(Int32, BASSMIXEnvelope, BASS_MIXER_NODE) |
Sets an envelope to modify the sample rate, volume or pan of a channel over a period of time.
| |
BASS_Mixer_ChannelSetEnvelope(Int32, BASSMIXEnvelope, BASS_MIXER_NODE, Int32) |
Sets an envelope to modify the sample rate, volume or pan of a channel over a period of time.
| |
BASS_Mixer_ChannelSetEnvelopePos |
Sets the current position of an envelope on a channel.
| |
BASS_Mixer_ChannelSetMatrix |
Sets a channel's mixing matrix, if it has one.
| |
BASS_Mixer_ChannelSetMatrixEx |
Fades to a channel's mixing matrix, if it has one.
| |
BASS_Mixer_ChannelSetPosition(Int32, Int64) |
Sets the playback position in bytes of a mixer source channel (using BASS_POS_BYTE).
| |
BASS_Mixer_ChannelSetPosition(Int32, Int64, BASSMode) |
Sets the playback position of a mixer source channel.
| |
BASS_Mixer_ChannelSetSync |
Sets up a synchronizer on a mixer source channel.
| |
BASS_Mixer_ChannelSetSyncEx |
Sets up an extended synchronizer on a mixer source channel.
| |
BASS_Mixer_GetVersion |
Retrieves the version number of the BASSmix.DLL that is loaded.
| |
BASS_Mixer_GetVersion(Int32) |
Retrieves the version of the BASSmix.DLL that is loaded.
| |
BASS_Mixer_StreamAddChannel |
Plugs a channel into a mixer.
| |
BASS_Mixer_StreamAddChannelEx |
Plugs a channel into a mixer, optionally delaying the start and limiting the length.
| |
BASS_Mixer_StreamCreate |
Creates a mixer stream.
| |
BASS_Mixer_StreamGetChannelCount |
Gets the number of a mixer's source channels.
| |
BASS_Mixer_StreamGetChannels |
Retrieves a mixer's source channels.
| |
BASS_Split_StreamCreate |
Creates a splitter stream (adds a reader channel to a decoding source channel).
| |
BASS_Split_StreamGetAvailable |
Retrieves the amount of buffered data available to a splitter stream, or the amount of data in a splitter source buffer.
| |
BASS_Split_StreamGetSource |
Retrieves the source of a splitter stream.
| |
BASS_Split_StreamGetSplits |
Retrieves the channel's splitters.
| |
BASS_Split_StreamReset |
Resets a splitter stream or all splitter streams of a source.
| |
BASS_Split_StreamResetEx |
Resets a splitter stream and sets its position in the source buffer.
| |
FreeMe |
Unloads this library. This must be called when you have previously called LoadMe.
| |
LoadMe |
Loads this library into memory. The library will be search in the current application directory.
| |
LoadMe(String) |
Loads this library into memory. The library will be loaded from the given path.
|
Fields
Name | Description | |
---|---|---|
BASSMIXVERSION |
Current BASSmix version (without minor revision).
|
Remarks
BASSMIX is an extension to the BASS audio library, enabling the mixing and resampling of streams and channels.
See Also