Hi Izzy, I do something similar (but, honestly, much less efficiently) with CCHits.net. The show is run using this script: https://github.com/CCHits/Website/blob/master/CLI/showmaker.php and this library: https://github.com/CCHits/Website/blob/master/CLI/library.php
And yes, it's god-awful PHP, written over 10 years ago by someone who didn't really know a lot about Object Orientated Programming, but thought it was a bloomin' good idea, and should be done that way. Basically, I use Festival to create the text-to-speech elements, and then use Sox to move audio around, add audio (or silence) to the start and end of the show and layer one element on top of the next. You're welcome to have a poke around in the code and ask questions at will :) If you want to take this off-list, I'm happy to be emailed directly, or you can contact me via Telegram (https://t.me/jontheniceguy) or Matrix ( https://matrix.to/#/@jontheniceguy:matrix.org) or at a push Twitter or LinkedIn DMs :) Links to those profiles are on my website listed below :) -- Jon "The Nice Guy" Spriggs @jontheniceguy everywhere... https://jon.sprig.gs On Sun, 17 Oct 2021 at 19:52, Izzy Leibowitz via Hpr < [email protected]> wrote: > This idea is related heavily with a project I am percolating between all > the other things that I am doing. Namely, a way of setting up some kind of > autotools-esque deployment of podcasts. > > I've been bolstering my knowledge of XML/XSL over the last few weeks, but > if anyone wants to work on it as well the idea is: > > 1. An XML based template for a show, something like: > <show> > <intro class="music"> > <file>/path/to/intro/music</file> > </intro> > <section class="main"> > <file>/path/to/main/section</file> > </section> > <effect> > <type>ladspa</type> > <file>/path/to/plugin</type> > <start>&start;</start> > <end>&end;</end> > </effect> > </show> > > 2. A makefile template to ingest that xml into ffmpeg or some other > application to apply those edits to that audio non-destructively > > 3. A configure shell script that would allow you to modify the makefile, > or the XML via xslt, to remove certain sections or to export the edited > show as a specified format. > > 4. Something like a `make publish` trigger that could automatically upload > a target to the distribution server and update the atom feed accordingly. > > The idea behind this was that it would allow people to examine the raw, > preferably unedited, files and effects that went into making the podcasts > they like in order to give them the inspiration/example to follow to make > their own podcast. It also has the upshot of being able to quickly spin up > bespoke feeds for various needs and allowing listeners to "compile" the > show themselves, if they have special requirements. > > As I said, I am trying to work on it every now and then, when I have time, > but I don't have a lot of time and am very new to XML/XSL as well as not as > well versed in FFmpeg as I would certainly like to be, so if anyone sees > this idea and thinks it would be easy for them to implement, I > wholeheartedly encourage it. > > V/r, > > Izzy Leibowitz
_______________________________________________ Hpr mailing list [email protected] http://hackerpublicradio.org/mailman/listinfo/hpr_hackerpublicradio.org
