Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Sneaky Salamander
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Alexander Liao
Sneaky Salamander
Commits
1f05603f
Commit
1f05603f
authored
1 year ago
by
Thomas Liao
Browse files
Options
Downloads
Patches
Plain Diff
Change To Pydub
parent
b3044ede
No related branches found
Branches containing commit
No related tags found
1 merge request
!14
Resolve "Add New Names For QA People"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Assets/Sounds/VoiceLines/Install.sh
+1
-1
1 addition, 1 deletion
Assets/Sounds/VoiceLines/Install.sh
Assets/Sounds/VoiceLines/Process.py
+13
-12
13 additions, 12 deletions
Assets/Sounds/VoiceLines/Process.py
with
14 additions
and
13 deletions
Assets/Sounds/VoiceLines/Install.sh
+
1
−
1
View file @
1f05603f
#!/bin/bash
pip3
install
pyaudacity
\ No newline at end of file
pip3
install
pydub
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Assets/Sounds/VoiceLines/Process.py
+
13
−
12
View file @
1f05603f
# Audacity Control Script - Automatically Processes All Voice Lines
# https://manual.audacityteam.org/man/scripting_reference.html
# # Audacity Control Script - Automatically Processes All Voice Lines
# # Note you need to enable the audacity pipe (in the preferences/modules menu)
# # https://manual.audacityteam.org/man/scripting_reference.html
import
pyaudacity
#
import pyaudacity
def
ProcessTrack
(
_InputTrackName
,
_OutputTrackName
):
#
def ProcessTrack(_InputTrackName, _OutputTrackName):
# Firstly, setup new project
pyaudacity
.
do
(
"
New
"
)
#
# Firstly, setup new project
#
pyaudacity.do("New")
# Now, Import Audio
pyaudacity
.
do
(
"
ImportAudio
"
)
#
# Now, Import Audio
#
pyaudacity.do("ImportAudio")
def
Main
():
#
def Main():
ProcessTrack
(
"
Test.wav
"
,
"
TestOut.wav
"
)
#
ProcessTrack("Test.wav", "TestOut.wav")
if
__name__
==
"
__main__
"
:
Main
()
\ No newline at end of file
# if __name__ == "__main__":
# Main()
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment