Skip to content

Commit 2178be1

Browse files
committed
[fix]: running sox
1 parent 4835e9f commit 2178be1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/ScriptToolkit/FileExtension.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ public extension File {
106106
// MARK: - Audio Processing
107107

108108
@discardableResult public func slowDownAudio(newName: String, percent: Float) throws -> File {
109-
run("/usr/local/bin/sox", path, newName, "tempo", "-s", Int(percent))
109+
run("/usr/local/bin/sox", path, newName, "tempo", "-s", String(percent))
110110
return try File(path: newName)
111111
}
112112

0 commit comments

Comments
 (0)