Hooray, audacity files are XML

Plumbing for the next web, by ian forrester

I’ve been looking for a way to create SMIL files with an editor for a while. Main reason being to speed up the creation of creating podcasts for the Perceptive Podcast client and make it easier for those who don’t understand markup/code.

One of the techniques we deployed during the Visual Perceptive Media project was to export final cut xml out of final cut/premiere pro then transform the lot with XSL/Python/etc to something else more usable. Its something I’ve had in mind for a long time, as you can see with this paper/presentation I wrote 12 years ago.

There was a point when Wmas, could create an editor for our director/writer (Julius) or allow him to use tools he was familiar with (non-linear editor like Finalcut/Premiere). Of course we choose the latter and converted the final cut xml (which isn’t really an official spec) into json using python. We were able to use markers and zones to great effect, indicating the interactive intentions of the director in a non-linear editor. This meant the intentions can exist and run completely through to the very end, rather than tacking it on at the end.

So with all that in mind, I started thinking if I could turn Audacity into a editor in a similar way? Is there a final cut xml format for audio? Thats when I came across this article which made perfect sense – Audacity files are just XML documents, sooo

Structure of a empty project

<?xml version=”1.0″ standalone=”no” ?>
<!DOCTYPE project PUBLIC “-//audacityproject-1.3.0//DTD//EN” “http://audacity.sourceforge.net/xml/audacityproject-1.3.0.dtd” >
<project xmlns=”http://audacity.sourceforge.net/xml/” projname=”blank-audacity_data” version=”1.3.0″ audacityversion=”2.2.1″ sel0=”0.0000000000″ sel1=”0.0000000000″ vpos=”0″ h=”0.0000000000″ zoom=”86.1328125000″ rate=”44100.0″ snapto=”off” selectionformat=”hh:mm:ss + milliseconds” frequencyformat=”Hz” bandwidthformat=”octaves”>
<tags/>
</project>

Just the title ignited my mind, the actual content of the blog is less interesting but I realised I may have a free & open-source editor which runs on every platform and with a bit of XSL magic could be the start of the editor I was looking for? The idea of it being a pipe, which leads on to more is something which fits in the bigger pipeline chain

I also found a GIT project to Parse audio track times from an audacity .aup projects. Its uses XSL to do the processing, so I may spend a bit of time playing with it to make something useful.

Just need to dust off my old XSL development skills… Which reminds me what happened to XPROC (XML pipeline language)?

Podcasts in Plex? But which Plex?

Verge podcast on PlexPodcasts on Plex, at long last?

I was excited by the news of podcasts on plex

So excited I decided to switch to the beta version to give it a try.

Now I know its beta but after closer inspection of the blog post, I noticed everything was focused on the player application. As most of my Plex use is as a server, I was expecting to see podcasts as a plex scanner/agent option or even better a library type.

Currently it seems like you can create a podcast library on the Plex player/app but that doesn’t sync back to anywhere. I expected that under my user account I would see the new podcast library on my Plex media server too. Trying to create a new podcast library also goes no where when using the web interface to the media server.

My hope is this is just a beta issue and it will be rolled out to the media server too. Because right now the point of Plex is the sync capability around one app. This does make me wonder about Plex’s previous move which upset a lot of people.

Till this is clear, I’ll be sticking with my elaborate podcast sync system.

How I listen to podcasts in 2018

Me listening to podcasts in madrid

I had quite a bit of time to read and listen to podcasts during my holiday in Portugal and Spain. One of the posts I read was Adrian talking about current his tech stack.

But I thought it might be good to talk about how I finally sorted out my podcast setup as it includes many parts of my current tech stack.

I listen to podcasts and audiobooks quite a lot. If I was still using last.fm I could likely quantify exactly how much but through my setup I’ll reveal a rough number at the end.

Listening devices

I listen to podcasts in the morning via Xbian running on Raspberry Pi 2 (considering switching to rasplex but Yaste remote supports Plex and Xbian as a audio endpoint/upnp renderer) which I bought a long while ago. This is setup in my room via ethernet and connected to a small amp and stereo speakers, one in my bedroom and one wired into the bathroom. I decided to do this after trying Bluetooth and FM speakers but they were just too quiet or unclear. Nothing beats a dedicated non-battery device. The wiring could do with a clean up. The Raspberry Pi is also connected to a audio splitter with one going to a FM transmitter.

This broadcasts to my little micro-hifi in the kitchen which I got from ebay over 10 years ago; its handy for multi-room synced audio without messing around (although I considered using a Chromecast audio and other things). The small amp in my room is connected to a TpLink HS100 smart switch meaning I can turn it off when leaving easily and quickly. I have only set it up for local wifi access not remote access, because frankly why would I need to this?

