#101804 - biolizard89 - Fri Sep 08, 2006 4:23 am
According to The Audio Advance at http://belogic.com/gba/, the maximum frequency for sound channels 1 and 2 is 131kHz. I'm wondering whether beeps with such a high frequency can actually be played over the built-in GBA speaker. Specifically, I would like to play a 40kHz beep over the built-in speaker; is this possible? Does it matter whether I use a GBA, GBASP, GB Micro, DS, or DS Lite (I don't care if I have to use a specific one, but if it requires a DS, it would have to work in GBA mode, since I don't have DS libraries for my project)?
In case anyone's wondering why the heck I would want to play a 40kHz beep when it's inaudible to humans, I'm using a Charmed Labs Xport Botball Controller (robotics controller which uses the GBA for processing purposes) along with an SRF04 sonar sensor (which uses 40kHz sound pings). I would like the GBA speaker to be able to trigger the sonar's listening circuitry by emitting a beep at the same frequency that the sonar is listening for (40kHz). I don't know for a fact that it will work, but I'm just wondering if the GBA's built-in speaker makes it impossible to use such high frequencies.
Sorry if this is a stupid question; I couldn't find any such information anywhere.
Thanks in advance.
In case anyone's wondering why the heck I would want to play a 40kHz beep when it's inaudible to humans, I'm using a Charmed Labs Xport Botball Controller (robotics controller which uses the GBA for processing purposes) along with an SRF04 sonar sensor (which uses 40kHz sound pings). I would like the GBA speaker to be able to trigger the sonar's listening circuitry by emitting a beep at the same frequency that the sonar is listening for (40kHz). I don't know for a fact that it will work, but I'm just wondering if the GBA's built-in speaker makes it impossible to use such high frequencies.
Sorry if this is a stupid question; I couldn't find any such information anywhere.
Thanks in advance.