Create a music playlist
I am trying to build a simple audio player with playlist feature. I would like to ask is there anyway to generate a playlist after I loaded multiple files? Appreciate your advice. thanks.
Hi !
definitely it is !
you can retrieve or store droped files as a list and populate em to the UI via [jit.cellblock] . and then force cellblock to react on what you choose .
check dropfile ,folder and umenu . ive done something similar ,but i cant access my works at the moment (or do something) and im also affraid that its a big mess (the whole autopopulating system) . im sure there are some more gentle ways than mine .
Here's ALMOST something...
Except that in this version, the bang started with the 'count' message makes a false entry in cell 0 0 of the [jit.cellblock]. And as a consequence, the last file of the folder is missing. Is there a way to make the [pack i s] ignore the first bang ? Another solution would be to bang the 'count' message then send another bang to [uzi] of course, which seems like a lazy (although sure to work) solution. Anyone caring to elaborate on this design ?
:)
[t i i] order after the count was the problem . now all the files are included
Devil is in the detail. :) Sometimes I'm blind...
Stephane and KrisW, thanks for all of these information. It is absolutely great for giving a kick start for my project.
However, I just wonder is there any method to retrieve the song's information such as length, format types and others to display on the playlist together with the song titles?
Looking forward to your great advice. Thanks guys.
Michael, I don't mean to be rude (like that Spoek Mathambo song so I'm pleased to use those words) but I think you should dig a little if you intend to learn how to use max. Being a beginner myself, with no programmiing background, I spend a lot of time patching, and looking for informations, searching the forum, even scratching my head trying to solve topics posted by some people like you on the forum, aside my jobtime. Using the logic in the patch I posted, and using [sfinfo~], you can retrieve the informations you want. Even mp3 tags. Happy patching !
Stephane, thanks for your reply.
I totally understand what you were trying to said. I was been through this process on other software and now I need to learn Maxmsp to do my project. I am digging myself into the program by trying to do patching and create a simple audio player with crossfade feature. I was actually looking for some guideline to at least give myself some idea where should I start from because I really have limited time to figure it out. Hope you can understand my concern. Nevertheless, I truly appreciate your help and advice because those are really helpful for me.
Don't worry nothing personal is going on here. Wish you have a happy patching too. Thank you so much.
Forgot to mention, I just want to know whether all these features can be done on maxmsp or not so that I wont be wasting my time on new developing platfrom. Thanks guys for your advices.
Nothing personal here neither, just a piece of advice. As far as mp3 tags are concerned, jit.qt.movie can read a number of id3 tags from mp3 files. Add one to the patch I posted, then try to extend the logic I built, and come back and post your efforts as a copy compressed patch if you need to !
That sounds great.
Sure as soon as I figure it out.
Thanks Stephane.
Hey guys, I made a simple patch that allows you to drop a folder and play the songs in random order. If you wish to make them play in succession, then all it would require is a simple modification. Check it out, I thought this was a relatively simple way of achieving a self playing playlist. Anyway cheers!
-Abe