Gameboy Development Forum

Discussion about software development for the old-school Gameboys, ranging from the "Gray brick" to Gameboy Color
(Launched in 2008)

You are not logged in.

#1 2018-07-30 23:52:01

26F
Member
Registered: 2018-07-25
Posts: 13
Website

Anyone got a working version of piano.c/piano.gb

I've been reading the source code of midspace22 which I found here:

http://gbdev.gg8.se/forums/viewtopic.php?id=507

and I noticed the use of unsigned char for the notes for the game music. There is this table I found here:

http://www.devrs.com/gb/files/sndtab.html

which seems to have 16-bit values for the sound. I also noticed that in piano.c that the values where 16-bit for the audio.
Does anyone have a working copy of piano.c because mine doesn't work on real hardware or on bgb.

I'm interested in getting sound and music working using gbdk and want 16-bit values.

Anyone got source code in C that can do this?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson