![]() |
OpenSiv3D
v0.6.5
C++20 framework for creative coding
|
Functions | |
size_t | GetActiveVoiceCount () |
再生中のオーディオとバスの合計数を返します。 More... | |
void | PauseAll () |
すべてのアクティブな Audio を一時停止します。 More... | |
void | ResumeAll () |
一時停止しているすべてのアクティブな Audio を再開します。 More... | |
double | GetVolume () |
最終出力の音量の設定を返します。 More... | |
void | SetVolume (double volume) |
最終出力の音量を変更します。 More... | |
void | FadeVolume (double volume, const Duration &time) |
最終出力の音量をフェードさせて変更します。 More... | |
Array< float > | GetSamples () |
最終出力の直近 256 サンプルを取得します。 More... | |
void | GetSamples (Array< float > &samples) |
最終出力の直近 256 サンプルを取得します。 More... | |
FFTResult | GetFFT () |
void | GetFFT (FFTResult &result) |
最終出力の直近 256 サンプルでの FFT 結果を取得します。 More... | |
Array< float > | BusGetSamples (MixBus busIndex) |
void | BusGetSamples (MixBus busIndex, Array< float > &samples) |
指定したバスの直近 256 サンプルを取得します。 More... | |
FFTResult | BusGetFFT (MixBus busIndex) |
void | BusGetFFT (MixBus busIndex, FFTResult &result) |
指定したバスの直近 256 サンプルでの FFT 結果を取得します。 More... | |
double | BusGetVolume (MixBus busIndex) |
void | BusSetVolume (MixBus busIndex, double volume) |
void | BusFadeVolume (MixBus busIndex, double volume, const Duration &time) |
void | BusClearFilter (MixBus busIndex, size_t filterIndex) |
void | BusSetLowPassFilter (MixBus busIndex, size_t filterIndex, double cutoffFrequency, double resonance, double wet=1.0) |
void | BusSetHighPassFilter (MixBus busIndex, size_t filterIndex, double cutoffFrequency, double resonance, double wet=1.0) |
void | BusSetEchoFilter (MixBus busIndex, size_t filterIndex, double delay, double decay, double wet=1.0) |
void | BusSetReverbFilter (MixBus busIndex, size_t filterIndex, bool freeze, double roomSize, double damp, double width, double wet=1.0) |
void | BusSetPitchShiftFilter (MixBus busIndex, size_t filterIndex, double pitchShift) |
bool | SupportsPitchShift () |
ピッチシフトフィルタが利用できるかを返します。 More... | |
void s3d::GlobalAudio::BusClearFilter | ( | MixBus | busIndex, |
size_t | filterIndex | ||
) |
指定したバスの直近 256 サンプルを取得します。
busIndex | バスのインデックス |
samples | 指定したバスの直近 256 サンプルを格納する配列 |
double s3d::GlobalAudio::BusGetVolume | ( | MixBus | busIndex | ) |
void s3d::GlobalAudio::BusSetEchoFilter | ( | MixBus | busIndex, |
size_t | filterIndex, | ||
double | delay, | ||
double | decay, | ||
double | wet = 1.0 |
||
) |
void s3d::GlobalAudio::BusSetHighPassFilter | ( | MixBus | busIndex, |
size_t | filterIndex, | ||
double | cutoffFrequency, | ||
double | resonance, | ||
double | wet = 1.0 |
||
) |
void s3d::GlobalAudio::BusSetLowPassFilter | ( | MixBus | busIndex, |
size_t | filterIndex, | ||
double | cutoffFrequency, | ||
double | resonance, | ||
double | wet = 1.0 |
||
) |
void s3d::GlobalAudio::BusSetPitchShiftFilter | ( | MixBus | busIndex, |
size_t | filterIndex, | ||
double | pitchShift | ||
) |
void s3d::GlobalAudio::BusSetReverbFilter | ( | MixBus | busIndex, |
size_t | filterIndex, | ||
bool | freeze, | ||
double | roomSize, | ||
double | damp, | ||
double | width, | ||
double | wet = 1.0 |
||
) |
void s3d::GlobalAudio::BusSetVolume | ( | MixBus | busIndex, |
double | volume | ||
) |
void s3d::GlobalAudio::FadeVolume | ( | double | volume, |
const Duration & | time | ||
) |
最終出力の音量をフェードさせて変更します。
volume | 音量 [0.0, 1.0] |
time | フェードの時間 |
size_t s3d::GlobalAudio::GetActiveVoiceCount | ( | ) |
再生中のオーディオとバスの合計数を返します。
FFTResult s3d::GlobalAudio::GetFFT | ( | ) |
void s3d::GlobalAudio::GetFFT | ( | FFTResult & | result | ) |
Array<float> s3d::GlobalAudio::GetSamples | ( | ) |
最終出力の直近 256 サンプルを取得します。
void s3d::GlobalAudio::GetSamples | ( | Array< float > & | samples | ) |
最終出力の直近 256 サンプルを取得します。
samples | 最終出力の直近 256 サンプルを格納する配列 |
double s3d::GlobalAudio::GetVolume | ( | ) |
最終出力の音量の設定を返します。
void s3d::GlobalAudio::PauseAll | ( | ) |
すべてのアクティブな Audio を一時停止します。
void s3d::GlobalAudio::ResumeAll | ( | ) |
一時停止しているすべてのアクティブな Audio を再開します。
void s3d::GlobalAudio::SetVolume | ( | double | volume | ) |
最終出力の音量を変更します。
volume | 音量 [0.0, 1.0] |
bool s3d::GlobalAudio::SupportsPitchShift | ( | ) |
ピッチシフトフィルタが利用できるかを返します。