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
Doppler/synthesis effect in Android?
In Android, the SoundPool.play API allows for playing sound effects. I'm wondering how I should alter the parameters to achieve a doppler effect:
public final int play (
int soundID,
float leftVolume,
float rightVolume,
int…

l33t
- 18,692
- 16
- 103
- 180
0
votes
2 answers
Arduino Piezo Knock Sensor Play Tones
I would like to hook up several piezos to an arduino so that, when they are activated each piezo plays/triggers a separate tone. For instance, I'll have five piezos connected to the arduino - when I apply pressure to each one they play a separate…

Peter
- 311
- 1
- 7
- 19
0
votes
1 answer
frequency modulation (FM) code snippet
I've written the following code for frequency modulation of an audio signal. The audio itself is 1 sec long, sampled at 8000 Hz. I want to apply FM to this audio signal by using a sine wave with a frequency of 50 Hz (expressed as a fraction of the…

dsp_user
- 2,061
- 2
- 16
- 23
0
votes
2 answers
Which real-time C++ audio libraries work with Xcode 4?
I am wanting to begin a project in C++ which would allow me to create sounds with functions such as float y = sin(2 * PI * f * t);, FM synthesis, and other more complex algorithms`. I am using Xcode 4 on Mac OS X Lion but would like to eventually…

Vortico
- 2,610
- 2
- 32
- 49
0
votes
1 answer
Sound synthesis with PWM output
I'm trying to synthesize sound on the Arduboy, which is a handheld gaming device with an AVR ATMega32u4 microcontroller and a speaker attached between its pins C6 and C7.
My plan is to use timer 4 to generate a high-frequency PWM signal on C7, and…

Cactus
- 27,075
- 9
- 69
- 149
0
votes
0 answers
C#: Double array to NAudio wavestream to play as a looped sample?
An example of what I'm trying to do is this: https://youtu.be/rSRJ4VIoP-A?t=176
Here's an example of an array that I want to play through the speakers as an audio waveform oscillator, a centered sinc function on an array of 256 items.
I'm familiar…

AceOfSpadesProduc100
- 17
- 4
0
votes
1 answer
expected unqualified-id before numeric constant in STK code
I included the The Synthesis ToolKit in C++ (STK) from stanford into my project and when I try to build I get the following error:
error: expected unqualified-id before numeric constant
in the second line written here, from the STK.h: (in the part…

Bersaelor
- 2,517
- 34
- 58
0
votes
1 answer
how to analysis a voice and store the result?
I am thinking to create an application.
Following are the description:
1. People will upload previously recorded conversation to the server.
2. application from the server will detect pitch, speed,emphasis,pronunciation etc of that voice and create…

Md Romel
- 1
- 1
0
votes
0 answers
Why is pysound outputting empty wav files?
I'm trying to make a software synth in Python using Pysound. The first step is to get Pysound to output wav files. I also have a Tkinter window for the user to interact with Pysound. Here is the code I have:
#import libs
from tkinter import *
from…

PhantomZ
- 11
- 1
0
votes
1 answer
Supercollider: scope of variables and arguments for additive synthesis using Mix.fill
I'm quite confused on how to implement parameters in additive synthesis.
I'm trying to implement a system where I can sequence the following parameters: arbitrary number of partials, base frequency. I'm not sure of the feasibility of the arbitrary…

fstab
- 4,801
- 8
- 34
- 66
0
votes
1 answer
How to synthesis multi audio files to one audio file(MP3) and save it with JavaScript
Here are two audio files(.MP3).
A.mp3 & B.mp3
I want to synthesis these files(A & B) using JavaScript and save one file(C).
Please help me.

Anatoliy
- 1
0
votes
0 answers
How to convert LPT code to a sound file (e.g. WAV) using MATLAB
I'm trying to synthesize a long term potentiation (LTP) code in Matlab that I can convert to a sound file. I have been able to synthesize a code but I need help parsing the code, and then converting it to a sound file.
Here is my current…

Joe-izy
- 13
- 2
0
votes
1 answer
Is modulation index = "Out" level in Modulator Operator
I'm reading about Algorithms in Frecuency Modulation. In most synthetizers each algorithm operator have an "Out" level knob, in carriers this knob controls the output volume. For modulators however the level knob decides the amount of change it does…

Mr_LinDowsMac
- 2,644
- 9
- 56
- 75
0
votes
1 answer
Audio synthesis on Android?
I would like to create some instruments for Android using generative audio. I really like SuperCollider, but it doesn't seem to be that far along for Android. Are there any good libraries or techniques for programming audio? I have seen at least two…

Mike
- 963
- 4
- 16
- 38
0
votes
1 answer
How to synthesize a thunder sound with bandpass filter
I am working on synthesizing sound of thunder in MATLAB.
I had generated pink noise and now I'm trying to add bandpass filter on 30Hz, but I am getting the error:
The frequency specifications Fpass, Fstop must have increasing values.
Here's my…

Vadim Tor
- 40
- 9