Questions tagged [sound-synthesis]

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.

91 questions
0
votes
1 answer

Python Pyo midi keyboard simulate

I looking to develop a synth with python and Pyo. I'd like to use my computer keyboard as a midi keyboard to play melodies. How can I fake my computer keyboard as a midi keyboard? thx
fraba
  • 1
  • 1
0
votes
2 answers

How to include durations in an instrument definition in Csound

Using the function oscil, I define an oscillator bank with given frequencies and amplitudes: instr 1 a1 oscil .3, 110 outs a1,a1 a2 oscil .2, 220 outs a2,a2 a3 oscil .1, 330 outs a3,a3 endin I know that I can set…
Karlo
  • 1,630
  • 4
  • 33
  • 57
0
votes
2 answers

Generating sound on Android with OpenSL ES

I'm making audio app on Android and I have simple generation of three types of sound waves - Sine, Sawtooth and Square. Generating of waves is fine. I printed out the result and it's looking good. But the sound is weird. Here is what I…
Syntey
  • 147
  • 1
  • 15
0
votes
0 answers

Audio synthesis on Android with OpenSL ES

I'm making audio app on Android with use of some synthesis, FM or AM. I'm using OpenSL for lower latency. I used Audiotrack library and latency was horible, but making a sound is way easier than with OpenSL. I started with Native Audio project.…
Syntey
  • 147
  • 1
  • 15
0
votes
1 answer

Convert ultrasound time trace to .wav

I'm interested in converting an ultrasound time trace (voltage generated by the piezoelectric element of the ultrasound transducer VS time) to a .wav file. My goal is to take advantage of the plethora of .wav/.mp3 javascript libraries to gain more…
0
votes
1 answer

Wavetable sampling variation

I am interested in making a simple digital synthesizer to be implemented on an 8bit MCU. I would like to make wavetables for accurate representations of the sound. Standard wavetables seem to either have a table for several frequencies or to have a…
0
votes
1 answer

Huge latency while playing sampled sound javax.sound.sampled

I have a working soft-synth, which outputs and plays samples correctly, however I have a huge latency, about one second. My code is based of an article found here: http://www.drdobbs.com/jvm/creating-music-components-in-java/229700113?pgno=2 Did I…
0
votes
2 answers

How can I send audio from Processing to ChucK/Pure Data over OSC?

I have a Processing program which derives a string of information which will eventually be turned into sound. This is similar to how photo sounder works, or metasynth, where pixels are turned into sound. I am hoping to be able to stream a portion of…
nosarious
  • 309
  • 1
  • 12
0
votes
1 answer

How does stk::SineWave calculate a sine?

I'm new to C++ and I'm trying to understand the SineWave class from the Synthesis Toolkit. The description says: This class computes and saves a static sine "table" that can be shared by multiple instances. It has an interface similar to the…
John Thompson
  • 1,674
  • 1
  • 20
  • 35
0
votes
3 answers

Trouble creating function to adjust volume up and down on Tone really fast (in milliseconds)

Basically I'm using AS3 to generate a tone. I need to be able to pass my function an array which would look something like {0,50,100,0,20,500,200,100} each representing milliseconds. It would just be like "off, on, off, on,off" ect and I need the…
brybam
  • 5,009
  • 12
  • 51
  • 93
0
votes
1 answer

Does choice of sound card effect timidity's performance?

I'm working on web application which will be using timidity++ to converting midi file into wav file. I know that it will not work without sound card, so I must have server with it. My question is: Is the used sound card will impact to the speed of…
ghi
  • 697
  • 2
  • 9
  • 20
0
votes
1 answer

STK callback oscillator issue with virtual function

I am working on one of the STK programs using a Sine Oscillator callback. I am having issues when creating an object from my ToneGen class that inherits from the Generator Class due to a Virtual function in the Generator class that causes my…
Alex
  • 11
  • 3
-1
votes
2 answers

Generating Swept Sine waves

How can I formulate an equation for generating a swept sine wave. I am new to signal processing and cannot find much about the topic of generating swept sine waves online. Please point me to some sources that I can use to generate an equation and…
user3453339
  • 77
  • 1
  • 1
  • 9
-1
votes
1 answer

Preventing notification sounds from interfering with sound app

I'm making a synth kind of app for the iPad. Problem is - whenever I'm playing and someone messages me, the sound lowers the synth app's sound. It is kind of disruptive. How do I prevent this? Maybe you can see the notifications but the sounds…
lppier
  • 1,927
  • 3
  • 24
  • 62
-1
votes
1 answer

How can i play Two different Sounds in two Buses in AUGraph

Hey Folks Can any1 help me out,How can i play Two Different Sounds in two Different Buses separately in AUGraph.(i.e like One bus is having one sound and another bus having other sound ,i need to play those two sounds separately), Any Help can be…
Madhu
  • 869
  • 1
  • 17
  • 37