gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS development > hardware effects in audio

#41235 - haruguchan - Tue Apr 26, 2005 8:04 pm

while i was playing mario i found a bug that made a echo effect to stay active until i shut off the console. i returned to menu, and found that the echo effect was also present in the minigames. so, it seems that there are audio effects in hardware and they are accesed via registers.

#41256 - Spaceface - Wed Apr 27, 2005 12:02 am

92 views and no lovin' for this guy... someone talk to him.

#41260 - dagamer34 - Wed Apr 27, 2005 12:10 am

No one has dealt much with audio yet. It is often ... ignored.
_________________
Little kids and Playstation 2's don't mix. :(

#41264 - Cleon I - Wed Apr 27, 2005 12:29 am

I remember someone mentioning this a long time ago, just after the DS was released. It seems that the bug has been fixed in newer versions (I think?) Good observations on the possible cause, though.

#41276 - DiscoStew - Wed Apr 27, 2005 1:51 am

Cleon I wrote:
I remember someone mentioning this a long time ago, just after the DS was released.

That would be me. =)

I have yet to run into this bug again, but for those who are wondering, there is an easy fix to this if you have the older version. Just close your DS to put it in sleep mode, then re-open it. Simple as that.

Here's my perspective on why this works (even though I barely know much about sleep mode myself)...
What I believe this does is shut down the audio/video components, and re-initializes them with data that was saved before setting sleep mode. This data is determined by what the developer wants it to be, so since this random 'bug' wasn't intended with this data, it doesn't get added, and therefore is not present after the sleep mode.

As for audio effects in hardware, I believe there are, but until there is concrete evidence, I can only speculate.
_________________
DS - It's all about DiscoStew

#41292 - Costis - Wed Apr 27, 2005 3:43 am

Hi guys,

Echo effects can be done by using the sound capture interface to record raw sound output to memory and then play it back again mixed with the currently playing audio. Thus, if this interface is left enabled, all generated sound will have an echo effect generated by the DS sound hardware.

Best Regards,
Costis

#41294 - dagamer34 - Wed Apr 27, 2005 4:17 am

Costis wrote:
Hi guys,

Echo effects can be done by using the sound capture interface to record raw sound output to memory and then play it back again mixed with the currently playing audio. Thus, if this interface is left enabled, all generated sound will have an echo effect generated by the DS sound hardware.

Best Regards,
Costis


I didn't know you were a moderator.
_________________
Little kids and Playstation 2's don't mix. :(

#41296 - tepples - Wed Apr 27, 2005 4:56 am

Wow. It seems that more output of the Nintendo DS's subsystems is observable by the program than on any of the system's predecessors: the 3D core output (used by the dual-screen 3D trick for the sub-screen) and now the audio mixer output (used by echo). Perhaps Niиtendo will open a can of anti-emulation whoop-@$$ in its future titles, by rendering a test scene and then halting if it doesn't match stored data down to individual roundoff errors. Say good-bye to any chance of high-level emulation like what is typically done for the PS1 and N64 video cores in PC-based emulators.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.