10k views

### How to implement a digital oscillator?

I have a floating-point digital signal processing system that operates at a fixed sample rate of $f_s = 32768$ samples per second implemented using an x86-64 processor. Assuming that the DSP system ...
1k views

### Help with algorithm for modulating oscillator pitch using LFO

I am developing a software emulation of an analog synthesizer. I am trying to modulate the pitch of an oscillator using an LFO. For each sample fed to the computer's sound system, I am calculating ...
844 views

### What is the most computationally efficient way to generate 100 sine waves layered on top of each other?

Right now I simply do this (pseudocode) for freq in freqs: for i in len(samples): samples[i] += sin(...) Is there a better way? This is for ...
2k views

### Frequency Modulation Synthesis Algorithm

Based on what I read, I've made an algorithm for FM sound synthesis. I'm not sure if I did it right. When creating a software synth instrument a function is used to generate an oscillator and a ...
406 views

### Sum of sines sound wave using microcontroller

I need to produce a signal which contains only several frequencies, for example, 17KHz, 17.2 kHz,17.6 kHz. The components I'm using are microcontroller (PIC16F1783 by microchip) which works at 80 kHz ...
296 views

### How to determine precision needed for sin approximation used for sound synthesis?

I am doing some procedural sound synthesis in Java. I want to have a sine wave as one of the possible basic sounds. When experimenting with that, I have found the default Java ...
954 views

### How to process/generate a phase shifted frequency varying sine wave?

I want to phase shift an incoming sine wave with varying frequency but I am unsure how to go about doing so in practical terms. A little more info regarding the requirements: I have an encoder ...
199 views

### Generating a sound where end frequency is 1/2 of the start frequency

I am very very new to signals, and I am trying to generate sounds based on some parameters from a database. So, the database stores the following: startFrequency endFrequency startAmplitude ...