AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CD Player Programming {?}
Goto page 1, 2  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat
View previous topic :: View next topic  
Author Message
Dra_Gon



Joined: 25 May 2007
Posts: 208

PostPosted: Fri Jul 18, 2008 4:22 pm    Post subject: CD Player Programming {?} Reply with quote

This is for all you major programmers.
I'm looking for the information myself but have had no luck so far and I figure something like this could make someone some very good $$$.

My idea is to make a small program which would be read by any CD Player. Audio CD's generally allow for 15-20 songs, formatted so the player can read them. What this program would do would be to "fool" the player into playing music on the CD which is simply stored digitally {allowing approx. 150 songs to be played}.

The program {in my mind, such as it is Rolling Eyes} would be the first thing the player reads, possibly "taking over" the controls: when you press PLAY the program gets the first song and plays it, and so on with the other controls.

IF this is possible, I'm sure a lot of people would love to have it since they wouldn't have to carry around a whole bunch of CD's just to have a large variety. Sure, MP3 Players are taking over just as CD Players did to Cassette Players, but there are still many people who use CD Players.

Anyway, that was my idea {and I'm still going to look into it myself} so maybe someone here will be able to come up with something on it.

Ciao,
Dra'Gon
_________________

For a good laugh {hopefully} >> megamatts.50megs.com

SciFi/Fantasy Short Stories I wrote {StohlerWorlds I} >>
http://www.mediafire.com/?2yisetu0jud
Back to top
View user's profile Send private message Send e-mail
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Fri Jul 18, 2008 5:04 pm    Post subject: Reply with quote

so you want to make some special track that reprograms a cd player to read non CD formated music files?

This is not possible. If you want me to list the reasons, I will be able to do so in a few days.
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
tic



Joined: 22 Apr 2007
Posts: 1356

PostPosted: Fri Jul 18, 2008 6:06 pm    Post subject: Reply with quote

Oh man! You need to read about how cd players work Wink
Back to top
View user's profile Send private message
Dra_Gon



Joined: 25 May 2007
Posts: 208

PostPosted: Fri Jul 18, 2008 9:49 pm    Post subject: Reply with quote

engunneer wrote:
so you want to make some special track that reprograms a cd player to read non CD formated music files?

This is not possible. If you want me to list the reasons, I will be able to do so in a few days.


That would be great, thanks. I believe ya, but...
1) At one time, the world was flat...
2) There is no way that thing is going to float in the air. What do you call it, a "balloon". Impossible.
3) Why are you guys messing with that stuff. You're trying to "FLY"? Gawd, you Wright brothers are nuts.
4) Etc... throughout history.

tic wrote:
Oh man! You need to read about how cd players work Wink


But that's such hard work... Wink Yah, I know. But hey, it's possible that someone, somewhere might stumble on a solution. Ya never know.

Ciao,
Dra'Gon
_________________

For a good laugh {hopefully} >> megamatts.50megs.com

SciFi/Fantasy Short Stories I wrote {StohlerWorlds I} >>
http://www.mediafire.com/?2yisetu0jud
Back to top
View user's profile Send private message Send e-mail
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Sat Jul 19, 2008 12:41 am    Post subject: Reply with quote

the most basic one is that the CD player's microcontroller is usually (unless it is already capable of playing data discs) an OTP (One Time Programmable) chip, so the code for reading CDs is already burned into memory. You could replace the controller with one that has a different program, but you cannot load a new program via CD. The data pathways just aren't there.
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
Dra_Gon



Joined: 25 May 2007
Posts: 208

PostPosted: Sat Jul 19, 2008 4:13 pm    Post subject: Reply with quote

I wasn't thinking it to be reprogrammed, more like redirected while the CD is playing. The player would be "seeing" the format expected and all the controls would operate through the program.

The program would tell the player that it is playing a track. Just a little bit of misdirection to the player's code. I'm not a professional programmer {basically just playing around and trying things here and there} so I have no clue on how to even attempt something like this. I just figured it should be possible hypothetically. But if it's not, ah well, I'll think of some other "impossible" task Wink. Thanks for the replies.

Ciao,
Dra'Gon
_________________

For a good laugh {hopefully} >> megamatts.50megs.com

SciFi/Fantasy Short Stories I wrote {StohlerWorlds I} >>
http://www.mediafire.com/?2yisetu0jud
Back to top
View user's profile Send private message Send e-mail
corrupt



Joined: 29 Dec 2004
Posts: 2397

PostPosted: Sat Jul 19, 2008 4:26 pm    Post subject: Reply with quote

If you don't plan on reprogramming and if the player is still seeing the same format then what do you expect would be running your program to misdirect the player's code?
Back to top
View user's profile Send private message Visit poster's website
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Sat Jul 19, 2008 4:51 pm    Post subject: Reply with quote

