diff --git a/BUILDING.md b/BUILDING.md index c999f04..40ee3e3 100644 --- a/BUILDING.md +++ b/BUILDING.md @@ -6,17 +6,18 @@ pip install pyinstaller ``` -### Then build the application: +### Next, build the CLI application: + +This is required for the GUI application -- you'll see as you use it ```powershell pyinstaller ` - --noconfirm ` --onefile ` - --windowed ` + --noconfirm ` + --console ` --icon ".\assets\icon.ico" ` - --name "Drum Track Converter" ` + --name "dtc_cli" ` --add-data ".\src;src/" ` - --add-data=".\assets\icon.ico;assets/icon.ico." ` --add-data ".\.venv\Lib\site-packages\demucs\remote;demucs/remote/" ` --hidden-import "eyed3" ` --hidden-import "demucs" ` @@ -25,6 +26,23 @@ pyinstaller ` --hidden-import "numpy" ` --collect-submodules "demucs" ` --collect-submodules "numpy" ` + ".\src\cli.py" +``` + +### Finally, build the GUI application: + +On the TODO: dtc_cli.exe is hard-coded and that's gross. I don't want to have to configure multiple builds for each platform if possible.. + +```powershell +pyinstaller ` + --onefile ` + --noconfirm ` + --console ` + --icon ".\assets\icon.ico" ` + --name "Drum Track Converter" ` + --add-data ".\src;src/" ` + --add-data=".\assets;assets/" ` + --add-data ".\dist\dtc_cli.exe;." ` ".\src\gui.py" ``` diff --git a/README.md b/README.md index 57e11f1..e22726a 100644 --- a/README.md +++ b/README.md @@ -8,6 +8,10 @@ I'm not entirely sure if this application _requires_ an Nvidia GPU or not, I act As `demucs` has a dependency on FFmpeg, so does this project. Installation is easy and lightweight. You can install FFMpeg for your operating system of choice from the [official site](https://ffmpeg.org/download.html). +# ℹ️ Using Your Nvidia GPU ℹ️ + +If you wish to use your Nvidia GPU, be sure to install the Cuda Toolkit version 11.8 from [here](https://developer.download.nvidia.com/compute/cuda/11.8.0/local_installers/cuda_11.8.0_522.06_windows.exe) before proceeding. + ## ℹ️ Additional Features ### 💽 Metadata Replication diff --git a/requirements.cuda.txt b/requirements.cuda.txt new file mode 100644 index 0000000..d8754c0 --- /dev/null +++ b/requirements.cuda.txt @@ -0,0 +1,11 @@ +--extra-index-url https://download.pytorch.org/whl/cu118 + +demucs==4.0.1 +eyed3==0.9.7 +PySide6_Addons==6.8.3 +PySide6_Essentials==6.8.3 +PySide6==6.8.3 +tinytag==1.10.1 +torch==2.6.0+cu118 +torchaudio==2.6.0+cu118 +wavinfo==3.1.0 \ No newline at end of file diff --git a/requirements.txt b/requirements.txt index 93068b1..18a15b5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,4 +4,6 @@ PySide6_Addons==6.8.3 PySide6_Essentials==6.8.3 PySide6==6.8.3 tinytag==1.10.1 +torch==2.6.0 +torchaudio==2.6.0 wavinfo==3.1.0 \ No newline at end of file