SFX GEN(genarate sounds,and genarate FB code) UPDATED 1.1
SFX GEN(genarate sounds,and genarate FB code) UPDATED 1.1
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
core is based on angros47,D.J.Peters sound code i found some where here
down
http://jadogg.phatcode.net/sfx_gen.zip
Last edited by JaDogg on Mar 22, 2010 11:09, edited 2 times in total.
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)
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)
-
- Posts: 8586
- Joined: May 28, 2005 3:28
- Contact:
I had cited your name in my post: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:
http://www.freebasic.net/forum/viewtopic.php?t=12733
I couldn't write my program whitout yours.
Thanks.D.J.Peters wrote: nice interface and cool DSP algo from angros47
Joshy
Reminds me of this:
http://www.superflashbros.net/as3sfxr/
http://www.superflashbros.net/as3sfxr/
sorry i didnt knewD.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
i didnt read other stuff in angros47 post so i didnt notice it
now you are properly credited
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
-
- Posts: 2428
- Joined: Jul 19, 2006 19:17
- Location: Sunnyvale, CA
- Contact:
Re: SFX GEN(genarate sounds,and genarate FB code) UPDATED 1.1
Does anyone have that zip file around? I kind of lost it :(