I tried implementing the sound wave generation looping through hard-coded samples rather than algorithmically, but I have issues with the current implementation. The basic approach is straightforward but it took a couple of days to debug and the result still doesn't sound right. Apart from the output sounding lower quality, it is clearly out of tune....
- Viewing Profile: Journal: Trapper Zoid
Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics
Community Stats
- Group GDNet+
- Active Posts 6,015
- Profile Views 2,935
- Member Title GDNet+
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
Awards
-
Awards
Outstanding Forum Member
Blog post contributor
1348
Excellent
User Tools
Contacts
Trapper Zoid hasn't added any contacts yet.
Journal Entries
#ifdef TRAPPER_ZOID > Sound wave generator - quick update
Posted 19 August 2012
#ifdef TRAPPER_ZOID > Buzzer Trio
Posted 09 August 2012
While implementing the tone generators in software I figured there's little reason not to simulate the actual clock speed of the hardware, at least to begin with. It means doing about six times as many calculations, averaging out the half a dozen sound values to the single one at 44100Hz rate sent to PortAudio. But when we're talking about a few odd...
#ifdef TRAPPER_ZOID > SN76489 - Partying like its 1984
Posted 08 August 2012
For my little retro-sounding software audio system, the sound chip I'm looking for inspiration is the Texas Instruments SN76489. It, its variants and various clones were used in a lot of hardware from the eighties, like the Sega Master System and the Game Gear, the ColecoVision, the BBC Micro and the IBM PCJr/Tandy 1000. I'm not trying to directly...
#ifdef TRAPPER_ZOID > Things that go beep
Posted 07 August 2012
I've been looking deeper into the audio system of Allegro 5, looking to see if I can do some tone generation for some retro-sounding bleeps. It turns out that Allegro 5's audio system isn't the best for this kind of thing.
Generating waveforms is simple enough. What I needed was a way to get my raw data from my own data structure to the OSes...
Generating waveforms is simple enough. What I needed was a way to get my raw data from my own data structure to the OSes...
#ifdef TRAPPER_ZOID > Initial thoughts on Allegro 5
Posted 03 August 2012
I've got a simple "try all the basics" program running using Allegro 5 - bouncing bitmap with sound effects, playing music with an on-screen FPS counter using the font system and outputting keystrokes to the debug console. Nearly everything seems to be working fine. The only thing I haven't got working is tracker music formats, but since...
- Home
- » Viewing Profile: Journal: Trapper Zoid

Find content