Improved Documentation; Bug fixes and performance enhancements

 Media improvements

We fixed some UX problems (thanks to our customers for pointing this out) in the Media endpoints.

You can now do a lot more with media files, namely, place the name of the media file directly in the script using the name="" attribute.
You can also use the id="" attribute to create a placeholder, that can be overwritten in the mastering call:

import audiostack
import os

audiostack.api_key = os.environ["AUDIO_STACK_DEV_KEY"]

response = audiostack.Content.Media.create(filePath="default.wav")
mediaId = response.mediaId

script = """
<as:section name="intro" soundsegment="intro">
  hello world <as:media name="default.wav" id="file1"/>

script = audiostack.Content.Script.create(scriptText=script)
speech = audiostack.Speech.TTS.create(scriptItem=script, voice="sara")

mastering = audiostack.Production.Mix.create(
    # mediaFiles={
    #     "file1" : <any media id of an uploaded file">
    # }

Intern showcase

Our intern William built something cool :cool: have a look here at this news article summarizer - leveraging Beautiful Soup :heart-eyes:, OpenAI :100: and our AudioStack API, it takes a URL and produces a beautiful audio summary. Have a play!

Multilingual voices in our Frontend

We updated our library

You can see all of the multilingual voices - plus what languages they support.

Bug fixes

As we build out the AudioStack we're constantly looking for improvements.

  • We fixed the trailing silence issue.