Periodic electric signals can be converted into sound by amplifying them and driving a loudspeaker with them. One way to do this is to simply add various amplitudes of the harmonics of a chosen pitch until the desired timbre is obtained, called additive synthesis. Another way is to start with geometric waves, which are rich in harmonic content, and filter the harmonics to produce a new sound- subtractive synthesis.
Questions tagged [sound-synthesis]
91 questions
1
vote
1 answer
Wavetable Synthesis - WebAudioApi
I am trying to create a wavetable synthesizer using the Web Audio Api. What i would like to achieve is the possibility to linearly swap from a wave form to another one (like Massive or Serum).
For example: starting from a sine wave, i rotate a knob…

Mattia Surricchio
- 1,362
- 2
- 21
- 49
1
vote
0 answers
Connect Modulator to Modulator in FM Synthesis Algorithm
I would like to implement in pure data some Fm synth algorithms and I need to know if my approach is correct.
Let's suppose I have this algorithm:
With pure data, i'm trying to implement it like this:
My concern is about how should I connect…

Mr_LinDowsMac
- 2,644
- 9
- 56
- 75
1
vote
1 answer
What is Synthesizer and Sequencer(javax.sound.midi) in Java?
I want to know the Actual Work of Synthesizer and Sequencer or what did they acually do?

Shubhamhackz
- 7,333
- 7
- 50
- 71
1
vote
2 answers
Webaudio FM Synthesis with two modulators
F is the carrier, and E and D are modulators.
Simple FM Synthesis with only one modulator, is pretty straightforward in webaudio.
var ctx = new AudioContext || webkitAudioContext();
var out = ctx.destination;
// Instantiating
var E =…

Tomasito665
- 1,188
- 1
- 12
- 24
1
vote
0 answers
Android synthesis two tone(or more) to one?
How to synthesis two tone (or more) to one tone and play?
I found playing an arbitrary tone with Android in Playing an arbitrary tone with Android.
Anyone has relevant information?

ken
- 53
- 4
1
vote
1 answer
How to play chords in ASM 8086?
I want to know what is the best way to play more then 1 note at the time in assembly.
If you can, please add a procedure that explain your answer.
Thanks!

Orange
- 79
- 3
- 9
1
vote
1 answer
programmatically create thunder sound that covers specific duration
In a snow-simulation that I implemented there are thunderbolts in the background.
I never before worked with any generic sound effects.
What I am trying to ask is for a way to create a thunderclap sound programmatically so that I can define the…

user3440145
- 793
- 10
- 34
1
vote
0 answers
Sound Synthesis from object collision in Virtual Reality Environment
I have a project whose subject is "Sound Synthesis from object collision in Virtual Reality Environment"
First of all, I have to define some objects with certain attributes (like shape, mass, material) and then I have to create sound from the…
1
vote
2 answers
How to generate sin wave in AS3 without clicks?
I have started using sound to synthesis audio, I don't know why I get those noisy clicks sounds within the sounds?
My loops is:
for(i in 0...2048)
{
var phase:Float = position / 44100.0 * Math.PI * 2;
position+=1;
sample = Math.sin(phase * v); //…

simo
- 23,342
- 38
- 121
- 218
1
vote
1 answer
How to create "nice" sounding notes and music from simple user input?
I want to make something remotely similar to DinahMoe's "plink". In plink you click your mouse to play notes whose pitch is proportional to your mouse height. I can see that the height is divided into multiple "stripes" so you don't have some kind…

s-ol
- 1,674
- 17
- 28
1
vote
2 answers
Recording a WAV file using SuperCollider
I wrote the following code to define a SynthDef that records a sound into the buffer passed as one of the parameters.
(
SynthDef(\recordTone, { |freq, bufnum, duration|
var w = SinOsc.ar(freq) * XLine.ar(101,1,duration,add: -1) / 100;
…

rationalrevolt
- 663
- 1
- 6
- 13
1
vote
1 answer
Synthesizing a realistic bounce sound for maze tilt marble game
In considering the design of marble-in-maze games where you tilt the table to get the ball to the end of the maze without going down one of the holes, I wonder whether anyone here has considered the modelling of the sound of the ball hitting the…

martinr
- 3,794
- 2
- 17
- 15
1
vote
3 answers
What is this ph parameter?
I was testing out this code I found for a little audio app in android and I'm a bit stuck on something.
short samples[] = new short[buffsize];
int amp = 32767;
double twopi = 2*Math.PI;
double fr = 262.f;
double ph = 0.0;
while(isRunning)
{
fr…

Kevin Ossia
- 179
- 1
- 3
- 9
1
vote
1 answer
java DSP synth strange behaviour
I am trying to play a signal saved on a byte array, using javax.sound.sampled.SourceDataLine.
I am trying for a start to play a simple sine wave.
For some frequencies (for instances 1000Hz, 400Hz) it works well, but for others (1001, 440)
I am only…

oded wolff
- 147
- 8
1
vote
1 answer
Generate sine wave to play middle C using PortAudio
I am having trouble generating specific frequencies in PortAudio, whenever I try and change the frequency inside of the sin(n * FREQ * 2 * PI / SAMPLE_RATE) the frequency remains the same however the sound does seem to change in timbre, the higher…

Nicholas Smith
- 58
- 6