SFX GEN(genarate sounds,and genarate FB code) UPDATED 1.1

User contributed sources that have become inactive, deprecated, or generally unusable. But ... we don't really want to throw them away either.
Post Reply
JaDogg
Posts: 345
Joined: Apr 13, 2008 12:11
Location: Sri Lanka - Negombo
Contact:

SFX GEN(genarate sounds,and genarate FB code) UPDATED 1.1

Post by JaDogg »

A simple sfx gen program
core is based on angros47,D.J.Peters sound code i found some where here

down
http://jadogg.phatcode.net/sfx_gen.zip
Image
Last edited by JaDogg on Mar 22, 2010 11:09, edited 2 times in total.
Landeel
Posts: 777
Joined: Jan 25, 2007 10:32
Location: Brazil
Contact:

Post by Landeel »

Hah, this is amazing!!! I will use it to generate sound effects for my game, if you don't mind.
angros47
Posts: 2321
Joined: Jun 21, 2005 19:04

Post by angros47 »

Very good!

I'm glad to see that my work has been useful.
JaDogg
Posts: 345
Joined: Apr 13, 2008 12:11
Location: Sri Lanka - Negombo
Contact:

Post by JaDogg »

cool

BTW angros47 are labels correctly named ?
angros47
Posts: 2321
Joined: Jun 21, 2005 19:04

Post by angros47 »

Labels should be fixed: actually there is no "Timbre" parameter, and the envelope parameters are Attack, Decay, Sustain, Release

So:
"Timbre" should become "Attack"
"Attack" should become "Decay"
"Decay" should become "Sustain"
"Sustain" should become "Release"

This article on Wikipedia show how envelope works:
http://en.wikipedia.org/wiki/Synthesizer#ADSR_envelope

Of course, even MTimbre, MAttack... should be changed in the same way (the M means "modulator", because in FM synthesis even the modulator wave has an envelope)
D.J.Peters
Posts: 8586
Joined: May 28, 2005 3:28
Contact:

Post by D.J.Peters »

And who programmed Preparebuffer hi hi
but it's here on the forum normal one person make a copy
of any code edit two lines and post it without any note of it's original athor
same with the video capture code i wrote :lol:

nice interface and cool DSP algo from angros47

Joshy
angros47
Posts: 2321
Joined: Jun 21, 2005 19:04

Post by angros47 »

D.J.Peters wrote:And who programmed Preparebuffer hi hi

but it's here on the forum normal one person make a copy
of any code edit two lines and post it without any note of it's original athor
same with the video capture code i wrote :lol:
I had cited your name in my post:

http://www.freebasic.net/forum/viewtopic.php?t=12733

I couldn't write my program whitout yours.
D.J.Peters wrote: nice interface and cool DSP algo from angros47

Joshy
Thanks.
Ophelius
Posts: 428
Joined: Feb 26, 2006 1:57

Post by Ophelius »

JaDogg
Posts: 345
Joined: Apr 13, 2008 12:11
Location: Sri Lanka - Negombo
Contact:

Post by JaDogg »

D.J.Peters wrote:And who programmed Preparebuffer hi hi
but it's here on the forum normal one person make a copy
of any code edit two lines and post it without any note of it's original athor
same with the video capture code i wrote :lol:

nice interface and cool DSP algo from angros47

Joshy
sorry i didnt knew
i didnt read other stuff in angros47 post so i didnt notice it
now you are properly credited
JaDogg
Posts: 345
Joined: Apr 13, 2008 12:11
Location: Sri Lanka - Negombo
Contact:

Post by JaDogg »

updated check SCREENSHOT

Code: Select all

BIRD_CHIRP
---------------
Frequency=1994
Duration=3
MaxVolume=256
Attack=0.82
Decay=1.24
Sustain=0.69
Release=1.39
MFrequency=9
ModStart=46
MaxModulator=98
MAttack=0.79
MDecay=1.54
MSustain=0.62
MRelease=1.34
ModulatorFNC=SIN
WaveformFNC=SIN

JUMP
---------------
Frequency=119
Duration=3
MaxVolume=256
Attack=0
Decay=0.42
Sustain=0
Release=0
MFrequency=16
ModStart=48
MaxModulator=58
MAttack=0.22
MDecay=0.62
MSustain=0.35
MRelease=0.01
ModulatorFNC=SIN
WaveformFNC=SIN

TOYGUN
---------------
Frequency=434
Duration=3
MaxVolume=256
Attack=0.06
Decay=0.08
Sustain=0.03
Release=0.61
MFrequency=45
ModStart=14
MaxModulator=8
MAttack=0
MDecay=0.06
MSustain=0.17
MRelease=0.13
ModulatorFNC=SIN
WaveformFNC=SIN

OWL
---------------
Frequency=338
Duration=3
MaxVolume=256
Attack=0.59
Decay=0.19
Sustain=0.63
Release=0.13
MFrequency=17
ModStart=0
MaxModulator=46
MAttack=0.06
MDecay=0.09
MSustain=0.15
MRelease=1.56
ModulatorFNC=SIN
WaveformFNC=SIN


ATTACK
---------------
Frequency=433
Duration=3
MaxVolume=512
Attack=0.22
Decay=0.5
Sustain=0.97
Release=1.75
MFrequency=246
ModStart=97
MaxModulator=6
MAttack=1.19
MDecay=0.78
MSustain=1.34

BUBLE_ATTACK
---------------
Frequency=1761
Duration=1
MaxVolume=256
Attack=0.14
Decay=0
Sustain=0.02
Release=0.72
MFrequency=44
ModStart=71
MaxModulator=77
MAttack=1.53
MDecay=1.28
MSustain=0.74
MRelease=1.51
ModulatorFNC=SIN
WaveformFNC=SIN
MRelease=1.11
ModulatorFNC=SIN
WaveformFNC=SIN
KristopherWindsor
Posts: 2428
Joined: Jul 19, 2006 19:17
Location: Sunnyvale, CA
Contact:

Post by KristopherWindsor »

Good work everyone. :)
JaDogg
Posts: 345
Joined: Apr 13, 2008 12:11
Location: Sri Lanka - Negombo
Contact:

Re: SFX GEN(genarate sounds,and genarate FB code) UPDATED 1.1

Post by JaDogg »

Does anyone have that zip file around? I kind of lost it :(
Post Reply