#126561 - Bmw1000c - Tue Apr 24, 2007 2:27 pm
Hey,
i was surfing in this forum, and an idea came to me:
- what about a HB that sends to DS what the computer listens (wave) and send to computer what DS microphone's record?
Is this a good idea?
#126562 - Lynx - Tue Apr 24, 2007 2:41 pm
Very interesting idea..
_________________
NDS Homebrew Roms & Reviews
#126565 - kusma - Tue Apr 24, 2007 2:57 pm
I'm not sure I understand the idea... Is the idea to use something like Speex to compress audio back and forth from the DS to a PC host, acting something like a wireless headset?
edit: added link
#126567 - Bmw1000c - Tue Apr 24, 2007 4:11 pm
yes, that's it, a wireless headphone, i thought on this HB to replace my teamspeak 2 DS idea, because it's much harder to do.
thanks in advance.
#126581 - Lynx - Tue Apr 24, 2007 7:42 pm
I thought of it more as a covert listening device, as you could set a DS pretty much anywhere without much notice (in a home envirnment).
_________________
NDS Homebrew Roms & Reviews
#126583 - tepples - Tue Apr 24, 2007 8:02 pm
So it'd be impossible to make such a program without an obvious bug in it, right? Between this and Animal Crossing insect hunting, you can figure out why I tend to call software bugs "defects" instead of "bugs" nowadays.
And you wouldn't really need a codec such as Speex. Speex has limitations when a non-speech audio such as background music or television sound is playing, and more CPU time means more current drawn from the battery. Given the following engineering constraints: - Telephone quality audio (8000 Hz mono)
- Full-duplex audio (simultaneous send and receive), even on a half-duplex packet-switched medium
- Forward error correction to cope with nominal amounts of packet loss
you can squeeze everything into 100 kbit/s, well short of the DS Wi-Fi chipset's 2000 kbit/s maximum. That's two 32 kbit/s IMA ADPCM streams plus packet overhead plus forward error correction.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#126591 - sonny_jim - Wed Apr 25, 2007 12:21 am
I'm waiting for microphone support to be fixed in DSLinux, then hopefully it should be pretty easy. You could set it up to record remotely using ssh and have it save the files via NFS.
#126596 - Lick - Wed Apr 25, 2007 2:12 am
Using DSWifiLib I have an average speed of 25KB/s, but when I'm *almost* out of range that boosts up to 49KB/s (!). Tepples' protocol would work I guess.
_________________
http://licklick.wordpress.com
#126625 - Lynx - Wed Apr 25, 2007 4:40 am
Well, I'm sitting next to my AP pretty much all the time... I've downloaded from DragonMinded's database at 100KBps.
Edit: That is a 3 to 4 meg file and it stays in the 90-100KBps range even while writing to CF (GBA MP) or SD (R4) card.
_________________
NDS Homebrew Roms & Reviews
Last edited by Lynx on Wed Apr 25, 2007 7:07 pm; edited 1 time in total
#126656 - sonny_jim - Wed Apr 25, 2007 6:09 pm
Using SCP, FTP and NFS under DSLinux I only ever see a peak transfer of 120KB/s that drops down to around 20-50KB/s after it starts writing to SD.
#127655 - Bmw1000c - Thu May 03, 2007 9:20 pm
so.. is any1 working on this? or any1 have idea to work on this?
#128545 - Jevin - Sat May 12, 2007 4:02 pm
I've been working on streaming vorbis and theora to the DS (after I get playback from DLDI working). I can imagine that it wouldn't be too hard to encode the microphone sound with uLaw (easier) and send that back to the PC (harder).
#128563 - tepples - Sat May 12, 2007 6:50 pm
ADPCM > uLaw, but otherwise you have the right idea.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.
#128566 - Bmw1000c - Sat May 12, 2007 7:51 pm
gr8 news, glad to hear that :D