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: 5658
https://www.artistsworkshop.eu/meble-kuchenne-na-wymiar-warszawa-gdzie-zamowic/
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Dreamcast Microphone Successfully Hacked

Post by BlueCrab »

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: 962
Joined: Wed May 01, 2002 11:37 am
Location: Skies of Canadia
Has thanked: 0
Been thanked: 0

Post by Hawke »

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: 2802
Joined: Wed Oct 17, 2001 7:44 pm
Has thanked: 0
Been thanked: 0

Post by APE »

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 thanked: 0
Been thanked: 0
Contact:

Post by GPF »

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: 1874
Joined: Mon Mar 22, 2004 4:55 pm
Location: #%^&*!!!11one Super Sonic
Has thanked: 80 times
Been thanked: 61 times
Contact:

Post by GyroVorbis »

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

Now I really have to get a Seaman Mic... :?
User avatar
Hawke
Wastelander
Posts: 962
Joined: Wed May 01, 2002 11:37 am
Location: Skies of Canadia
Has thanked: 0
Been thanked: 0

Post by Hawke »

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 thanked: 0
Been thanked: 0

Post by MrSiggler »

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 thanked: 0
Been thanked: 1 time

Post by BlackAura »

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: 962
Joined: Wed May 01, 2002 11:37 am
Location: Skies of Canadia
Has thanked: 0
Been thanked: 0

Post by Hawke »

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 thanked: 0
Been thanked: 0

Post by MrSiggler »

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: 8595
Joined: Thu Nov 08, 2001 6:27 pm
Location: Adelaide, Australia
Has thanked: 0
Been thanked: 0
Contact:

Post by Skynet »

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 thanked: 0
Been thanked: 0
Contact:

Post by Darksaviour69 »

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 thanked: 0
Been thanked: 0

Post by Imerion »

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: 3653
Joined: Tue Oct 12, 2004 2:26 pm
Has thanked: 0
Been thanked: 0

Post by Sir Savant »

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 thanked: 0
Been thanked: 0

Post by baron of badness »

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 thanked: 0
Been thanked: 0

Post by law »

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: 3653
Joined: Tue Oct 12, 2004 2:26 pm
Has thanked: 0
Been thanked: 0

Post by Sir Savant »

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: 7497
Joined: Wed Jul 31, 2002 12:14 am
Location: Miami, FL
Has thanked: 4 times
Been thanked: 9 times
Contact:

Post by Quzar »

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: 5658
Joined: Mon May 27, 2002 11:31 am
Location: Sailing the Skies of Arcadia
Has thanked: 9 times
Been thanked: 69 times
Contact:

Post by BlueCrab »

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: 2818
Joined: Wed Oct 17, 2001 7:44 pm
Has thanked: 0
Been thanked: 12 times
Contact:

Post by MetaFox »

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