added

13th Oct 2023 - (Beta) Sound Template intensity, Mastering Improvement

Sound Template Intensity (Beta feature)

  • New feature allows you to specify how intense you would like a specific sound template to sound, changing the "timbre" of the sound design.
  • For example, a more intense sound template might include heavier percussion and more complex melodies. A soft version of the template might sound more sparse, with just melodic instruments and chords, for example.
  • To use this feature, you need to specify which of the "soundLayers" to use in the mix: choose from soft, intense, or default.
  • This feature can currently be used with two supported sound templates: chromatic_jazz and friendly_electronica.
import audiostack
import os

audiostack.api_key = "APIKEY"
audiostack.api_base = "https://v2.api.audio"

print(audiostack.Production.Mix.list_presets())

scriptText2 = """
<as:section name="intro" soundSegment="intro">
Insert your script for the intro section here
</as:section>

<as:section name="main" soundSegment="main">
And this is the main section!
</as:section>

<as:section name="outro" soundSegment="outro">
Here is your outro.
</as:section>
"""


script = audiostack.Content.Script.create(scriptText=scriptText2)
print("response from creating script", script.response)
scriptId = script.scriptId

# create one tts resource
tts = audiostack.Speech.TTS.create(scriptItem=script, voice="bryer")
print(tts.speechId)

sound_template = "chromatic_jazz"
sound_layer = "intense"
mix = audiostack.Production.Mix.create(speechItem=tts, soundTemplate=sound_template, masteringPreset="musicenhanced", soundLayer=sound_layer)# sectionProperties={"main" : {"endAt" : 120}})
print(mix)


encoded = audiostack.Delivery.Encoder.encode_mix(productionItem=mix, preset="wav")
encoded.download(fileName=f"{sound_template}_{sound_layer}")

πŸ‘

We love to receive feedback about beta features

If you have any thoughts on this feature, please get in touch at [email protected].

We'll be launching a more extended version of this feature which supports lots more sound templates soon.

Mastering Improvement

  • We added MP3 support for media files in mastering - this means you can upload MP3 media files and include them in your final asset

🚧

Don't forget to update the SDK to access new features

In Python, you can do this by running the command pip3 install -U audiostack