Playlist Ideas: karma?
Hi. As my music collection grows, I've begun to recognize the usefulness of playlists and other types of song list data... So, instead of my usual "put the entire collection on random play", I had a few ideas about how to organize and manage playlists better. It seems that it's always enjoyable to hear songs you haven't heard in a while, and also hear songs that you like. But it's not so nice to hear things you don't like much, or songs which have been playing a lot lately. For the bit about hearing songs which haven't played recently, I found a solution. It just sorts songs by access date, and plays the oldest ones first: /bin/ls --color=none -utr `find $HOME/mp3/songs -type f` | \ xargs -n 256 freeamp But it seems it would also be good if songs could be automatically rated so that the favorite songs would be played more often than less-liked songs. I have done this before by placing songs in various directories that indicate "how many stars" the song deserves. But this is not very practical when trying to keep songs grouped by artist and album. So, what if Freeamp kept a song database which stored information such as "karma", and used this database to decide what to play? Every time you hear a song you like, bump up its karma, and every time you hear a song which you're not too fond of, decrease its karma. This would essentially keep track of what you like, and be able to let you hear what you want. To keep "karma points" fair between new and old songs, and to take care of things which you get sick of after a while, the actual karma value could take other factors into account too. Say, something which balances the total karma points a song has received with its average points-per-play and its most recent point history. This would give high ratings to songs you have liked for a long time and also to new songs which are also good. :) _ _ _ _ ___ ___ "Use the source, Luke!"- ( \/ ( \/ (__ (__ ) | Scott Scriven (Toy Keeper / XYZZ)| \ / \ / // // | mailto:[EMAIL PROTECTED] | / \ / / //_ //_ | irc:serdevian.dyn.omnipotent.net | (_/\_(_/ (___(___) | http://www.vis.colostate.edu/~scriven/ |
Re: Problem with LCD.ui?
* Julius Xavier [EMAIL PROTECTED] wrote: I ran the LCdproc server (LCD -d MaxOrb). The server is running o.k. However when I run the freeamp client (freeamp -ui freeamp -ui lcd.ui mymp3.mp3) I don't get anything in the display (display is connecte to ttyS1 and it is working because when i kill the LCDd, i get teh message "thanks for using lcdproc"). what could be the problem?. is it related to freeamp or lcdproc?. Has anybody use the lcd.ui ?. what version of the lcdproc server did you use?. The lcd.ui in freeamp should be compatible with LCDd-0.4-pre8 and several earlier versions. However, the LCDd client protocol is in the process of changing, and lcd.ui will need to be updated to work with LCDd-0.4-pre10. Hopefully, in the process of updating it, someone will also add a lot of improvements to it (like supporting input, and maybe playlists). _ _ _ _ ___ ___ ---"I don't get even - I just get odder."--- ( \/ ( \/ (__ (__ ) | Scott Scriven (Toy Keeper / XYZZ)| \ / \ / // // | mailto:[EMAIL PROTECTED] | / \ / / //_ //_ | irc:serdevian.dyn.omnipotent.net | (_/\_(_/ (___(___) | http://www.vis.colostate.edu/~scriven/ | ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: normalizing mp3s
* Kevin Day [EMAIL PROTECTED] wrote: I'm toying with an idea I have, which consists of a tool designed for making cassette tapes from mp3 files. (I'm still in the stone age, I guess :) I'm going to concencentrate on the interface, which, if good enough, I suppose will also be useful for people making mixes to other media. I'll most likely not start from scratch, since most of the functionality is available in e.g. freeamp. One important thing that I'm not sure exists, though, is the ability to normalize the amplitiude of a bunch of audio files. Besides the aesthetic problem with files that play at differing volumes is the background noise of analog tape; as is well known analog tape should be recorded as hot as possible but no hotter. What I want to do is go through a batch of mp3s, scan the decoded output to determine the maximum amplitude, and then associate a scaling factor which will be used at playback time. Has anyone implemented something like this? I don't suppose it would be that difficult, but perhaps (CPU) time-consuming. Can anyone think of a better way of doing it than rendering the mp3 to a buffer and then scanning it? I had a very similar problem a few years ago, trying to normalize MOD music. Unfortunately, the best solution I found is the same as you've thought of. I decoded each song, calculated a scaling factor, and then re-decoded it with the new amplification. To do this for mp3's in a convenient manner, players would probably have to implement a per-file amplification based on extra info in, say, an id3v2 tag. This sounds like a great idea to me, but I'm not the one who would be implementing it.. But as was already mentioned, one thing you don't want to do is decode, amplify, then reencode. It's best to amplify the original sound data, but that's not always possible. That is why I suggest the amplification during each playback. _ _ _ _ ___ ___ ---"I don't get even - I just get odder."--- ( \/ ( \/ (__ (__ ) | Scott Scriven (Toy Keeper / XYZZ)| \ / \ / // // | mailto:[EMAIL PROTECTED] | / \ / / //_ //_ | irc:serdevian.dyn.omnipotent.net | (_/\_(_/ (___(___) | http://www.vis.colostate.edu/~scriven/ | ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: Car MP3 Player...
* Julius Xavier [EMAIL PROTECTED] wrote: I want to build a car mp3 player using freeamp. I looked at couple of previous messages regarding this. However, I would appreciate if some one can shed some light on the following. I am not clear as to where I should start. I am planning to use MatrixOrbital (4*20) serial display. I look at the /ui/lcd/src and there are lcdui.cpp and lcd.c. socket.c. Which files I need to edit. if I want use LCD ui as my default, How Do I do?. Is there any way I can support play list with lcdui?. Hi. The lcd.ui in freeamp isn't really suitable for a car mp3 player. You should probably grab the specific LCD driver you need from LCDproc, and talk to the LCD directly. The lcd.ui in freeamp just talks to the LCDd server, which updates the screen only 8 times per second and doesn't provide great input device support. It *could* work for a car mp3 player, but you'd be better off with more direct control over the display. If you create a "lcd-mtxorb.ui", there are probably others who would be interested. It could be a good way to display on LCD's without requiring LCDproc. _ _ _ _ ___ ___ ---"I don't get even - I just get odder."--- ( \/ ( \/ (__ (__ ) | Scott Scriven (Toy Keeper / XYZZ)| \ / \ / // // | mailto:[EMAIL PROTECTED] | / \ / / //_ //_ | irc:serdevian.dyn.omnipotent.net | (_/\_(_/ (___(___) | http://www.vis.colostate.edu/~scriven/ | ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev
Re: Redoing the LCD.UI?.
* Julius Xavier [EMAIL PROTECTED] wrote: The lcd.ui in freeamp should be compatible with LCDd-0.4-pre8 and several earlier versions. However, the LCDd client protocol is in the process of changing, and lcd.ui will need to be updated to work with LCDd-0.4-pre10. Can anyone tell me what sort of thing need to be done sothat I can try?. The protocol is being updated, by changing a few matters of syntax. An old-style command might look like this: widget_set screen widget 3 2 "Booger" And the new syntax allows parameters to come in any order: widget_set screen widget -x 3 -y 2 -text "booger" It's not a big change, but it's enough that clients will have to be updated. (and hopefully won't need to be updated again for quite a while) I am happy to improve or redo the LCD UI (add playlist, input etc.), and update it. However there is one problem. I am not that experienced software developer. But I have some time and I can take it as a project. I need some docomentation of "how to do UI" and help (guidence) from the experienced people like you. Can I rely on your knowledge and start the project? The freeamp-dev list should be able to help you with the UI parts of the code, and I (or the lcdproc list) can help you with the LCD parts of the code. :) _ _ _ _ ___ ___ ---"I don't get even - I just get odder."--- ( \/ ( \/ (__ (__ ) | Scott Scriven (Toy Keeper / XYZZ)| \ / \ / // // | mailto:[EMAIL PROTECTED] | / \ / / //_ //_ | irc:serdevian.dyn.omnipotent.net | (_/\_(_/ (___(___) | http://www.vis.colostate.edu/~scriven/ | ___ [EMAIL PROTECTED] http://www.freeamp.org/mailman/listinfo/freeamp-dev