-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
202 additions
and
110 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# CHECK DEPS | ||
|
||
echo | ||
echo "CHECKING DEPENDENCIES..." | ||
echo | ||
|
||
brew --version > /dev/null | ||
git --version > /dev/null | ||
clang --version > /dev/null | ||
cmake --version > /dev/null | ||
rustc --version > /dev/null | ||
node --version > /dev/null | ||
pnpm --version > /dev/null | ||
|
||
echo DONE. | ||
|
||
|
||
# INSTALL | ||
|
||
echo | ||
echo "DOWNLOADING..." | ||
echo | ||
|
||
|
||
git clone https://github.com/hingobway/wavslice.git .WAVSLICETMP | ||
cd .WAVSLICETMP | ||
|
||
git submodule update --init | ||
brew install libsndfile | ||
pnpm install | ||
|
||
echo DONE. | ||
|
||
echo | ||
echo "INSTALLING..." | ||
echo | ||
|
||
cd src-cpp | ||
cmake -Bbuild | ||
cmake --build build --config Release | ||
cd .. | ||
|
||
pnpm tauri build --bundles app | ||
|
||
mv src-tauri/target/release/bundle/macos/*.app .. | ||
cd .. | ||
rm -rf .WAVSLICETMP | ||
|
||
echo | ||
echo "DONE!" | ||
echo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ namespace AUDIO | |
|
||
int readMarkers(const char *file_path); | ||
int readAudioSampleRate(const char *file_path); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.