M
M
Maxim Fedin2021-10-20 19:08:04
Audio
Maxim Fedin, 2021-10-20 19:08:04

What are the formulas for generating functional audio signals?

Available signal format 44100 16bit stereo and formulas for generating sine and rectangles.
Omega w = 2 * PI * Frequency
t = Iteration / 44100 + tPrevious
SinusSample = sin(w * t)
How to make triangular waveform generation and sawtooth?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Fedin, 2021-12-20
@madpsychocell

And you can even add waveforms and divide by their number.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question