Dreamcast Microphone Successfully Hacked

This forum is for discussion pertaining to homebrew and indie software for the Dreamcast, such as homebrew games, emulators/interpreters, and other homebrew software/applications. Porting requests and developmental ideas are not to be made here; you can make those here. If you need any help burning discs for homebrew software, this is the place to ask as well.
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5384
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has liked: 1 time
Been liked: 11 times
Contact:

Dreamcast Microphone Successfully Hacked

Post by BlueCrab » Wed Jul 27, 2005 1:26 am

Well, this evening (heh, evening), I've managed to successfully hack together some code to access/use the Dreamcast Microphone (the one you'd get with Seaman). More info will be forthcoming in the morning, when I get up.

I'd like to leave you with this little sound clip I recorded off my mic:
http://www.ljsdcdev.net/dcmic2.ogg
This sound clip is what I believe to be the 2nd ever thing recorded off of a dreamcast mic using homebrew code.

PS, I wasn't quite sure where to post this one, so, I figured I'd post it here. :wink:

PPS: You'll probably have to turn the volume on your speakers up pretty loud, its kinda faint.
Last edited by BlueCrab on Wed Jul 27, 2005 1:29 am, edited 1 time in total.
User avatar
Hawke
Wastelander
Posts: 961
Joined: Wed May 01, 2002 11:37 am
Location: Skies of Canadia
Has liked: 0
Been liked: 0

Post by Hawke » Wed Jul 27, 2005 1:27 am

I am the first EVAR !!!

EDIT: To hear crabbie that is ^_^
______________
Image
I met a cyclops once - I wasn't sure if he winked or blinked at me.
User avatar
APE
Newsposter
Newsposter
Posts: 2799
Joined: Wed Oct 17, 2001 7:44 pm
Has liked: 0
Been liked: 0
Contact:

Post by APE » Wed Jul 27, 2005 1:31 am

Now when people fap while playing a game everyone will hear it.
Image
A few fries short of a happy meal.
GPF
DC Developer
DC Developer
Posts: 529
Joined: Wed Oct 17, 2001 7:44 pm
Location: Texas
Has liked: 0
Been liked: 0
Contact:

Post by GPF » Wed Jul 27, 2005 1:37 am

awesome, "You dont want to hear the first one, it sounded like a dying cat" lol

Good Job
User avatar
GyroVorbis
Elysian Shadows Developer
Elysian Shadows Developer
Posts: 1808
Joined: Mon Mar 22, 2004 4:55 pm
Location: #%^&*!!!11one Super Sonic
Has liked: 0
Been liked: 0
Contact:

Post by GyroVorbis » Wed Jul 27, 2005 1:37 am

Whoah! That's great news. Let us know when you post more info tomorrow.

Now I really have to get a Seaman Mic... :?
Elysian Shadows - "Next-Gen" 2D/3D RPG coming to Sega Dreamcast, Steam, OUYA, and Smartphones
Image
http://www.elysianshadows.com
User avatar
Hawke
Wastelander
Posts: 961
Joined: Wed May 01, 2002 11:37 am
Location: Skies of Canadia
Has liked: 0
Been liked: 0

Post by Hawke » Wed Jul 27, 2005 1:38 am

APE wrote:Now when people fap while playing a game everyone will hear it.
...so.... you "fap" while playing games?
______________
Image
I met a cyclops once - I wasn't sure if he winked or blinked at me.
User avatar
MrSiggler
DC Developer
DC Developer
Posts: 1662
Joined: Wed Nov 14, 2001 5:32 pm
Has liked: 0
Been liked: 0

Post by MrSiggler » Wed Jul 27, 2005 1:42 am

APE wrote:Now when people fap while playing a game everyone will hear it.
I don't know about you.. but I keep my hands on the controller when playing video games..

Also, and does this look like null to you? :roll:
Don't make me kick yer arse!
BlackAura
DC Developer
DC Developer
Posts: 9951
Joined: Sun Dec 30, 2001 9:02 am
Has liked: 0
Been liked: 0

Post by BlackAura » Wed Jul 27, 2005 2:19 am

Interesting (and disturbing) accent you've got there.

Anyway, good job. Now you just need to come up with something to actually use the microphone for.
User avatar
Hawke
Wastelander
Posts: 961
Joined: Wed May 01, 2002 11:37 am
Location: Skies of Canadia
Has liked: 0
Been liked: 0

Post by Hawke » Wed Jul 27, 2005 2:44 am

BlackAura wrote:Interesting (and disturbing) accent you've got there.

Anyway, good job. Now you just need to come up with something to actually use the microphone for.
oh just you wait. I'm sure crabbie will think of something uber to do with it. like.. uhm... something! Just you wait!
______________
Image
I met a cyclops once - I wasn't sure if he winked or blinked at me.
User avatar
MrSiggler
DC Developer
DC Developer
Posts: 1662
Joined: Wed Nov 14, 2001 5:32 pm
Has liked: 0
Been liked: 0

Post by MrSiggler » Wed Jul 27, 2005 3:39 am

A homebrew seaman game!

(And no APE, I did not say semen, so stop that)
User avatar
Skynet
DCEmu T-800
DCEmu T-800
Posts: 8594
Joined: Thu Nov 08, 2001 6:27 pm
Location: Adelaide, Australia
Has liked: 0
Been liked: 0
Contact:

Post by Skynet » Wed Jul 27, 2005 3:59 am

I wish I had seaman. :lol:
Live gamertag: SKYNET211

Steam gamertag: SkynetT800
User avatar
Darksaviour69
Mental DCEmu
Mental DCEmu
Posts: 382
Joined: Thu Jul 01, 2004 6:58 pm
Location: Ireland
Has liked: 0
Been liked: 0
Contact:

Post by Darksaviour69 » Wed Jul 27, 2005 6:22 am

loads of 2nd hand shops sell the mic with planet ring (which is unplayable, because its online only) for a few ?
User avatar
Imerion
Mental DCEmu
Mental DCEmu
Posts: 349
Joined: Thu May 27, 2004 4:32 pm
Has liked: 0
Been liked: 0

Post by Imerion » Wed Jul 27, 2005 6:40 am

That is really neat news! I got a good idea of what could be done : A Singstar like game! Now thats something I could pay a lot for to see on my DC...
Sir Savant
Somewhat Dumb Knight
Posts: 3649
Joined: Tue Oct 12, 2004 2:26 pm
Has liked: 0
Been liked: 0

Post by Sir Savant » Wed Jul 27, 2005 10:40 am

How bout a karaoke game?

What is Singstar?
baron of badness
DCEmu Newbie
DCEmu Newbie
Posts: 9
Joined: Mon Feb 28, 2005 10:31 pm
Location: rosenberg,tx
Has liked: 0
Been liked: 0

Post by baron of badness » Wed Jul 27, 2005 10:52 am

Wish I never sold my Alien Front Online.
Iron in the soul!!
law
Psychotic DCEmu
Psychotic DCEmu
Posts: 541
Joined: Fri Apr 19, 2002 9:31 am
Has liked: 0
Been liked: 0

Post by law » Wed Jul 27, 2005 10:54 am

hmm is the modem driver hacked ? how about a viocechat ? :) or a simple phone software using dc as speaker and mic ?
ImageImage
Sir Savant
Somewhat Dumb Knight
Posts: 3649
Joined: Tue Oct 12, 2004 2:26 pm
Has liked: 0
Been liked: 0

Post by Sir Savant » Wed Jul 27, 2005 11:02 am

Not yet, law. Maybe soon though. But I don't doubt that it will be one day.
User avatar
Quzar
Dream Coder
Dream Coder
Posts: 7486
Joined: Wed Jul 31, 2002 12:14 am
Location: Miami, FL
Has liked: 0
Been liked: 3 times
Contact:

Post by Quzar » Wed Jul 27, 2005 11:14 am

law wrote:hmm is the modem driver hacked ? how about a viocechat ? :) or a simple phone software using dc as speaker and mic ?
That already exists if you have a DreamCamera (i can't remember the real name). It comes with a mic and software for video conferencing (over bba or modem iirc).
"When you post fewer lines of text than your signature, consider not posting at all." - A Wise Man
User avatar
BlueCrab
The Crabby Overlord
The Crabby Overlord
Posts: 5384
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has liked: 1 time
Been liked: 11 times
Contact:

Post by BlueCrab » Wed Jul 27, 2005 11:22 am

There is a working modem driver in KOS. It just hasn't been used for anything yet, and it only works at 33.6kbps.

Anyway, more about the Microphone for those who like technical details:

The Microphone uses an (as of now) undocumented (by any homebrew developer) Maple command to communicate. The microphone uses command 0x0F (KallistiOS only shows commands -5 through 0x0E) (yes I know I mixed decimal and hex there).

Using this command you can do just about anything that you want with the Microphone. Sending a Maple packet containing this particular command, along with two data words will accomplish just about anything. The first of these words will always be the Maple Microphone function number 0x10000000. The second word is where the magic happens.

Here's kinda a chart of what I know / have tested so far:

Code: Select all

2nd word               What it does:
0x0000??01          Sets the amplifier gain, ?? can be from 00 to 1F
0x00008002          Enables recording
0x00000001          Returns sampled data while recording is enabled
                    While not enabled, returns status of the mic.
0x00000002          Disables recording
Without fooling around with any other settings, the samples returned are 16-bit PCM @11025Hz, making them quite easy to feed into (say) an ogg encoder, like the sound I posted above. You have to continuously poll the mic to get any useful sound data back, and this is where a good driver will come into play.

Speaking of a driver, I have a mostly working S.I.P. (Sega's terminology here for the mic) driver for KOS that I wrote as I went along. After I get a chance to clean it up a little, I shall be releasing it.

Feel free in the mean time to play around with what I've stated above.
User avatar
MetaFox
Adventure Gamer
Adventure Gamer
Posts: 2801
Joined: Wed Oct 17, 2001 7:44 pm
Has liked: 0
Been liked: 5 times
Contact:

Post by MetaFox » Wed Jul 27, 2005 12:00 pm

Wooty pants. BlueCrab is the man - I told you that you could get it working. :kiss)
Post Reply