Login About Gallery
Visualize Audio
Accepts
Images, Media and Files
returntohomescreen Under Construction
COMMENT
Visualize Audio 1.2.0 by veredictum
COMMENT
This shortcut will create video of an audio waveform
COMMENT
This shortcut requires the a-Shell mini app
DICTIONARY
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
<inline variable>
VARIABLES
Set variable
Config
to
Dictionary
SCRIPTING
If
Shortcut Input
has any value
VARIABLES
Set variable
Input
to
Shortcut Input
Otherwise
End If
SCRIPTING
Decode
Config
with base64
DOCUMENTS
FILES
Filter
Files
Sort by
Name
Order
A to Z
Limit
SCRIPTING
If
Input
does not have any value
SCRIPTING
Choose from Menu
Photos
SCRIPTING
Wait
1 second
returntohomescreen Under Construction
PHOTOS
Select photos
Select Multiple
VARIABLES
Set variable
Input
to
Photos
Files
SCRIPTING
Wait
1 second
returntohomescreen Under Construction
file.select Under Construction
VARIABLES
Set variable
Input
to
File
Get a-Shell mini
SAFARI
Open
https://apps.apple.com/us/app/a-shell-mini/id1543537943
SCRIPTING
Exit shortcut with
Result
End Menu
End If
DOCUMENTS
Replace
\'|\/|\\|\:
with
_
in
Input
Case Sensitive
Regular Expression
VARIABLES
Set variable
InputName
to
Updated Text
SCRIPTING
Set name of
Input
to
Updated Text
VARIABLES
Set variable
Input
to
Renamed Item
SCRIPTING
Count
Characters
in
Config
SCRIPTING
If
Count
is greater than
0
TEXT
Change
Config
to
lowercase
Otherwise
returntohomescreen Under Construction
SCRIPTING
Choose from
Files
Prompt
Choose a background color
Select Multiple
End If
TEXT
Match
#[\da-fA-F]+
in
If Result
Case Sensitive
SCRIPTING
Count
Characters
in
Config
SCRIPTING
If
Count
is greater than
0
TEXT
Change
Config
to
lowercase
Otherwise
returntohomescreen Under Construction
SCRIPTING
Choose from
Files
Prompt
Choose a foreground color
Select Multiple
End If
TEXT
Match
#[\da-fA-F]+
in
If Result
Case Sensitive
TEXT
Case Sensitive
SCRIPTING
Count
Items
in
Matches
SCRIPTING
If
Count
is less than
2
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
SCRIPTING
Exit shortcut with
Result
End If
TEXT
Input
Input
returntohomescreen Under Construction
SCRIPTING
Ask
Enter a title or leave blank for no text.
Input Type
Text
Default Answer
FILES
Filter
Files
where
Name
contains
Sort by
None
Limit
Get 1 File
MEDIA
Resize
Files
to
1920
x
1080
overlaytext Under Construction
SCRIPTING
Set name of
Image with Text
to
Background
Under Construction
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
MEDIA
Encode
Input
Options Under Construction
Under Construction
TEXT
echo hideKeyboard clear echo echo echo echo echo Please wait... echo echo
Under Construction
SCRIPTING
Wait
1 second
TEXT
echo hideKeyboard clear echo echo echo echo echo ------------------------------- echo Leave this app on the screen echo while encoding is in progress. echo ------------------------------- echo echo echo rm -f done rm -f output.mp4 ffmpeg -loglevel panic -stats -y -i '
Encoded Media
.
Renamed Item
' -loop 1 -framerate 30 -i
Encoded Media
.
Encoded Media
-filter_complex "[0:a]aformat=channel_layouts=mono,showwaves=size=1920x1080:mode=cline:rate=30:colors=
Encoded Media
[v];[1:v][v]overlay=format=auto:x=(W-w)/2:y=(H-h)/2,format=yuv420p[outv]" -map "[outv]" -map 0:a -c:v h264 -b:v 8M -c:a aac -shortest -y output.mp4 rm -f
Renamed Item
.
Matches
rm -f '
Renamed Item
.
Renamed Item
' touch done echo hideKeyboard clear echo echo echo echo echo
Under Construction
VARIABLES
Set variable
loop
to
Input
SCRIPTING
Repeat
20 times
SCRIPTING
If
loop
begins with
done
Otherwise
SCRIPTING
Repeat
20 times
SCRIPTING
If
loop
begins with
done
Otherwise
SCRIPTING
Repeat
20 times
SCRIPTING
If
loop
begins with
done
Otherwise
SCRIPTING
Wait
1 second
Under Construction
VARIABLES
Set variable
loop
to
output
End If
End Repeat
End If
End Repeat
End If
End Repeat
Under Construction
TEXT
Match
^output\.mp4
in
output
Case Sensitive
SCRIPTING
If
Matches
does not have any value
SCRIPTING
Show alert
Informational Message
Title
optional
Show Cancel Button
SCRIPTING
Exit shortcut with
Result
End If
Under Construction
SCRIPTING
Set name of
File
to
Input
-waveform
returntohomescreen Under Construction

Showcuts

Magic Vars

Screenshot

Submitted by NeoYokel 10 months ago

Visit iCloud (iOS)

Copy iCloud Link

Scan QR Code

1

11 more actions