> > I've got a little one-off job where I want to play an audio track when > > movement is detected. Stops playback at end of track, next movement plays > > next track or maybe a random track. PIR movement sensor can be an off- > > the-shelf item, as would be a set of powered PC speakers (that's the easy > > part). > > > > Problem is I haven't yet found an MP3/Flash player that just plays one track > > and stops! Anyone seen one? Let me know what brand it is and I'll see if I > > can buy it here. I've checked 3 or 4 and they either go on to automatically > > play the next track or repeat the same track. A portable CD player, with MP3 > > ability, might also be an option if it has this feature. > > > > I might have to use a little PIC to interface to the power, play and step > > buttons, but that should be fairly easy.. the hard part is stopping/knowing > > when the track has finished! > > Elector had a project that did exactly that with a computer CDROM > > http://www.elektor-electronics.co.uk/Default.aspx?tabid=28&year=2004 > > Apr 2004 - Pandora > > Dave Thanks Dave, I might go that way yet as an MP3 player that does what I want is proving difficult to find. Robert Rolf wrote: > Use infrasound to detect an 'end of track' tone in the MP3 file. > It won't be audible unless you have a subwoofer, and doesn't > need to be loud to be detected. (NE567 works well, but you could > do it with a PIC with A/D and low pass filter using one of the > 'tone detect' algorithms.). > > Stopping is easy. Kill power. Use step button to get to track > you want on power up (some units will autoplay on power). OK, but a little too much effort for this project...would have to insert this tone into the recording which would be too much work for the user (getting them to write a CD will be hard enough!). Thanks also to Harrison for mentioning off-list the Neuros MP3 player that has preset buttons. Unfortunately I can't find any locally for sale. -- Brent Brown, Electronic Design Solutions 16 English Street, Hamilton 2001, New Zealand Ph: +64 7 849 0069 Fax: +64 7 849 0071 Cell/txt: 027 433 4069 eMail: brent.brown@clear.net.nz -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist