how make simple sound effects like a coin, fanfarias etc. w/o SD cards
lcyepiz
Posts: 26
I traying to make a game , i traying to make sound effects
like coin, gun fire, winner sound, lost sound effects etc
but without SD card, the more simple sound producer.
thank in advance
like coin, gun fire, winner sound, lost sound effects etc
but without SD card, the more simple sound producer.
thank in advance
Comments
About the same way as the 6581/8580 SID or AY/YM chips works.
It really shouldn't be too hard if you have any experience with PSGs and ASM.
Example registers:
Address - function
$xx00 OSC1 - frequency LSB
$xx01 OSC1 - frequency MSB
$xx02 OSC1 - waveform type
$xx03 OSC1 - duty cycle
$xx04 OSC1 - volume
.
.
.
$xx10 OSC2 - frequency LSB
'
'
And so on...
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Timothy D. Swieter, E.I.
www.brilldea.com - Prop Blade, LED Painter, RGB LEDs, 3.0" LCD Composite video display, eProto for SunSPOT
www.tdswieter.com
Try HSS http://forums.parallax.com/showthread.php?p=604722
It's quite easy to produce nice sound effects, I did an envelope editor some time ago, I'll try and dig it out.
Regards,
Coley
EDIT: Attached is a very simple envelope/waveform editor, I knocked it up to make the sounds for Baggers' Frogger Game
(you'll have to rename the attached file to .zip)
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
PropGFX - The home of the Hybrid Development System and PropGFX Lite
Post Edited (Coley) : 4/18/2009 9:20:20 AM GMT
@ Timothy D. Swieter
Nice !
This is my first look at the HSS, and it seems like a pretty competent little PSG.
It's about the same degree of complexity as the PSG in the PC engine.
I managed to code a complete implementation of it in less than 100 rows of code for my PCe/Turbografx16 emulator.
That is how simple those PSGs were back in the days (SID is an exception of course)
to compress the sounds that you need. This post is written assuming that the problem here is space. I, however, would like to know how you make a sound WITH an SD card.
If you own a Hydra Game Development kit then you can use the source for sound on it. I have attached some sound objects from the Hydra CD. If this is illegal to copy
please tell me!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Toys are microcontroled.
Robots are microcontroled.
I am microcontrolled.