then he just needs a CD that can change it's own bits. Then you can fake anything to any player
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
Dra_Gon



Joined: 25 May 2007
Posts: 208

PostPosted: Mon Jul 21, 2008 4:54 pm    Post subject: Reply with quote

Okay, so maybe I am a little naive about programming Rolling Eyes. However, what I was thinking would be for the player to see the program as a regular track. Once the program is read it would simply act as a "cover", sort of like a traffic signal I suppose. Instead of the player going to the next track though, the program would simply tell the player it has done so and bring up another song on the disc.
Anyway, if it's not possible, no big deal. It was just a nice idea.

Ciao,
Dra'Gon
_________________

For a good laugh {hopefully} >> megamatts.50megs.com

SciFi/Fantasy Short Stories I wrote {StohlerWorlds I} >>
http://www.mediafire.com/?2yisetu0jud
Back to top
View user's profile Send private message Send e-mail
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Mon Jul 21, 2008 7:02 pm    Post subject: Reply with quote

I certainly don't want to keep you from coming up with ideas (It is a cool idea, just not possible). I think it's better to find out up front that an idea won't work so you don't go crazy trying to make it happen.

I understood exactly what you meant by a track being read as a program, but the basic requirement is that the CD player be looking for instructions and not music data. If you play a disc containing computer instructions to something not expecting (or capable) of reading them, it just sounds like noise.

related: http://gadgets.boingboing.net/2008/07/16/apple-i-basic-plucke.html
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
SoggyDog



Joined: 02 May 2006
Posts: 214
Location: Greeley, CO

PostPosted: Mon Jul 21, 2008 8:46 pm    Post subject: Reply with quote

@engunneer

Way to keep your cool and give reasonable answers to an unreasonable question. The cheese would've slid off my cracker about ten posts ago. I believe that Dra_Gon understands now why this isn't possible, yet won't be afraid bounce other ideas off us in the future.

Here's a silly one for you... I always thought it would be interesting to make a CD that works as a converter for plugging an MP3 player in to, much like the old cassettes we used to plug in to tape decks to play our CDs through (Like this)

Nice work.
_________________

SoggyDog
Download AutoHotKey Wallpaper
Does 'Fuzzy Logic' tickle?
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
engunneer



Joined: 30 Aug 2005
Posts: 6772
Location: Pacific Northwest, US

PostPosted: Mon Jul 21, 2008 8:51 pm    Post subject: Reply with quote

Shocked Used to?

I still use one for my iPod.

how would you make the wire spin? I suppose you could make a little device that has a shutter that simulates the bits, but it would be really slow. Might be possible for a walkman without a lid, but you'd be hard pressed to shove it in a slot loading player.
_________________
Unless otherwise noted, all code is untested.
Common Answers: 1.(Loops, Viruses, etc.) 2. Search 3.RTFM
Back to top
View user's profile Send private message Visit poster's website
SoggyDog



Joined: 02 May 2006
Posts: 214
Location: Greeley, CO

PostPosted: Mon Jul 21, 2008 9:01 pm    Post subject: Reply with quote

engunneer wrote:
Shocked Used to?

I still use one for my iPod.

Point taken... I still use one in my wifes van.

engunneer wrote:
how would you make the wire spin? I suppose you could make a little device that has a shutter that simulates the bits, but it would be really slow. Might be possible for a walkman without a lid, but you'd be hard pressed to shove it in a slot loading player.

Obviously, I'd never pursue this, but I would assume you'd need a brush system if you were to incorporate an actual spinning disc, but I'd think some sort of shutter or the like would be the way to go (or maybe a mirror system like DLP TVs use).

Anyway, that's what FM transmitters and/or built-in MP3 ports are for.

Welcome to today (man, I miss the 80's) Very Happy
_________________

SoggyDog
Download AutoHotKey Wallpaper
Does 'Fuzzy Logic' tickle?
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
TheIrishThug



Joined: 19 Mar 2006
Posts: 370

PostPosted: Tue Jul 22, 2008 2:19 am    Post subject: Reply with quote

FM transmitters are great unless you live in a major city where the FM spectrum is already sliced as small as it can be. I'm just hoping auxiliary inputs are standard by the time I have to get a new car because I'm going to be really sad when I have to stop using my tape adapter.
Back to top
View user's profile Send private message Visit poster's website AIM Address
SoggyDog



Joined: 02 May 2006
Posts: 214
Location: Greeley, CO

PostPosted: Tue Jul 22, 2008 2:32 am    Post subject: Reply with quote

Very Happy
_________________

SoggyDog
Download AutoHotKey Wallpaper
Does 'Fuzzy Logic' tickle?
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> General Chat All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group