-
Notifications
You must be signed in to change notification settings - Fork 0
Audio Convert.applescript
description: "For each selected Audio cue: retarget to existing converted file in [workspace]/../audio or convert if missing. Preserves cue times." author: Antonio Nunes version: "2.4" source: testedqlab: "4.7" testedmacos: 10.15.7 separateprocess: "true" aliases:
- wav
- flac
- mp3
Converte audio cue para outros formatos. wav, mp3, flac, aif entre outros, Utilizando a engine "afconvert" or "ffmpeg" O "afconvert" já vem pré instalado em todos os mac, o "ffmpeg" abre suporte para outros formatos (mp3 e flac)
-
Script Library:
Add this script to `~/Library/Script Libraries/QLab/Cue/Inspector/Audio Level -
Script Cue:
Paste the script contents into a Script Cue in your QLab project.
--set TARGET_FORMAT to wav
--set BIT_DEPTH to 24
--set SAMPLE_RATE to 48000
--set PREFERRED_TOOL to "afconvert"
set utils to getScriptFromLibrary("Applescript Utilities.scpt")
utils's initGlobals()
run getScriptFromLibrary("Cue:Inspector:Audio Level:Audio Convert.scpt")
on getScriptFromLibrary(relativeSubPath)
return load script file ((path to library folder from user domain as text) & "Script Libraries:Qlab:" & relativeSubPath)
end getScriptFromLibrary
| Variable | Type | Default | Description |
|---|---|---|---|
| TARGET_FORMAT | string | wav | set audio format |
| BIT_DEPTH | number | 24 | set bit depth |
| SAMPLE_RATE | number | 48000 | set sample rate |
| PREFERRED_TOOL | string | "afconvert" | escolhe a engine de conversão, "afconvert" or "ffmpeg" |
-
List out the steps the script takes or the operations performed.
-
Point out any QLab features used (e.g., "Modifies all selected cues", "Creates a fade cue with specified parameters", etc).
-
Mention any limitations or known issues.
#todo
- creditar o autor original do script
- add suporte de como instalar o ffmpeg no mac e o afconvert
- addcionar formato como flac, mp3 ou equvalente.
- add esse script para funcionar idependente ou depois da execuçao do Level Normalize.applescript com os arquivos que não sao compatíveis.
- Passar metadados, capa, artista...
- usar o samplerate da track + bit
=================== < Back To Repo > ===================
====================== < Home > ======================
- Home
- Installation
- Global Syntax
- Template
- License
- RoadMap
-
Scripts
- Controle
-
Applications
- Apple music
- Phillips Neo
- Qlab
- Spotify
- Reaper
- Logic Pro
-
Desk Control
- A&H
- DiGiCo
- ETC EOS
- MIDI
- OSC
- Yamaha
-
Applications
- Core
- Cue
- Add Cue.applescript - Cria qualquer tipo de cue existente no qlab, configurando o Target de maneira inteligente.
- Add Fade.applescript - Cria um fade (in, out, crossfade) a partir da seleção atual.
- Inspector
- Audio Level
- Level Normalize.applescript - Normaliza o audio a partir dos cues selecionados utilizando a biblioteca
- Set Level.applescript - Script que manipula os volumes dos input e output do cue selecionado
- Route cues to template.applescript - Script que aplica templates de "Audio Level" a partir do cue selecionado (Audio, Video, Fade) facilitando o patch de audio.
- Basics
- Time & Loops
- Toggle Infinite Loop.applescript
- Trim Audio Silence.applescript - A partir dos Audio cues selecionados o script modifica o start time e o end time do cue selecionado
- Audio Level
- SFX Variations
- Utilities
- Controle
=================== < Back To Repo > ===================