Author Topic: Raspberry PI  (Read 4135 times)

Offline Steve Gase

  • Supporting Member
  • ******
  • Join Date: Mar 2013
  • Location: Georgetown, TX (near Austin)
  • Posts: 1,037
  • Kudos: 5
    • WinterLightShow in Georgetown, TX
Re: Raspberry PI
« Reply #15 on: November 03, 2013, 06:43:27 AM »
There was a caution in one of the threads about replacing a file while it is in use.
I assume that it is a standard Linux file system issue.
Often you can rename a file and the application above will continue to access the file through the handle -- even if the name is changes.

So, modify my suggestion above... with the 20 songs (or 40, or 100...) rename them, swapping them with each other, instead of copying up new files...  the goal is to avoid replacing a file while it is in use.
http://WinterLightShow.com  |  110K channels, 50K lights  |  Nutcracker, Falcon, DLA, HolidayCoro

Offline Keebler

  • Full Member
  • ***
  • Join Date: Jul 2013
  • Location:
  • Posts: 162
  • Kudos: 1
    • Keebler Christmas
Re: Raspberry PI
« Reply #16 on: November 03, 2013, 04:13:16 PM »
FEATURE REQUEST
add random playlists
add ability to play mp3's

Offline Steve Gase

  • Supporting Member
  • ******
  • Join Date: Mar 2013
  • Location: Georgetown, TX (near Austin)
  • Posts: 1,037
  • Kudos: 5
    • WinterLightShow in Georgetown, TX
Re: Raspberry PI
« Reply #17 on: November 03, 2013, 06:35:59 PM »
Maybe mp3s can again be supported for music-only.

But, the move to ogg was to address synchronization problems with the sequence.  If mp3 was re-introduced with sequences then folks would start seeing the problems again.

Offline David Pitts

  • Administrator
  • *****
  • Join Date: Mar 2013
  • Location: Falcon, CO
  • Posts: 3,929
  • Kudos: 76
Re: Raspberry PI
« Reply #18 on: November 03, 2013, 06:42:21 PM »
Maybe mp3s can again be supported for music-only.

But, the move to ogg was to address synchronization problems with the sequence.  If mp3 was re-introduced with sequences then folks would start seeing the problems again.

Well yes and no. MP3 had sync problems so we moved to ogg which was better but still had problems. Then Captain Murdoch fixed the sync issue with some great code. After Christmas we will revisit the MP3 file format using new sync code. If we can get it to work some people will be very happy( MaterDaddy :) ). It is just too close to Christmas now for any major changes.
PixelController, LLC
PixelController.com

Offline Materdaddy

  • Moderator
  • *****
  • Join Date: Jul 2013
  • Location: Oceanside, CA
  • Posts: 2,050
  • Kudos: 10
    • Christmas On Quiet Hills
Re: Raspberry PI
« Reply #19 on: November 04, 2013, 10:34:40 AM »
For the record, I do love ogg as a format.  I support open standards and all.  My issue here is the ogg123 executable and it's different audio system handling issues, paired with the fact that pretty much all sequencing software we all use doesn't use ogg, so we have to have multiple files of everything maintained.  Not a big deal from the file handling part, but the ogg123 stuff makes things a little more painful for my own development purposes on a non-PI environment.

I was thinking we could abstract the code and make supported formats user selectable if this is a "next year" type of thing.

Online CaptainMurdoch

  • Administrator
  • *****
  • Join Date: Sep 2013
  • Location: Washington
  • Posts: 9,800
  • Kudos: 209
Re: Raspberry PI
« Reply #20 on: November 04, 2013, 01:55:48 PM »
I was thinking we could abstract the code and make supported formats user selectable if this is a "next year" type of thing.

Definitely next year and "s/selectable/auto-detected/"   :)

I'd like to have a more pluggable architecture in place for next year.  Have the ability to support MP3 and OGG auto-detected and use the appropriate set of functions.  Ditto for the lighting output side of things to give the ability to add in support for other output methods by adding a few functions in a new output 'plugin'.  I don't foresee any major issues getting MP3's or A/V files synced.
-
Chris

 

Back to top