Archive for the ‘Projects’ Category

Playr 2.0 is coming!

Published by Ronny on November 12th, 2008 in Actionscript, Flash, General, Open-source, Projects. No comments

I just wanted to update you guys on how the update for the next version of Playr is progressing.

In the past week, I’ve been pretty busy adding the finishing  touches to the features and fixing the last few bugs that popped up. Most of the last-minute changes are a result of using the class in one of my own projects.

It’s then when I realized I’m missing some key features like adding the music directory, and some properties of the PlayrEvents. I also added some ear candy like fadeIn() and fadeOut() methods.

On a more functional note: I’ve abstracted the playlist to an independent class. So now you’re provided with lots and lots of ways to customize and manage your playlists.

The shuffle mode is now smart. In English that means the playlist remembers what songs have played and which ones haven’t.

Finally I’m happy to tell you guys won’t ever have to write an XML playlist file yourself. I’ve got a PHP4 and PHP5 version of PlayrDiscovr which reads a directory and returns the corresponding XML listing the tracks and their properties.
On top of that, I’ve got some help from other people (I still need to contact you guys) who are willing to help me out with building PlayrDiscover in ASP, Ruby and Python.

Even though I’m listing all of the new features, the Playr class is still the easiest way of implementing any kind of sound-feature in any Flash/Flex/AIR application. But the simplicity shouldn’t be a limitation, which it isn’t: you’re still able to build full-feature media-playing applications.

One of the little challenges I still have to tackle is the Tween problem. I’ve implemented fadeIn() and fadeOut() methods. Those methods actually tween the volume property of the Playr instance. The problem with that is when using the Playr class in a Flex project, you get a cool error message telling you it can’t import fl.transitions (which is the class package for the Tween class and the easing package).
I still haven’t figured out how to work around this problem. If any of you have any suggestion on this problem, feel free to tell me about it.

I plan on releasing Playr 2.0 in the coming week (or 2) depending on PlayrDiscovr impementations, final changes, demo’s and site development (yes, I’m building a dedicated site for Playr ;) ) Feel free to suggest other implementations you’d like :)

My latest project: Walter Ego

Published by Ronny on November 3rd, 2008 in Projects. 1 comment

Some of you guys already knew, but only 2 weeks ago I finished my latest project: WALTER EGO.
Walter Ego is a Dutch rapper who happens to live in Nieuwpoort.

A few months back, Walter contacted me, and we started brainstorming about the new website. At some point he told me that I should make this website my masterpiece…

If you’d die now, this is what people should remember you for...

Well… At least expectations weren’t high, right? :)

A year ago I built the first edition of this website, which was pretty basic. Back then I used ColdFusion to build the administration panel. This time I built it using PHP.
I have to say that this project clearly improved my PHP skills. While I was building the backend, I was focusing on modular development, so I could reuse a lot of the written code. A lot of people suggested using the ZendFramework but since I’ve been looking into this a few times without making any progress, I just skipped that chapter (after all: we’re all bound by deadlines ;) ) and went on developing my own framework (‘framework’ might be slightly exaggerating though). Read the rest of this entry »

Flash on the beach mobile

Published by Ronny on September 29th, 2008 in Projects, download. 2 comments

Velen hebben mij de laatste weken hard bezig gezien op Twitter over mijn avonturen met Flash Lite. Dat was niet zozeer op experimentele basis zoals ik beweerde… Ik was in het geniep bezig aan een project dat ik in opdracht van MobileMinds mocht maken.

Een paar weken geleden contacteerde Dimitri van MobileMinds me, en vroeg me hoe ik het zag zitten om een Flash Lite applicatie te maken in opdracht van MobileMinds. Ik had al enkele keren met Flash Lite gespeeld, maar het wou precies nog niet helemaal lukken.

Toen Dimitri me het project beschreef klonk het allemaal wat ingewikkeld en zwaar. Ik wou hem een moment lang vertellen dat ik het niet wou doen. De deadline zat te dichtbij, en de toepassing op zich was van een niveau dat ik ongetwijfeld niet ging kunnen halen.
Dimitri leek verzekerd dat ik mezelf onderschatte, en kon mij overtuigen om er toch aan te beginnen…

Na 1 week hard werken, meer dan 1300 regels Actionscript 2, meer dan 70 bugfixes en een heel spannend leerproces presenteer ik met volle trots…


Je kunt de applicatie hier downloaden. Read the rest of this entry »

PlayrDiscovr update!

Published by Ronny on August 19th, 2008 in Open-source, PHP, Projects, download. 2 comments

Ik heb enkele dagen geleden mijn eerste versie van de geautomatiseerde playlist.xml gemaakt, en online gezet. Gisteren heeft Ward Werbrouck (die wat meer verstand van PHP dan ik heeft) dit geoptimaliseerd en opgekuist.

Deze versie is volledig object oriented geschreven, en is vanaf nu PHP5-only.
Deze nieuwe versie kun je hier downloaden.

Thx Ward! :)

PlayrDiscovr: De playlist.xml bouwer!

Published by Ronny on August 15th, 2008 in Open-source, PHP, Projects, download. 3 comments

Enkele dagen geleden heb ik een oproep gedaan om tips en suggesties te krijgen in verband met de nieuwe Playr class. Jarne heeft een geautomatiseerde playlist.xml generator voorgesteld.

Ik heb hier al vaker aan gedacht, maar altijd de hoop opgegeven als ik moest denken aan de ID3 tags… Ik ben geen PHP guru, waardoor ik nooit echt heb beginnen zoeken.
Nu heb ik mij vandaag toch opeens afgevraagd of er nog geen ID3 support in PHP zit…
Daar heb ik in feite geen antwoord op gevonden, maar ik heb wel gevonden wat ik zocht: Een open-source project waarmee de ID3 tags van MP3 bestanden (en meer) kunnen gelezen en gebruikt worden, namelijk getID3.

Sinds dit het moeilijkste van het hele automatiseren was kon ik meteen aan de slag. Ik ben echt positief verrast over hoe simpel getID3 in te zetten is, en hoeveel informatie daarmee op te halen was.

Om een lang verhaal kort te maken heb ik dus nu een geautomatiseerde versie van de playlist.xml gebouwd.
Het leuke is dat je nu zelf de lengte van de track niet meer moet uitrekenen (wat op zich het meest storende van het hele playlist.xml gebeuren was). En natuurlijk: Nooit meer playlists updaten!

PlayrDiscovr

Download

Gebruik

Gewoon PlayrDiscovr unzippen, en de inhoud van de map uploaden naar je server.
De MP3 bestanden komen in de ‘music’ folder te staan.
In Flash moet je nog even de URL naar je playlist aanpassen van ‘playlist.xml’ naar ‘playlist.php’, en je bent klaar. Nooit meer playlists updaten!
PlayrDiscovr haalt alle info over de tracks op vanuit de ID3v2 tag. Als deze dus in orde is, is zijn je playlists automatisch aangepast, vanaf dat je een liedje op de server hebt upgeload.

Veel plezier!