Comments (9)
I think python
is using Python 2.7, but you'll need Python 3.6 or higher. Do you have that installed? Then it would be python3 download_libfaust.py
I pushed a minor update to the script to debug this in case the Python version is too low.
from td-faust.
Thanks! I have Python 3.11 installed so I tried 'python3 download_libfaust.py'. Unfortunately, I'm getting pretty much the same error - I'm getting this now:
(base) me@my-MBP-2 libfaust % python3 download_libfaust.py
File already exists: Faust-2.70.3-arm64.dmg
/dev/disk9 GUID_partition_scheme
/dev/disk9s1 Apple_HFS /Volumes/Faust-2.70.3
cp: /Volumes/Faust-2.70.3/Faust-2.70.3/: No such file or directory
Traceback (most recent call last):
File "/Users/me/Desktop/TD-Faust/thirdparty/libfaust/download_libfaust.py", line 55, in
main(args.version)
File "/Users/me/Desktop/TD-Faust/thirdparty/libfaust/download_libfaust.py", line 42, in main
install_macos(version)
File "/Users/me/Desktop/TD-Faust/thirdparty/libfaust/download_libfaust.py", line 27, in install_macos
subprocess.run(["cp", "-R", f"/Volumes/Faust-{version}/Faust-{version}/", dir_path], check=True)
File "/Users/me/anaconda3/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cp', '-R', '/Volumes/Faust-2.70.3/Faust-2.70.3/*', 'darwin-arm64/Release']' returned non-zero exit status 1.
from td-faust.
Can you go to Finder and unmount the Faust-2.70.3 and then run the script again? Maybe there's an issue if it's already mounted.
from td-faust.
Thanks! I unmounted it but I'm still getting the exact same error where it says the file already exists and 'no such file or directory'.
from td-faust.
Sorry there are probably some other issues. I'll get back to you soon.
from td-faust.
I pushed some fixes which I checked on my mac. Can you pull and then continue with python3 download_libfaust.py
?
from td-faust.
Thanks so much! I did that and I think it worked. Here's what I got:
(base) me@my-MacBook-Pro-2 TD-Faust % git pull
remote: Enumerating objects: 16, done.
remote: Counting objects: 100% (16/16), done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 16 (delta 8), reused 15 (delta 8), pack-reused 0
Unpacking objects: 100% (16/16), 8.26 KiB | 497.00 KiB/s, done.
From https://github.com/DBraun/TD-Faust
a56747e..7778a45 main -> origin/main
Updating a56747e..7778a45
Fast-forward
CMakeLists.txt | 12 ++++++------
README.md | 6 +++---
build_tdfaust.py | 6 +++---
thirdparty/libfaust/download_libfaust.py | 11 +++++++++--
4 files changed, 21 insertions(+), 14 deletions(-)
(base) me@my-MacBook-Pro-2 TD-Faust % cd thirdparty
(base) me@my-MacBook-Pro-2 thirdparty % cd libfaust
(base) me@my-MacBook-Pro-2 libfaust % python3 download_libfaust.py
File already exists: Faust-2.70.3-arm64.dmg
/dev/disk9 GUID_partition_scheme
/dev/disk9s1 Apple_HFS /Volumes/Faust-2.70.3
"disk9" ejected.
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 150M 100 150M 0 0 23.7M 0 0:00:06 0:00:06 --:--:-- 27.8M
Checksumming Protective Master Boot Record (MBR : 0)…
Protective Master Boot Record (MBR :: verified CRC32 $1857DF63
Checksumming GPT Header (Primary GPT Header : 1)…
GPT Header (Primary GPT Header : 1): verified CRC32 $89EE4352
Checksumming GPT Partition Data (Primary GPT Table : 2)…
GPT Partition Data (Primary GPT Tabl: verified CRC32 $91C6B667
Checksumming (Apple_Free : 3)…
(Apple_Free : 3): verified CRC32 $00000000
Checksumming disk image (Apple_HFS : 4)…
.....................................................................................................................
disk image (Apple_HFS : 4): verified CRC32 $3EB72359
Checksumming (Apple_Free : 5)…
(Apple_Free : 5): verified CRC32 $00000000
Checksumming GPT Partition Data (Backup GPT Table : 6)…
GPT Partition Data (Backup GPT Table: verified CRC32 $91C6B667
Checksumming GPT Header (Backup GPT Header : 7)…
GPT Header (Backup GPT Header : 7): verified CRC32 $470D667E
verified CRC32 $02B8657A
/dev/disk6 GUID_partition_scheme
/dev/disk6s1 Apple_HFS /Volumes/Faust-2.70.3
"disk6" ejected.
However when I got to the last step of the build I hit this error:
(base) me@my-MacBook-Pro-2 TD-faust % python build_tdfaust.py --pythonver=3.11
rm: Plugins/TD-Faust.plugin: No such file or directory
Building libsndfile.
CMake Error: The source directory "/Users/me/Desktop/TD-Faust/thirdparty/libsndfile" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Traceback (most recent call last):
File "/Users/me/Desktop/TD-Faust/build_tdfaust.py", line 75, in
build_macos(args.pythonver, args.touchdesigner_app)
File "/Users/me/Desktop/TD-Faust/build_tdfaust.py", line 49, in build_macos
run_command(["cmake", "-Bbuild", "-DCMAKE_VERBOSE_MAKEFILE=ON", "-DCMAKE_INSTALL_PREFIX=./install"])
File "/Users/me/Desktop/TD-Faust/build_tdfaust.py", line 8, in run_command
subprocess.run(command, shell=shell, check=True)
File "/Users/me/anaconda3/lib/python3.11/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['cmake', '-Bbuild', '-DCMAKE_VERBOSE_MAKEFILE=ON', '-DCMAKE_INSTALL_PREFIX=./install']' returned non-zero exit status 1.
I checked that my cmake works fine so not really sure what the issue is. (sorry for all the questions)
from td-faust.
The error is CMake Error: The source directory "/Users/me/Desktop/TD-Faust/thirdparty/libsndfile" does not appear to contain CMakeLists.txt.
You need to run git submodule update --init --recursive
in the root of TD-Faust. For the next steps, I also want to make sure CMake is available from the command line, so you may need to run
PATH="/Applications/CMake.app/Contents/bin":"$PATH"
before python3 build_tdfaust.py
or choose a more permanent solution like modifying your .zshrc
file.
from td-faust.
I've revised the build procedure a little. Can you either try the pre-compiled plugins from the Releases or could you try the build procedure again? The README was updated too.
from td-faust.
Related Issues (14)
- Polyphony MIDI HOT 1
- Hardware MIDI Polyphony requires twice as many voices as necessary
- nentry items need to be rescaled HOT 1
- Compiling should involve crossfade
- UI for loudness meters (vbargraph etc.) not supported HOT 1
- Setup Github actions for compiling
- Setup UI misses effects on polyphonic instruments HOT 1
- Need an always cook toggle
- Shouldn't need to Setup UI after every Compile HOT 1
- Auto UI could have Soundfile selector to ".wav" files
- Should use shortname parameters from Faust
- UI Widgets should use exponential or logarithmic scaling when desired
- Use Text COMP as code editor
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from td-faust.