Author Topic: sound synthesis ?  (Read 6495 times)

0 Members and 1 Guest are viewing this topic.

Offline p01

  • Atari ST
  • ***
  • Posts: 158
  • Karma: 51
    • View Profile
    • www.p01.org
sound synthesis ?
« 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

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: sound synthesis ?
« Reply #1 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
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 :)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: sound synthesis ?
« Reply #2 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.


Challenge Trophies Won:

Offline p01

  • Atari ST
  • ***
  • Posts: 158
  • Karma: 51
    • View Profile
    • www.p01.org
Re: sound synthesis ?
« Reply #3 on: March 22, 2007 »
:p I already checked in4k. Good materials there.

I do 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

Offline Rbz

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 2757
  • Karma: 493
    • View Profile
    • https://www.rbraz.com/
Re: sound synthesis ?
« Reply #4 on: March 22, 2007 »
Thanks for the info, I really need more time to learn these stuff   :-\
Challenge Trophies Won:

Offline p01

  • Atari ST
  • ***
  • Posts: 158
  • Karma: 51
    • View Profile
    • www.p01.org
Re: sound synthesis ?
« Reply #5 on: March 22, 2007 »
thanks for the links rbaz and Shockwave.

the Music code and tools..at what sizes? 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.

Offline ferris

  • Pentium
  • *****
  • Posts: 841
  • Karma: 84
    • View Profile
    • Youth Uprising Home
Re: sound synthesis ?
« Reply #6 on: March 23, 2007 »
Yeah, Taj (Or should I say Auld/Titan? ;) ) is very good with this sort of thing.
http://iamferris.com/
http://youth-uprising.com/

Where the fun's at.
Challenge Trophies Won:

Offline taj

  • Bytes hurt
  • DBF Aficionado
  • ******
  • Posts: 4810
  • Karma: 189
  • Scene there, done that.
    • View Profile
Re: sound synthesis ?
« Reply #7 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
Challenge Trophies Won:

Offline bbear

  • C= 64
  • **
  • Posts: 87
  • Karma: 4
    • View Profile
    • Legacy
Re: sound synthesis ?
« Reply #8 on: April 11, 2007 »
I repost here, because wrong thread so misunderstanding... sorry

what about old Synth/exotic formats : 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)

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: sound synthesis ?
« Reply #9 on: April 11, 2007 »
There will be source around for those trackers, you'll just have to hunt for it.

Jim
Challenge Trophies Won:

Offline bbear

  • C= 64
  • **
  • Posts: 87
  • Karma: 4
    • View Profile
    • Legacy
Re: sound synthesis ?
« Reply #10 on: April 18, 2007 »
sorry, but I can't find some like DM, Sid... please share  :-\

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: sound synthesis ?
« Reply #11 on: April 18, 2007 »
Challenge Trophies Won: