mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-24 01:04:02 +02:00
Rewording to documentation.
This commit is contained in:
+1
-1
@@ -1125,7 +1125,7 @@ miniaudio supports generation of sine, square, triangle and sawtooth waveforms.
|
|||||||
The amplitude, frequency and sample rate can be changed dynamically with `ma_waveform_set_amplitude()`, `ma_waveform_set_frequency()` and
|
The amplitude, frequency and sample rate can be changed dynamically with `ma_waveform_set_amplitude()`, `ma_waveform_set_frequency()` and
|
||||||
`ma_waveform_set_sample_rate()` respectively.
|
`ma_waveform_set_sample_rate()` respectively.
|
||||||
|
|
||||||
You can reverse the waveform by setting the amplitude to a negative value. You can use this to control whether or not a sawtooth has a positive or negative
|
You can invert the waveform by setting the amplitude to a negative value. You can use this to control whether or not a sawtooth has a positive or negative
|
||||||
ramp, for example.
|
ramp, for example.
|
||||||
|
|
||||||
Below are the supported waveform types:
|
Below are the supported waveform types:
|
||||||
|
|||||||
Reference in New Issue
Block a user