@@ -143,9 +143,9 @@ waveform you want to generated via the `ma_waveform_config` object which you can
...
@@ -143,9 +143,9 @@ waveform you want to generated via the `ma_waveform_config` object which you can
Noise Generation
Noise Generation
----------------
----------------
A noise generation API has been added. This is used via the `ma_noise` API. Currently white and pink noise is supported. The `ma_noise` API is similar to the
A noise generation API has been added. This is used via the `ma_noise` API. Currently white, pink and brownian noise is supported. The `ma_noise` API is
waveform API. Use `ma_noise_config_init()` to initialize a config object, and then pass it into `ma_noise_init()` to initialize a `ma_noise` object. Then use
similar to the waveform API. Use `ma_noise_config_init()` to initialize a config object, and then pass it into `ma_noise_init()` to initialize a `ma_noise`
`ma_noise_read_pcm_frames()` to read PCM data.
object. Then use `ma_noise_read_pcm_frames()` to read PCM data.
Miscellaneous Changes
Miscellaneous Changes
...
@@ -1085,7 +1085,7 @@ Below are the supported waveform types:
...
@@ -1085,7 +1085,7 @@ Below are the supported waveform types:
Noise
Noise
-----
-----
miniaudio supports generation of white and pink noise via the `ma_noise` API. Example:
miniaudio supports generation of white, pink and brownian noise via the `ma_noise` API. Example: