That's the rub, the chimes will ring all the time, even when there is a service in the Minster.Burngate wrote:There's probably a neater way to do it, in software, but my first thought would be to use a relay to switch between speaker-pairs - just so long as you don't want both bells and organ at the same time.
I did consider that and I might even go that way. The problem is that out of the 60 + volunteers and staff who maintain and manage the Model Town, only a couple of us are technically oriented. Most of the rest deal with gardening, maintenance of the models, running the cafe and a host of other things. Whatever I come up with, I need to ensure that changing the music (for example) involves nothing more than copying the files into designated folders on a USB stick.Burngate wrote:The alternative I can think of is two separate mono files, and mash them together ... too much software is softening my brain ...
... can you create the mp3 files as "stereo", but with one channel of each silent, so "bells" would have sound only on the right, and "organ" would have silence on that side?
I remember using 8" floppies, but I'm afraid I don't remember that company.Burngate wrote:Wimborne is a wonderful place. I remember there being a small company there, making cap-gens, 8 inch floppies that never stopped till their bearings died ...
The Model Town is now closed for the Winter Maintenance period and we are committed to completing this project by the re-opening date on 1st April. We are also working on two other projects; to introduce a phone-based audio guide and a phone-based kiddies quiz.Burngate wrote: When you've got it set up, let us know - I'd love to come and see it
Can I ask you why (apart from the audio O/P problem) you think I'm overdoing it trying to do it on a single Pi?hazza96 wrote:I understand the desire to nut out an innovative solution in the most elegant way.
However I think you are over doing it trying to provide a solution with a single Pi.
Buy another and implement the same solution for the same required result.
Unfortunately, I was told that that wouldn't work when I asked Pimoroni (see my first post).tvjon wrote:Since you're presently using audio from hdmi, you have another, analogue audio interface available via gpio. Using a pi 0 means buying, or building a simple DAC; details are on the forum.
Code: Select all
terry@OptiPlex:~/Development/Wimborne_Model_Town/Winter_2016-17_Projects/Code/MP3_Payer/Playlist1$ mpg123 -a hw:4,0 01_Wedding_March.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.22.4; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: 01_Wedding_March.mp3 ... MPEG 1.0 layer III, 128 kbit/s, 44100 Hz joint-stereo Title: CWV10_12 Artist: Comment: Album: Year: Genre: Unknown terry@OptiPlex:~/Development/Wimborne_Model_Town/Winter_2016-17_Projects/Code/MP3_Payer/Playlist1$ mpg123 -a hw:3,0 02_Toccata_and_fugue_in_D_minor_\(Bach\).mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3 version 1.22.4; written and copyright by Michael Hipp and others free software (LGPL) without any warranty but with best wishes Playing MPEG stream 1 of 1: 02_Toccata_and_fugue_in_D_minor_(Bach).mp3 ... MPEG 1.0 layer III, VBR, 44100 Hz joint-stereo Title: Toccata and fugue in D minor Year: 2012