When not at home I use Google Pixel 2, I decided to get the 128gig version because I had enough of dealing with space issues. I have plex client installed and I have a plex pass (life time subscription), so can sync podcasts and audiobooks with ease. I do have it on my Nexus 7 and 5x too, but don’t carry them around much. I find Plex client is pretty good and doesn’t eat too much battery. Syncing seems seamless but with offline support sync support and 12gig of mobile 4G data. Because its using Plex at the backend, plex will save position no matter what device, as I’m logged in using the same account.

I also have Chrome Plex client on my laptop, meaning I can keep on listening when at work. Yes I listen to podcasts and audiobooks while working. I know many find this unthinkable but it works for me.

Plex Media Server

I’ve had Plex mediaserver running for quite a long time now and the advantages of having a gigabit internet connection and decent vpn (zerotier) means I can stream, sync or download podcasts and audiobooks without any fuss to my own devices. Plex media server keeps the position and checks for updates to the server filesystem.
Plex indexes the podcasts and audiobooks as audio and with some tweaking works quite well, although it can get confused when podcasts numbering and dates. It would be great if it had a audiobook and podcast indexer to pull much more metadata.

Podcatching

Unfortunately Plex media server doesn’t actually support podcasts which would be great if it did but its a pain to get working and not worth it for me. Especially because I have a complete Ubuntu stack its running on.
Because of this I use to download the podcasts from the web using a native ubuntu app. I tried Gpodder and Rhythmbox but they were resource hungry when downloading 30+ podcasts. Then tried VLC but it seemed over kill just to download podcasts. So tried some command line programs including Podfox and podcatcher. In the end I used Podget then setup a cron to trigger it every 2-4 hours. I also have Podget clean up the podcasts every 3 months.

One of the biggest things which drove me nuts was adding and updating rss feeds. Someone says you listen to the guilty feminist podcast, and would have to update server configs, etc. But using my Tiny tiny RSS install, I now have all the podcasts added to the master subscription list and generate a custom RSS feed aggregated for podcasts. I add the generated feed to Podget and the next time its updated, it will automatically add new items.

Because its done via TTRSS, it means I can add & remove the feed via any TTRSS client including the one my phone or using the web interface via my VPN (I only expose the web interface that way).

Small pieces loosely joined

It sounds like a lot of work but honestly it works well and means I can remove a part of it and it will still work. Remove Podget, could be replaced with anything including VLC, etc. Plex could be replaced with Emby or another mediaserver. TTRSS could be anything self-hosted. Using Plexpy to log is under my own terms and the data is only shared and useable by me.

I do wish I could get to this type of space with so much more of the services I use. Right now, I’m quite impressed with how smooth everything works.

Looking forward

I’m looking at a way to tag and generate a feed out of the tags in TTRSS, instead of adding it to a hierarchy. Sometimes a feed could fit between two or more places. I’d also like to improve plex’s indexing around podcasts and audiobooks. Podget generates a m3u playlist file but not found much use for these yet. I also wish the plex input for kodi was less heavy.

I just added the Recode podcast while writing this post and I looking at my plex client on my Pixel 2. Podget downloaded all the episodes over my gigabit connection in about 6mins flat, the podget won’t remove them till a few months old but I can easily remove them via plex or directly from the file system over the VPN.

As promised, looking at Tautulli (what use to be PlexPy). Over the last 3 weeks I had 83 plays or 22 hrs 14 mins of playback.  The last podcast I listened to while on the Madrid Metro to the airport at 7:30am was Rob Reid’s Always on podcast – Episode 23: Rodney Brooks | Robotics & AI – Their Present & Future

Not enough detail?

If you are interested in any detail, just comment or tweet me for more info.

 

Weaponised psychology and centralised corruption a tale of two internets?

Public Service Internet
Imagine two sides of a tree. One is private and the other one is public. You have the choice to move freely between both, now thats a park I think is fair to everyone

I was a little disappointed in the discussion I heard during the PsychTech Podcast titled A Digital Attention Crisis? I was expecting a little more in-depth criticism of the digital system. But they seemed to turn against Tristan Harris and the time well spent movement.

Don’t get me wrong some of it did make sense but I felt like they were shooting the messenger not listening to the message. Now to be fair I was listening in the shower and getting ready; so may have missed some key parts while washing my hair. But by the end I was shouting out loud, have they never heard of the Quantified Self?

The point of time well spent isn’t about Tristan dictating some rules from on high. Its meant for us to question our relationship with ubiquitous  connected technology and the way the companies behind them influences our lives.

Ironically a few days before I read Tim Berners-Lee’s rallying call to regulate tech firms to prevent ‘weaponised’ web. Its a pretty good read but I feel slightly muted because thats what Tim is like. I’m much more aggressive about the whole issue, and to be fair Kelli and Josue at the very start say, well its just capitalism, what you going to do about it?

I reject this notion but this is also why my focus isn’t on fixing the over reach of capitalism on our attention, thoughts, relationships with each other and beyond.

What happened to diversity? Just have a look at the apps we all use and whos behind each one

Instead its time to double down on the public sector. This is why I find any discussion related to this from an American point of view slightly painful to hear and lacking of the mention of serious alternatives.

Berners-Lee warned of “two myths” that “limit our collective imagination” when looking for solutions to the problems facing the web: “The myth that advertising is the only possible business model for online companies, and the myth that it’s too late to change the way platforms operate. On both points we need to be a little more creative,” he said.

“I want the web to reflect our hopes and fulfil our dreams, rather than magnify our fears and deepen our divisions,” he said.

He’s absolutely right… Even the concept of a decentralised dating site, gets blank or weird looks. We have hood winked into the centralised model and its not always the best way. I was going say sleep walked but that wouldn’t do justice to the massive influence of the silicon valley tech firms. This is also the part I think the PsychTech podcast misses, this is weaponised psychology not just a happy accident solved by installing an app.

Berners-Lee has always maintained that his creation was a reflection of humanity – the good, the bad and the ugly. However, his vision to create an “open platform that allows anyone to share information, access opportunities and collaborate across geographical boundaries” has been challenged as the web has become more centralised.

You never change things by fighting the existing reality. To change something, build a new model that makes the existing model obsolete.
You never change things by fighting the existing reality. To change something, build a new model that makes the existing model obsolete.” – Buckminster Fuller

Its very much why I was interested in space wrangling the decentralised space at Mozfest last year. Centralised power corrupts I maintain. Tim is right we need a better vision but rather than spend all that effort trying to reform a horribly broken system of corruption, greed and power. Make an viable alternative which makes the existing model obsolete… (love Buckminster for this great quote)

Its time to build a public service internet which maintains its values, diversity and distributed nature of the public; as an alternative to whats currently seen as the whole internet… We don’t need a new internet, we need competing services with different business models which can talk to each other and give options to the people.

You want a private park which is nicely maintained and don’t mind paying for the privilege? Fine. But if you want a park which is public and has a lively community because its free to the public due to taxes. Fine too. Similar to health care, libraries, transport in Europe, you can pay but there is a baseline.

Critical when thinking about the digital divide and the next 1 billion people.

This still leaves a gaping “digital divide” that exacerbates existing inequalities: you are more likely to be offline if you are female, poor, or live in a rural area or a low-income country.

“To be offline today is to be excluded from opportunities to learn and earn, to access valuable services, and to participate in democratic debate,” Berners-Lee said. “If we do not invest seriously in closing this gap, the last billion will not be connected until 2042. That’s an entire generation left behind.”

Two years ago, the UN declared internet access to be a basic human right on par with clean water, shelter, food and electricity. However, in many places, getting online is prohibitively expensive – the cost of 1GB of mobile broadband in Malawi is more than 20% of the average monthly income. In Zimbabwe, it is nearly 45%.

Harry and Meghan good for black culture?

Suits TV show backdrop

I’m anything but a royalist and rarely care what the royal family are up to, but I did hear the news that harry & meghan are going to get married. Yes even I saw that news, although I first heard about they were actually an item only few days earlier while listening to The Nod podcast from Gimletmedia,

In the podcast, the panel ask if Meghan & Harry getting married is good for black culture or not; This might sound weird to many people but let me give you a couple of scenarios.
Barack Obama, good for black culture or bad? I would say its a yes but I understand the debate. While, Bill Cosby is not good for black culture. You get the idea!

So is Harry & Meghan getting married forwarding black culture or doing damage?

Well worth a listen as I don’t think the announcement was made till way after the podcast?

BONUS: A Royal Good For The Blacks

BONUS: A Royal Good For The Blacks
Is the relationship between American actress Meghan Markle and the UK’s Prince Harry good or bad for Black culture?

Rethinking Podcasting

Reinventing podcasting
Ok maybe less reinvent and more rethink?

I hinted at Perceptive Podcasting previously in a post about being busy. I have finally come out of that busy period and am UK bound as my passport is due to expire.

Just before the busy period, I drafted a post about Perceptive Podcasting and why it’s not simply another unique project. It went up on the BBC R&D blog recently which is wonderful because I can point to that rather than the other way around.

Perceptive Radio v1

Since we first launched the Perceptive Radio v1 in 2013 as a concept of what Perceptive Media (implicit interaction from sensors & data, adapting media objects) could become; the radio’s have always been a framework to explore further into adaptive object based media experiences. But we have always acknowledged the growing power of the smartphone and how it could be the container for so much more.

Even when we created the Perceptive Radio v2 with Lancaster University and Mudlark, it was modeled around an android phone and extending the sensors. The possibilities of IOT Storytelling with object based media was deep in my mind, along with research questions.

As a person who saw the revolution of podcasting in 2000, I was always interested in the fact its downloaded audio and generally consumed/created in a personal way, unlike radio in my view. I’ve also been watching the rise in popularity of podcasting again; heck Techcrunch asks if it could save the world 🙂

Of course I’ve started a few podcasts myself (recently Techgrumps and Lovegrumps) and love the fact it’s quite easy to get started and it can feel quite personal. I also found the diversity of podcasting quite interesting for example I’ve been listening to the guilty feminist, friends like us and risk, for quite sometime and find them fascinating every time.

Why a client for podcasts?

In 2017, you are seeing more webservices hosting podcasts like stitcher, (heck even Spotify is hosting some). At the server-side there is a lot you can do like dynamically change adverts, geo-fence media, etc. 60db are one such service doing nice things with podcasts but they are limited in what they can do, as they said in a comment on a similar post. But doing this all server-side is a pain, and tends to break the podcast idea of download-able audio (even if you have 4g everywhere), it feels more like the radio model of tuning in.

Imagine if you could do the server-side type of processing but on the actual device and even unlock the pools of sensor/data with the users consent? And imagine if the creators could use this in storytelling too!

Its Personal, Dynamic and Responsive without being creepy or infringing personal liberties, It adaptives to changes in context in real time. It dances with Interactivity and we are also exploring the value and feasibility of object based media approaches for engaging with audience. We believe that this offers the key to creating increasingly Immersive media experiences as it gives more story possibilities to the writer/director/producer. But also provides levels of tailored accessibility we have yet to imagine.

So many possibilities and its made in a very open way to encourage others to try making content in a object based way too.

Keep an eye on bbc.co.uk/taster and the bbc.co.uk/rd/blog for details soon.

Nobody owns podcasting like nobody owns the net

RSS + MP3 V.2

Ok before people come down hard on my title, its not an absloute statement rather a general idea. Something which came across loud and clear in Doc Searls blog

Nobody is going to own podcasting.

By that I mean nobody is going to trap it in a silo. Apple tried, first with its podcasting feature in iTunes, and again with its Podcasts app. Others have tried as well. None of them have succeeded, or will ever succeed, for the same reason nobody has ever owned the human voice, or ever will. (Other, of course, than their own.)

Because podcasting is about the human voice. It’s humans talking to humans: voices to ears and voices to voices—because listeners can talk too. They can speak back. And forward. Lots of ways.

Podcasting is one way for markets to have conversations; but the podcast market itself can’t be bought or controlled, because it’s not a market. Or an “industry.” Instead, like the Web, email and other graces of open protocols on the open Internet, podcasting is all-the-way deep.

He’s right, when Apple weighted in with iTunes I did think here we go, but even after a long time hearing those words…

Subscribe to us on iTunes, give us a rating on iTunes, etc. I’m glad the ecosystem of podcasting stayed diverse and theres some innovation and creativity in the field even after 15+ years. Of course I can easily imagine much more creativity as described before.

Of course its a great thing no one owns Podcasting as some question if podcasting can save the world. Ok super cheesy but Doc Searls did say this which I thought was quite inspiring and fascinating too..

Maybe podcasting is the best way we have to start working out our problems with race, gender, politics and bad habits of culture that make us unhappy and thwart progress of all kinds. I say that because 1) the best podcasting I know deals with these things directly and far more constructively than anything I have witnessed in other media, and 2) no bigfoot controls it.

There is something (in)credible about the human voice. Maybe in the world where we strive for more human connection; real podcasting’s open discussions are a welcomed relief from all the other crap we get fed?

Close encounters of the Guardian podcast kind

dsc_0339Someone mentioned to me about Guardian’s Close Encounter podcast series. I subscribed today and pretty much listened to the whole thing this morning and part of the afternoon. Funny enough I didn’t even have breakfast, just a some pre-packed breadsticks from last nights dinner (somebody will know what I mean, when they read this).

The podcast series is quite amazing, which is surprising because the guardian tech podcast isn’t exactly great) But I found refreshing to hear such adult talk, after the warnings at the start of each podcast. The content is certainly #nsfw (not safe for work), but I was playing it out loud in my flat. Like when I was at Futurefest earlier in the year, I certainly felt like I was listening to something so very honest, human and authentic.

Some of the topics might shock some but there’s nothing wrong with getting out of your comfort zone every once in a while.

Great work by the Guardian and I look forward to the next season. Certainly another jewel in podcasting as a medium not turning your back on.