16 May 2010
New Project Release- MediaTomyam
Assalamulaikum wbt..
Alhamdulillah, berjaya jgak lepas week y sgt memeningkn utk sumer final year student CS skol nih. Berkat usaha n doa sumer org especially mak aku, FYP aku bjalan dgn cukup baek skali..Aku sndiri pn xsgka ending die akn jadi cmtu..Sbb kalu nk ikutkn, system aku mmg xstabil lagi..combine tech mobile, grid and image processing dlam cross platform..sometimes dpt result, sometimes x..but ms demo, sume nye ok..mmg syukur ar..
"MediaTomyam"
Sperti title post kali nie, aku da la wat 1 apps smntra mengisi masa lapang coz tiket aku blik kmpung lambat lagi..Application tue adalah media player y aku namakan - "MediaTomyam" sempena media player favorite aku, MediaMonkey..Apps nie dibuat dalam ms 3 hari, start from hari Rabu smpai hari Jumaat..Primary language is C# and Xaml, ofkoz sbb gune WPF technology (part of .Net)..other than that, aku gune library TagLib-Sharp utk retrieve idtag metadata from each song played..byk library dh try utk retrieve artist, title and album from lagu, tp library nie seems usable la jgak, easy to use..kat bwah nie ade beberapa skrin shot MediaTomyam nih..
Dari segi GUI design, aku cube follow style thirteen23 utk produk Blu (twitter client ok) dorang..Windowless, and allowtransparency aku set ke true, background pn semi transparent..Wat permulaan nie, aku sediakan drag n drop lagu cam windows media player direct trus ke Now Playing List..then list tue bleh di save dlm bntuk MediaTomyam playlist with file extension *.tomyam (windows media player punye playlist gune extension *.wpl)..
"FUNCTIONAL CONTROL"
Emm boleh dikatekan sume media player function dh siap dah kot..Aku gune WPF mediaelement utk host media object..after lagu dh habis main, apps nie automatic move to next song..Ape y menarik, aku dh siapkan skali features shuffle, so boleh turn on or off shuffle bile nk play lagu..Cara die snang je, generate random number based on system datetime as a pre-seed value, then modulus dgn total song dlm playlist utk maksure numbere generated is within acceptable range..Slain tue, aku dh siapkan gak mute function..cara die, control mediaelement.volume value..tp awas, value die between 0.0 - 1.0, not 1 to 100..so, kalu nk mute, set volume = 0.0 je la..kalu unmute, get current volume slider value then multiply dgn percentage mediaelement.volume..senang kn..em kat bwah nie aku tnjuk kn screen shot media controller y aku ckp kn td
Seperti y korang tgk kat atas nih, start from left ade function utk shuffle, mute/unmute, stop, previous song, seek rewind, play/pause, seek forward, next song and finally volume controller. Kat blah atas sikit tue ade song progress bar in real time..Nk cite sal programming kat sini agak pyah la, tp cukup la kalu aku ckp, sume tue dh siap berfungsi, ready utk dijual je lagi..ekekeke.
Spnjag wat apps nie, aku gune sumer teknik C# for OO programming extensively..Variable pn aku keep less, usercontrol usage n object declaration pn gune exposable initialization..Hope xbyk memory leak..sume nie amat berguna especially nk mksure Apps kite run dgn sgt laju, tanpa lack..n one thing for sure,hasilnya ialah MediaTomyam nie sgt ringan..
"CONSLUSION"
So, for those y nk try bnde nie, sila pastikan laptop dilengkapi dgn atleas windows Vista with .Net Framework 3.5 installed..n ofkos, sila pastikan jugak request dri aku, sbb installer die xkn ade dkt filehippo, download.com or even softpedia.com yerk..Akhir kate, inilah die hasilnya bile aku dh boring tahap gaban selama 3 hari dok kat USM nie xtaw nk wat mende..project seterusnye, aku nk further bnde nie utk play movie plak..xtaw nk integrate ngn codec cmana..xpk lagi..next time la..y pnting, holiday dulu..
Gud nite...
JAGA DIRI, JAGA IMAN
.
Labels:
C#,
design,
media player,
programming,
WPF
Subscribe to:
Post Comments (Atom)
mediaTomYam best!! hehe..thanx dear yazid..(^_^)v
ReplyDeletetemplate br! hehe...cun2..=)
ReplyDelete