Skip to content

Waveform and Noise Generation with High-level API #721

Answered by mackron
Oldes asked this question in Q&A
Discussion options

You must be logged in to vote

Yes. Initialize your ma_noise object and then use ma_sound_init_from_data_source(). Make sure your ma_noise object stays alive for the life of the ma_sound object. A ma_noise object is a data source which means you can use it with any function that takes a ma_data_source*.

The same applies for ma_waveform.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Oldes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants