Media

Enhancing Podcast Audio With Dolby.io, Zapier, and OneDrive

SUMMARY

Follow this guide to see how you can easily use Zapier, OneDrive, and Dolby.io Media APIs to improve and enhance the quality of your podcast audio.


Podcasts are a quickly growing artform that more and more creators are taking part in. It can be hard, especially as a new creator, to compete with podcasts that have been established for longer. Good audio quality can set your podcast apart from the pack, but new equipment can be expensive. Enhancing podcast audio using Dolby.io has never been easier thanks to our new integration with Zapier!

Let’s take a listen to some raw podcast audio that I’d like to improve:

Original Podcast Audio

The speech in this clip is a little unclear due to some background noise and the use of cheaper audio equipment. 

Let’s see how we can upload a file to OneDrive and use Zapier’s new integration with Dolby.io to enhance this podcast audio without having to buy expensive equipment, write any code, or re-record the episode!

Making a Zap for Podcast Audio Enhancement

To get starting on enhancing podcast audio using Dolby.io, you’ll need a free or paid OneDrive account, a Dolby.io account, and a Zapier account. Both Zapier and Dolby.io have a free trial feature that can be used before deciding to purchase anything. 

Go to the Zapier webpage to sign in. From there, you will be brought to your account homepage where you can start making a new ‘zap.’

Zapier dashboard is pictured. The 'create zap' button is an orange rounded off rectangular button at the top left of the screen. This is where a user clicks to start making a new zap.

Triggering a Zap with OneDrive – Code Block #1

Every zap’s first code block is something called a ‘trigger.’ This trigger, when activated, sets off all the following code blocks to perform their actions. For this guide, we will choose OneDrive to set off our zap.

Trigger menu for Zapier zap. User should select OneDrive, which is written in the top left corner of the list of apps. The logo for OneDrive is two blue clouds overlapping within a white square.

Once you add the OneDrive action, choose the event ‘New File’ to activate the zap anytime a file is uploaded to a specific folder.

The event settings for the OneDrive zap trigger are pictured. The event is 'New File'. A large, blue, rectangular button at the bottom says 'Continue'

Once you do this, you will be prompted to connect your own OneDrive account by signing into it. After your account is signed in, choose the folder you want OneDrive to look at for new files. 

Set up trigger menu for OneDrive is pictured. The folder name selected is 'Audio to Process' and the selection for 'Include file object' is Yes. User should choose the folder name that is applicable to them.

In my case, I want the zap to trigger anytime I add a new file to my folder ‘Audio to Process,’ but change this folder name as applicable.

Enhancing The Audio File – Code Block #2

The next code block we are adding is the first ‘action’ in our zap. This is the first code block that will execute once the zap is triggered. Our first action is going to be enhancing podcast audio using Dolby.io as new files are uploaded to OneDrive. We can find this integration by typing ‘dolby’ into the action search bar.

Pictured is the select an action menu from zapier. 'dolby' is typed into the search bar which reveals the app 'Dolby.io' (which is in beta).

Once you add the action, choose the event ‘Start Enhancing in Dolby.io.’

Pictured is the first action settings menu to use 'Start Enhancing in Dolby.io'. The app chosen is Dolby.io and the event chosen is 'Start Enhancing.' At the bottom of the screen is a large, blue, rectangular button for the user to press to continue.

Authenticating Your Dolby.io Account with Zapier

Before you can use this Zapier integration, you’ll have to connect your Dolby.io account. To do this, log into Dolby.io in a second tab and navigate to your dashboard. Once there, you can find your app key and secret key that Zapier will ask for by clicking on ‘Get API keys’ next to the name of your app.

Shown is the Dolby.io dashboard once a user is signed in. Under the 'Applications' menu, the name of the user's apps and the API keys for the apps is pictured. The user will need to click on 'Get API keys' to find their API keys.

Once you do this, take note of your two unique keys before returning to Zapier. Then, paste them into the Zapier pop up to connect your Dolby.io account and start using the Media APIs.

Below, I chose to have the API token expire after the maximum amount of time. When this time runs out – don’t worry! Zapier will automatically create a new API token for you.

Pop menu from Zapier that says 'Allow Zapier to access your Dolby.io Account?' There are three text boxes for the user to interact with.
First, a text box titled 'App key (required)' asks for 'Your Dolby.io App key, which can be found at https://dashboard.dolby.io/signin'.
Second, a text box titled 'App secret (required)' asks for 'Your Dolby.io App secret, which can be found at https://dashboard.dolby.io/signin'.
Finally, a text box titled 'Expires in' asks for a length of time before 'API token expiration time in seconds. The maximum value is 2,592,000, indicating 30 days. If no value is specified, the default is 600, indicating 10 minutes.' The user has typed '2,592,000' into this box.
At the bottom of the image there are two buttons. One is orange with white text that says 'Yes, Continue.' The other is white with black text and says 'Cancel'

Setting Up The Enhance Action

With Zapier connected to your Dolby.io account, you are now ready to finish setting up the enhance action.

Choose the pictured settings for the rest of the action block:

This is the second 'Set up action' menu for the 'Start Enhancing' action from Dolby.io. The Input URL selected is '1. FIle (Exists but not shown)'. The Output URL is 'dlb://1. File Name: preview-m.wav'. dlb:// is hand typed, while the remainder of the URL was selected from a dropdown menu. The filename will differ from user to user. The content type selected is 'Podcast - mixture of close mic'd speech and some musical content. At the bottom the user must click the blue rectangular button that says 'continue' to continue.

I chose ‘Podcast’ as the content type for this tutorial, but there are lots of different options – feel free to explore them and choose what is best for your audio enhancement needs!

Delay for Enhancement – Code Block #3

Enhancing an audio file can take some time, so let’s add a delay to the zap so that the file is fully enhanced before the zap continues. You can do this by choosing ‘Delay’ as the action – which is one of Zapier’s built-in tools. 

In the action, choose the event ‘Delay for’:

Shown is the action menu for Zapier's built-in tool called delay. the Event selected is 'Delay For.' The user must hit the large, blue, rectangular button that says 'Continue' to continue.

For setting up the time delay, it’s best to have your delay be around half the length of the audio files you want to enhance. If your podcast episodes are generally an hour long, for example, set your delay to be thirty minutes. I will be setting mine to one minute for the purposes of this tutorial, but change it as you see fit!

This is the set up action menu for the 'Delay for' action. There is a box to type in and a box with a drop down menu. For the box to type in, it asks for 'TIme Delayed For (value)' and in the box is typed '1'. For the dropdown menu, it asks for 'Time Delayed For (unit)' and selected is 'minutes.'

Error Catching for Audio Enhancement

The following two code blocks are included for error checking purposes and are not strictly required for this workflow. That being said – it’s recommended to use them! The first block will poll Dolby.io to ensure the enhancement on your file has finished processing and the second block will only allow the zap to continue executing if your file has finished processing.

Checking The Enhancement Progress – Code Block #4

Add a Dolby.io action with the event ‘Get Enhance Status’:

Pictured is the 'Choose app & event' menu for a new action. The event selected is 'Get Enhance Status' from the app 'Dolby.io.' At the bottom, there is a large, blue, rectangular button that says 'Continue' for the user to press.

In the set up menu, choose the ‘Start Enhancing with Dolby.io’ job ID from code block two as the job ID:

Shown is the 'set up action' menu for the 'get enhance status' action. There is a box to type in asking for a 'Job ID.' In the box is '2. Job ID: e6cfb419-8cb0-4...5a63c068e705.' The exact job ID will be different for each user. Instead of being typed, this is selected as an option from code block 2.

This action will return multiple values, one of which being ‘Progress.’ This is what the next block will look at to confirm whether or not your file is ready to be downloaded.

Using a Filter to Ensure Audio Enhancement is Complete – Code Block #5

The filter action is a built-in tool with Zapier, just like the delay action we used before.

Choose the following in the filter setup menu:

The 'filter setup & testing' menu for the Zapier built-in tool 'filter' is pictured. There are three boxes to fill out, two drop down menus and a text box. The prompt above these boxes is 'Only continue if...'. In the first dropdown menu, '4. Progress' has been selected. In the next drop down menu, '(Text) Contains' has been selected. Written in the text box is '100'

Now, the zap will only continue executing if the file is 100% done being enhanced. This prevents you from accidentally trying to download a file that is not done processing yet.

Downloading Our Enhanced File – Code Block #6

Now that the file is done being enhanced, you have to download it from the Dolby.io temporary media cloud.

Add another Dolby.io action with the event ‘Get Media Download’:

The 'Choose app & event' menu for the app Dolby.io is pictured. The Event selected is 'Get Media Download.' Below, there is a large, blue, rectangular button that says 'Continue' for the user to press.

Choose the following action settings:

This is the 'set up action' menu for the event 'Get Media Download in Dolby.io.' There is a textbox shown asking for a 'URL.' In the box is 'dlb://1. FIle Name: preview-m.wav' Hand typed is 'dlb://' while the filename is selected from the drop down menu. The exact file name will be different user to user.

The URL here needs to match the one you used in code block two, ‘Start Enhancing in Dolby.io.’

Uploading Our File to OneDrive – Code Block #7

Now that you have downloaded the file, let’s upload it to OneDrive.

Add a OneDrive action with the event ‘Upload File’:

Shown is the 'Choose app & event' menu for the app OneDrive. The event chosen is 'Upload File.' Below, there is a large, blue, rectangular button that says 'Continue' for the user to click.

Choose the following action settings:

Pictured is the 'Set up action' menu for the action 'Upload File.' There is a drop down menu asking for a 'Folder' which has 'Processed Audio' selected. This folder name will be different user to user. Next, is a text box asking for 'File.' Selected from an included drop menu for this textbox is '6. URL: https://media-a...&x-id=GetObject' The exact URL will be different user to user. There is a second text box. This one is asking for 'File Name.' In the box is '1. File Name: preview-m.wav-enhanced.wav'.
While the first part of this name is selected from an included drop down menu, '-enhanced.wav' is hand typed into the text box.

I want my file to be uploaded to my folder ‘Processed Audio,’ but choose the folder that works for you.

The file URL you need to use will be returned by code block six, ‘Get Media Download in Dolby.io.’

You can make the filename anything you’d like! I’d recommend using the original filename from code block one and adding some sort of indicator that it is now enhanced, like I did above.

Publishing and Using Your New Zap

Now that we have finished adding actions, go ahead and hit publish to create your own personal zap.

The Zapier user dashboard is shown. The current tab is called 'Zaps' which is shown to be selected as it is shaded orange. On this tab, is one folder of Zaps called 'Home.' In that folder, there is a multi-step zap called 'Enhancing Podcast Audio.' It has a switch next to it that is green and says 'On.'

In your dashboard, you can now see the zap you just made is ready for you to run!

Let’s see how my audio sounds now that it has been enhanced.

Original Podcast Audio
Enhanced Podcast Audio

And there you have it! Enhancing podcast audio using Dolby.io can be as simply as building a zap through Zapier. The best part is that from now on, anytime you need to enhance more podcast audio, all you have to do is drag and drop a new file into your OneDrive folder.

This is just one example of how the new Dolby.io integration with Zapier can be used. There are lots of different actions possible using the Dolby.io Media APIs and there’s more on the way. If you’d like to learn more about the Dolby.io Media APIs, check out the documentation available or the demo of the enhance API to see more about what’s possible!

What can you build with Zapier’s new integration with Dolby.io?

E. Bennett

Developer Relations

Get Started

Drive real-time interactions and engagement with sub-second latency

We are more than just a streaming solutions provider; we are a technology partner helping you build a streaming ecosystem that meets your goals. Get started for free and as you grow, we offer aggressive volume discounts protecting your margins.

Developer Resources

Explore learning paths and helpful resources as you begin development with Dolby.io.

Copy link
Powered by Social Snap