2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER...

12
008 Open Source Software ontest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING

Transcript of 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER...

Page 1: 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING.

20

08

Open S

ou

rce S

oftw

are

C

on

test

DALSONG PLAYER

CHOI HEE SUNG

KANGWON NATIONAL UNIVERSITYCOMPUTER ENGNEERING

Page 2: 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING.

20

08

Open S

ou

rce S

oftw

are

C

on

test

DalSong• Multi-platform Java mp3 player• Synchronized Song lyrics• Use Alsong lyrics server

Page 3: 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING.

20

08

Open S

ou

rce S

oftw

are

C

on

test

Alsong is the best mp3 player!!

Why??1,000,000 Song Lyrics Synchronizations

Page 4: 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING.

20

08

Open S

ou

rce S

oftw

are

C

on

test

What about Linux Users??

ALTERNATIVE PLAYER• Amarok• Rhythmbox

Inconvenience : You must install add-on script program

Insufficient : It doesn’t have enough Korean lyrics as many as Alsong has

Page 5: 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING.

20

08

Open S

ou

rce S

oftw

are

C

on

test

DalSong can provide

Synchronized song lyrics on your Linux

Desktop!

Page 6: 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING.

20

08

Open S

ou

rce S

oftw

are

C

on

test

DalSong BodyDalSong Body

Architecture

AlsongLyric Server

(SOAP)

AlsongLyric Server

(SOAP)

jLayer1.0(MP3 library)jLayer1.0(MP3 library)

Play ListPlay List

Lyric Windo

w

Lyric Windo

w

Entagged Audio Tag library

Entagged Audio Tag library

JDOMJDOM

SOAPClient4XGSOAPClient4XG

Page 7: 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING.

20

08

Open S

ou

rce S

oftw

are

C

on

test

Structure of MP3

ID3 TAG

V1.0 V1.1 V2.0

We need the first audio frame(163840byte)

Page 8: 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING.

20

08

Open S

ou

rce S

oftw

are

C

on

test

Request packet

POST /alsongwebservice/service1.asmx HTTP/1.1Host: lyrics.alsong.co.krUser-Agent: gSOAP/2.7Content-Type: application/soap+xml; charset=utf-8Content-Length: 699Connection: closeSOAPAction: "ALSongWebServer/GetLyric5“<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="ALSongWebServer/Service1Soap" xmlns:ns1="ALSongWebServer" xmlns:ns3="ALSongWebServer/Service1Soap12"> <?xml version="1.0" encoding="UTF-8"?>  <SOAP-ENV:Body>    <ns1:GetLyric5>    <ns1:stQuery>   

<ns1:strChecksum>45c0c42832c579505401c31d0984e551</ns1:strChecksum>    <ns1:strVersion>1.93</ns1:strVersion>    <ns1:strMACAddress>00ff667f9a08</ns1:strMACAddress>    <ns1:strIPAddress>xxx.xxx.xxx.xxx</ns1:strIPAddress>    </ns1:stQuery>    </ns1:GetLyric5>  </SOAP-ENV:Body></SOAP-ENV:Envelope>

POST /alsongwebservice/service1.asmx HTTP/1.1Host: lyrics.alsong.co.krUser-Agent: gSOAP/2.7Content-Type: application/soap+xml; charset=utf-8Content-Length: 699Connection: closeSOAPAction: "ALSongWebServer/GetLyric5“<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:ns2="ALSongWebServer/Service1Soap" xmlns:ns1="ALSongWebServer" xmlns:ns3="ALSongWebServer/Service1Soap12"> <?xml version="1.0" encoding="UTF-8"?>  <SOAP-ENV:Body>    <ns1:GetLyric5>    <ns1:stQuery>   

<ns1:strChecksum>45c0c42832c579505401c31d0984e551</ns1:strChecksum>    <ns1:strVersion>1.93</ns1:strVersion>    <ns1:strMACAddress>00ff667f9a08</ns1:strMACAddress>    <ns1:strIPAddress>xxx.xxx.xxx.xxx</ns1:strIPAddress>    </ns1:stQuery>    </ns1:GetLyric5>  </SOAP-ENV:Body></SOAP-ENV:Envelope>

Page 9: 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING.

20

08

Open S

ou

rce S

oftw

are

C

on

test

Response packet

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body> <GetLyric5Response xmlns="ALSongWebServer"> <GetLyric5Result> <strStatusID>1</strStatusID> <strInfoID>2194425</strInfoID> <strRegistDate>2008-04-06 21:10:07.000</strRegistDate> <strTitle> 다시 내곁으로 (duet with 손호영 )</strTitle> <strArtist>As One( 에즈원 )</strArtist> <strAlbum> 우리가 알고 있는 사랑이야기 </strAlbum> <strCountGood>0</strCountGood> <strCountBad>0</strCountBad>

<strLyric>...... 가사 ......</strLyric> <strRegisterFirstName> 첫번째등록자명 </strRegisterFirstName> <strRegisterFirstEMail /> <strRegisterFirstURL>www.altools.co.kr</strRegisterFirstURL> <strRegisterFirstPhone /> <strRegisterFirstComment /> <strRegisterName>123</strRegisterName> <strRegisterEMail /> <strRegisterURL /> <strRegisterPhone /> <strRegisterComment /> </GetLyric5Result> </GetLyric5Response> </soap:Body></soap:Envelope>

<?xml version="1.0" encoding="utf-8"?><soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"><soap:Body> <GetLyric5Response xmlns="ALSongWebServer"> <GetLyric5Result> <strStatusID>1</strStatusID> <strInfoID>2194425</strInfoID> <strRegistDate>2008-04-06 21:10:07.000</strRegistDate> <strTitle> 다시 내곁으로 (duet with 손호영 )</strTitle> <strArtist>As One( 에즈원 )</strArtist> <strAlbum> 우리가 알고 있는 사랑이야기 </strAlbum> <strCountGood>0</strCountGood> <strCountBad>0</strCountBad>

<strLyric>...... 가사 ......</strLyric> <strRegisterFirstName> 첫번째등록자명 </strRegisterFirstName> <strRegisterFirstEMail /> <strRegisterFirstURL>www.altools.co.kr</strRegisterFirstURL> <strRegisterFirstPhone /> <strRegisterFirstComment /> <strRegisterName>123</strRegisterName> <strRegisterEMail /> <strRegisterURL /> <strRegisterPhone /> <strRegisterComment /> </GetLyric5Result> </GetLyric5Response> </soap:Body></soap:Envelope>

Page 10: 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING.

20

08

Open S

ou

rce S

oftw

are

C

on

test

Demonstration

Dalsong

Page 11: 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING.

20

08

Open S

ou

rce S

oftw

are

C

on

test

Next Plan

• Various features by collaborative Various features by collaborative peoplepeople

• More than two lyric serversMore than two lyric servers

Page 12: 2008 Open Source Software Contest DALSONG PLAYER CHOI HEE SUNG KANGWON NATIONAL UNIVERSITY COMPUTER ENGNEERING.

20

08

Open S

ou

rce S

oftw

are

C

on

test

Question and Answer

Q&A!? “I Have a Question!!”