Dark Bit Factory & Gravity

ARCHIVE => Archive => GFX & sound => Topic started by: p01 on March 20, 2007

Title: sound synthesis ?
Post by: p01 on March 20, 2007
Has anybody worked on a sound synthesis or know some links/ressources about it ?

Sound synthesis/programming has always been a bit mysterious to me. I've watched a few seminars by KB, Gargaj and the likes but I'm musically impaired :p
Title: Re: sound synthesis ?
Post by: Shockwave on March 20, 2007
Saida posted a nice sound synth in asm, here's the link http://dbfinteractive.com/index.php?topic=643.msg7811#msg7811 (http://dbfinteractive.com/index.php?topic=643.msg7811#msg7811)
I think that Taj might give you some advice also, he still comes around here sometimes.. Also I know that some of the other guys are looking at synth programming, hopefully they'll chip in.

Personally it's not something I've looked into as I usually use ufmod for my 'tros :)
Title: Re: sound synthesis ?
Post by: Rbz on March 22, 2007
You can find some info here -> http://in4k.untergrund.net/index.php?title=4k_synth
A nice tutorial for 4k's synth made by Auld/Taj

Btw, I'm also looking for more info about it too...

For now, I can make a simple sine wave and play it, but I need to understand exactly how to make things like "envelope", "attack", "sustain" and some effects.


Title: Re: sound synthesis ?
Post by: p01 on March 22, 2007
:p I already checked in4k. Good materials there.

I do ADSR (http://en.wikipedia.org/wiki/ADSR) envelopes. It's simply altering the amplitude of the waveform(s). In case you don't know, the attack is the time it takes to reach full volume, decay is the time it takes to go down to the sustain level, and release is the time it takes to shut down the volume.

Echo a.k.a. delay is rather easy too. In simple mathematical terms it's like: f(n) = f(n)+f(n-delay)*amplitudeOfTheEcho.

I've tried to modulate the frequency of the sounds as I generate/play them. It sounds ok but honestly I have no idea what I'm doing, nor how to generate something that sound like a proper drum, snare, ... :p
Title: Re: sound synthesis ?
Post by: Rbz on March 22, 2007
Thanks for the info, I really need more time to learn these stuff   :-\
Title: Re: sound synthesis ?
Post by: p01 on March 22, 2007
thanks for the links rbaz and Shockwave.

the Music code and tools..at what sizes? (http://dbfinteractive.com/index.php?topic=1195.0) thread is also interesting. Taj gives quite a few infos ... which reminds me of gargaj's. Aparently the oscillators are not that important, what makes the end result sound good is the effects.
Title: Re: sound synthesis ?
Post by: ferris on March 23, 2007
Yeah, Taj (Or should I say Auld/Titan? ;) ) is very good with this sort of thing.
Title: Re: sound synthesis ?
Post by: taj on April 03, 2007
p01,

I'm not around here much anymore, but if there are specific questions I can help with, drop me a message and then I'll gove you my email.
As for drums...well there are samples in 4ks scattered around the net but most of them are heavyweight I'd say using functions like exp. I'd say this:

1. Drums ramp in amplitude quickly so do something like volume*=0.99998f; at each step and start the volume *high*.
2. Bass is odd. To get it you need to have at least two oscillators of very low frequency *slightly* out of phase. For some
reason we can hear this much better than one oscillator or two harmonics. Gargaj suggests triangle waves. It may be that we here the sharp change in triangles better than sines. Given bass is on the edge of our hearing this may be important.
3. Snare drum...do a normal drum and add noise. You might want to frequency damp the noise but its not necessary. In 4k you cant be fussy.

Chris
Title: Re: sound synthesis ?
Post by: bbear on April 11, 2007
I repost here, because wrong thread so misunderstanding... sorry

what about old Synth/exotic formats (http://www.exotica.org.uk/tunes/formats/index.html) : soundmon, sid, hippel, delta... ?
I already found AHX source replayer, and the BP SoundMon replayer (but a little bit buggy) (see C/C++ section)

how to use these formats ? is the source of Oldskool plugin open ?

or, like Estrayk, it'll be cool to have remakes of some old exotic mods in ahx or mod

(ps: it's for a project I have : do some remakes of old amiga cracktros using c or freebasic with gdi/dx/ogl... for now I only tried with Gdi but I want to use tinyptc/ddraw - here a test (http://cyberpingui.free.fr/skidrow_rb.zip))
Title: Re: sound synthesis ?
Post by: Jim on April 11, 2007
There will be source around for those trackers, you'll just have to hunt for it.

Jim
Title: Re: sound synthesis ?
Post by: bbear on April 18, 2007
sorry, but I can't find some like DM, Sid... please share  :-\
Title: Re: sound synthesis ?
Post by: Jim on April 18, 2007
http://www.google.com.au/search?hl=en&q=sid+player+source&meta= (http://www.google.com.au/search?hl=en&q=sid+player+source&meta=)
Loads of stuff there to look at.

Jim