-
Notifications
You must be signed in to change notification settings - Fork 1
ISoundChannel
AutumnSky1010 edited this page Jun 15, 2024
·
3 revisions
Namespace: SoundMaker.Sounds.SoundChannels
Assembly: SoundMaker.dll
Interface for sound channel.
public interface ISoundChannel : IEnumerable<ISoundComponent>
- Ver 2.2.0 ~ IEnumerable<ISoundComponent>
Declaration
ISoundComponent this[int index] { get; }
Parameters
Type | Desctiption |
---|---|
int | Index of sound components. |
Property Value
Type | Desctiption |
---|---|
ISoundComponent | Get sound component at index. |
Declaration
public int Capacity { get; }
Property Value
Type | Desctiption |
---|---|
int | The total number of sound components the internal data structure can hold without resizing. |
Declaration
public int ComponentCount { get; }
Property Value
Type | Desctiption |
---|---|
int | Count of sound components. |
Declaration
public int WaveArrayLength { get; }
Property Value
Type | Desctiption |
---|---|
int | Length of wave data. |
Declaration
public int Tempo { get; }
Property Value
Type | Desctiption |
---|---|
int | Quarter note/rest per minute. |
Declaration
SoundFormat Format { get; }
Property Value
Type | Desctiption |
---|---|
SoundFormat | Format of the sound. |
Declaration
PanType PanType { get; }
Property Value
Type | Desctiption |
---|---|
PanType | Direction of hearing. |
Declaration
ushort[] GenerateWave();
Returns
Type | Desctiption |
---|---|
ushort[] | The array of wave data. |
Declaration
void Add(ISoundComponent components);
Parameters
Type | Desctiption |
---|---|
ISoundComponent | The sound component to be added to this. |
Declaration
void RemoveAt(int index);
Parameters
Type | Desctiption |
---|---|
int | The index of the sound component to remove. |
Remove all sound component from this.
Declaration
void Clear();
- Usage
- Kind of waves
- What is the SMSC format?
- kind of sound components.
- How to export the wave
- Use cases
SoundMaker.ScoreData.SMSC
SoundMaker.WaveFile
SoundMaker.Sounds
- Sounds.BitRateType
- Sounds.ChannelType
- IWave
- MixerBase
- MonauralMixer
- MonauralWave
- Sounds.SamplingFrequencyType
- SoundDirectionType
- SoundFormat
- StereoMixer
- StereoWave