Vitat's homepage

General => MP3 => Topic started by: DB on 05 May 2004, 18:51



Title: selfmade MP3 player
Post by: DB 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


Title: selfmade MP3 player
Post by: Vitat 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.


Title: selfmade MP3 player
Post by: Vitat on 06 May 2004, 01:43
ipbus_v5.0
 (http://www.vitat.spb.ru/files/ip-bus/ipbus_v5.0.zip)
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