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.

Ads

#1 2014-08-11 12:56:42

Nozban
New member
Registered: 2014-08-11
Posts: 5

GBDK sound problem

Hi everyone ! I recently begin the development of a little software that just play some random sound when I push on directional key.

It works perfectly on virtual boy, but when I try it on my EMS USB smart card, there is no sound. But I can here a little noise that shows sound is enable.

I tried on my GB dmg and GBA sp.
Sound works perfectly with other games (LSDJ Tetris...)

Here is the rom and source code : http://www.mediafire.com/download/3wpkb … dsound.rar

Thank you.

Offline

 

#2 2014-08-12 08:31:27

a cat
Member
Registered: 2014-07-27
Posts: 98

Re: GBDK sound problem

sorry i don't know allot about sound on the gameboy but
there is no sound on my emulator bgb


a cat in need of knowledge!!

Offline

 

#3 2014-08-12 08:31:48

AntonioND
Member
Registered: 2014-06-17
Posts: 122
Website

Re: GBDK sound problem

Please, don't use Virtual Boy... Use one of:

-BGB: http://bgb.bircd.org/
-Gambatte: http://sourceforge.net/projects/gambatte/
-VBA-M: http://vba-m.com/

Offline

 

#4 2014-08-12 13:03:58

Nozban
New member
Registered: 2014-08-11
Posts: 5

Re: GBDK sound problem

Thanks for advice. I tried BGB and  I have no sounds either. This is my first homebrew so maybe there is something that I missed.

Offline

 

#5 2014-08-24 06:56:40

humbleTUNE
New member
Registered: 2014-08-24
Posts: 1

Re: GBDK sound problem

Cheers Nozban that sample really helped me, as I couldn't get the sound.c example to compile. To help you if you haven't already figured it out, it seems you have to set the NR52_REG first, before setting the volume and stuff. That made it work with the bgb emulator for me anyway.

Thanks

ERik

Last edited by humbleTUNE (2014-08-24 06:56:57)

Offline

 

#6 2014-08-26 11:09:28

Mills
Member
Registered: 2012-12-21
Posts: 132

Re: GBDK sound problem

Use GBT Player. It is very easy to use and you can create music very fast.
You can also create and reproduce a lot of FX smile

https://github.com/AntonioND/gbt-player

Last edited by Mills (2014-08-26 11:11:30)

Offline

 

#7 2014-08-26 11:16:03

Nozban
New member
Registered: 2014-08-11
Posts: 5

Re: GBDK sound problem

Thank you very much Erik, I hadn't already fixed it and now it works.

Offline

 

#8 2014-08-26 11:23:26

Nozban
New member
Registered: 2014-08-11
Posts: 5

Re: GBDK sound problem

Thanks Mills, that's not what I'm searching for my project but it seem to be interesting. I wanna try it.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson