Search found 9 matches
- Wed May 06, 2009 12:09 am
- Forum: GBDev
- Topic: Gameboy sound wave channel
- Replies: 18
- Views: 21008
Do you mean linearly interpolate the playback buffer when the sound api is requesting it? So for example the SDL Api periodically requests a copy of the playback buffer for it to play. Is this when I perform the linear interpolation on the buffer? When you say perform linear interpolation I assume y...
- Tue May 05, 2009 7:33 am
- Forum: GBDev
- Topic: Gameboy sound wave channel
- Replies: 18
- Views: 21008
- Mon May 04, 2009 11:49 pm
- Forum: GBDev
- Topic: Gameboy sound wave channel
- Replies: 18
- Views: 21008
Thanks for the reply. I havent been able to reply over the weekend as I have no internet access. I managed to get some progress over the weekend and now you can clearly hear the correct melody being played in all games which is very encouraging. I feel it is still a long way off being finished thoug...
- Thu Apr 30, 2009 11:47 pm
- Forum: GBDev
- Topic: Gameboy sound wave channel
- Replies: 18
- Views: 21008
- Thu Apr 30, 2009 1:07 am
- Forum: GBDev
- Topic: Gameboy sound wave channel
- Replies: 18
- Views: 21008
Thanks for the reply. I've had a stab at the wave pattern channel after reading that doc. It isnt sounding right so im unsure if it is a bug in my code or a misunderstanding with how the wave channel works. This is the algorithm I use for calculating the wave. int CalculateWave ( int numCycles ) { /...
- Wed Apr 29, 2009 1:30 am
- Forum: GBDev
- Topic: Gameboy sound wave channel
- Replies: 18
- Views: 21008
Thanks for the reply Blarrg. I hadnt read that link before I posted I had only read Lord Nightmares GBSOUND.txt and also NESSOUND.txt to see if I could clarify anything in there. I have briefly read that wiki page and it seems fantastic, exactly what I needed. Although I will probably post in this t...
- Tue Apr 28, 2009 11:34 pm
- Forum: GBDev
- Topic: Gameboy sound wave channel
- Replies: 18
- Views: 21008
Gameboy sound wave channel
Hi Guys, First of all it is great to see a gameboy dev forum here as I havent been able to find a decent one on the net. I have a fully working gameboy emulator and now just need to add sound support. I have previously posted on the nesdevemu forum asking for help with square waves because the sound...
- Fri Apr 24, 2009 6:20 am
- Forum: NESemdev
- Topic: Sound Emulation
- Replies: 3
- Views: 5315
Thanks for the reply! The emulator now plays sound, it isnt the correct sound but at least it is sound :D I assume I dont need to do the volume envelope straight away to hear the correct sound because it is only volume. The pitch (or frequency) seems very high on the tune it is playing but the rhyth...
- Fri Apr 24, 2009 12:54 am
- Forum: NESemdev
- Topic: Sound Emulation
- Replies: 3
- Views: 5315
Sound Emulation
Hi guys, I am writing an emulator for learning purposes and have completed it with the exception of sound emulation. I am not writing a NES emulator yet but the console I am emulating sound is very very similar so im hoping you guys can give me a hand. I have no knowledge of how sound emulation is i...