-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL.txt
More file actions
92 lines (92 loc) · 3.82 KB
/
INSTALL.txt
File metadata and controls
92 lines (92 loc) · 3.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
################################################################################
# This script requires Python the ffmpeg and pydub libraries. For use on windows
# the Choclatey package manager is reccomend.
# See additionally:
# https://stackoverflow.com/questions/78388483/getting-warning-while-trying-to-change-the-volume-of-a-wav-file-in-python-on-win
#
# For instalation on Windows:
#
# This script requires Python 3.12.2 or greater and Chocolatey Package Manager
# for windows.
#
# # Install Chocolatey as Administrator: - https://chocolatey.org/install
# https://community.chocolatey.org/courses/installation/installing
#
# 1. Click on Search, type in PowerShell, right click on Windows Powershell, and
# select "Run as Administrator".
# 2. In the PowerShell Window, run the command:
#
# Set-ExecutionPolicy Bypass -Scope Process
#
# 3. Press A to accept the security warning that appears.
# 4. Run the command:
#
# Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1'))
#
# You should get a message that reads: Chocolatey (choco.exe) is now ready.
# 5. Type 'choco' in the PowerShell window and press enter. You should get:
#
# Chocolatey v2.2.2
# Please run 'choco -?' or 'choco <command> -?' for help menu.
#
# # Install Python with Chocolatey
#
# 6. Run the command:
# choco install python
#
# 7. If you receive the message:
# Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint):
# Type A and hit enter.
#
# 8. Go to Start > Run, type cmd and hit enter.
# 9. Type python -V and press enter.
# 10.You should receive a message that reads: Python 3.12.3
#
# # Install Git
# 11. If you do now have Git installed, run the command:
# choco install git
#
# You should receive the message:
# git.install v2.44.0 [Approved]
# git.install package files install completed. Performing other installation steps.
# The package git.install wants to run 'chocolateyInstall.ps1'.
# Note: If you don't run this script, the installation will fail.
# Note: To confirm automatically next time, use '-y' or consider:
# choco feature enable -n allowGlobalConfirmation
# Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint):
#
# 12. Type A and hit enter.
#
# # Get this repository with Git:
# 13. Press (WindowsKey+R) to open the Run dialog.
# 14. Type cmd and press Enter.
# 15. Change the current working directory to where you want the repository
# folder to be placed. (e.g. Type cd Desktop and press Enter)
# 16. Run the command:
# git clone https://github.com/tibberous/ChangeWavVolume.git
# Allow it to finish, then change the current working directory to inside the
# repository:
# 17. Type "cd ChangeWavVolume" (without quotes) and press Enter.
# # Install Python dependencies
# 18. Run the command: pip install pydub
# 19. Run the script with:
# python lower.py
# It should create new audio files in the output/ directory.
#
# ## DEBUGGING #################################################################
# These install instructions were tested on a fresh install of
# Microsoft Windows [Version 10.0.18362.30 using Oracle Virtualbox 7.0
# if you receive any depenency errors while running the script, try the follow:
# Run in Command Prompt:
pip install ffprobe
pip install ffmpeg
pip install normalizer
pip install ffmpeg-downloader
pip install ffmpeg-python
choco install ffmpeg
# https://stackoverflow.com/questions/78388483/getting-warning-while-trying-to-change-the-volume-of-a-wav-file-in-python-on-win
# ## Support ####################################################################
# If you still have issues, please post the details on stackoverflow.com.
#
#
################################################################################