Vitat's homepage
28 Apr 2024, 22:49 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: 21.03.08 Произведено обновление сайта/Site was updated
 
  Home   Forum   Help Search Login Register  

Pages: [1]   Go Down
  Print  
Author Topic: selfmade MP3 player  (Read 6999 times)
0 Members and 1 Guest are viewing this topic.
DB
Newbie
*
Posts: 1


View Profile
« on: 05 May 2004, 18:51 »

Hi Vitat,
do you have any documentation about the comunication between Yamp and your emulator.

I want to controll my self build MP3 Player with a Pioneer head unit, but i have some little problems to understand how the yamp sends Text and Track time to HU, and what it sends at startup.

Thanks

G DB
Logged
Vitat
Administrator
Full Member
*****
Gender: Male
Posts: 338


11507314
View Profile
« Reply #1 on: 06 May 2004, 01:24 »

ipbus_v4.0
Commands from emulator:
"S" - play (start)
"s" - stop
"N" - next disk
"P" - previous disk
"n" - next track
"p" - previous track
"F" - begin fast forward
"R" - begin fast rewind
"B" - stop fast forward or fast rewind (break)

Commands to emulator:
"C" - disk and track number. Format - "Cdt", where "d" - disk number in HEX, "t" - track number in HEX.
"c" - time. Format - "cms", where m - minutes in HEX, s - seconds in HEX.
"d" - disk name. Format - "dxxxxxxxxxxxxxxxxxxx", where "x...x" - 19 characters of name.
"t" - track name. Format - "txxxxxxxxxxxxxxxxxxx", where "x...x" - 19 characters of name.
"p" - normal play (send to emulator after "C", "c", "d", "t" comands)
"s" - seek disk (send to emulator when player finding next disk, disk number will blinking)

PS:
1. HEX format - if you send 23h (35dec), display will show 23!
2. Display info not updated after "C" command, only after "c"! You must send "C" command before "c" command.
3. If emulator not understand sended command, it send "?" character.
Logged
Vitat
Administrator
Full Member
*****
Gender: Male
Posts: 338


11507314
View Profile
« Reply #2 on: 06 May 2004, 01:43 »

ipbus_v5.0

Changes!
Added commands from emulator:
"U" - Pause (On)
"S" - play (if it send after pause - pause off)

Chaged commands to emulator:
"d" - disk name. Format - "d x ... x 0", where "x...x" - up to 255 characters of name.
"t" - track name. Format - "t x ... x 0", where "x...x" - up to 255 characters of name.

PS:
1. "0" - it's not O, its ZERO! It sending at the and of name.
2. Added transliteration from russian characters to english. You can change translit to your language at the end of code in IPBus.c
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

TinyPortal v1.0.5 beta 1© Bloc

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!