No sound on the GB target?

Discussion about other targets
Post Reply
Fabrizio
Member
Posts: 114
Joined: Tue Jul 11, 2017 9:28 pm

No sound on the GB target?

Post by Fabrizio »

Hi everyone!
I am trying to produce some very simple sounds with the GB target but so far I have not managed to produce any sound.

I have tried to do something like:
https://gist.github.com/gingemonster/60 ... 8c84772c9a
but I hear no sound.
In the example above sounds seem to be programmed by setting some variables mapped to audio registers.

Is there any example with Z88DK?
I found no example with sound in https://github.com/z88dk/z88dk/tree/master/examples/gb
User avatar
dom
Well known member
Posts: 2072
Joined: Sun Jul 15, 2007 10:01 pm

Re: No sound on the GB target?

Post by dom »

I've just tried this (I removed the delay call) in bgb and got some sound out.

There's no example, but it should be the same as with gbdk.
Fabrizio
Member
Posts: 114
Joined: Tue Jul 11, 2017 9:28 pm

Re: No sound on the GB target?

Post by Fabrizio »

I have tried:
https://github.com/Fabrizio-Caruso/CROS ... b_sounds.h
but I could hear no sound.
I must have done something wrong.
Timmy
Well known member
Posts: 392
Joined: Sat Mar 10, 2012 4:18 pm

Re: No sound on the GB target?

Post by Timmy »

That code in the first link works if you just remove the delay code. I've tried it last year.

It's probably your emulator or computer.

I can post a sample code if you really need it.
Fabrizio
Member
Posts: 114
Joined: Tue Jul 11, 2017 9:28 pm

Re: No sound on the GB target?

Post by Fabrizio »

Indeed the problem is the emulator Emulicious, which produces no sound.

I get sound on VisualGameBoyAdvance emulator.
Post Reply