Question

core audio how to generate wave like this? Generally , the wave is sine , square or sawtooth . But how to generate waveform like this ? Thanks

http://i.stack.imgur.com/3TxqJ.png

Was it helpful?

Solution

As user Bjorn Roche pointed out, this is not a very clear question. If you want that exact sound, just output the samples you see there. If you want something similar, that example looks a bit like an amplitude modulated sinusoid.

Generating sines, saws, squares, etc. is pretty straightforward, but also boring. Synthesizing sounds and waveforms is a large field that includes lots of differing approaches. For getting interesting oscillator outputs, you can use a wavetable. Beyond that, you can use standard components and then filter, modulate, etc.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top