如果你是一位派生 Python 語言愛好者,或曾聽說過 FoxDot 吧!
FoxDot: Live Coding with Python & SuperCollider
This site is the home of the Live Coding environment, FoxDot, which was created in 2015 to try and open the pathways to Live Coding for users who may be new to programming and want to use it create music quickly and easily. FoxDot is an easy-to-use Python library that creates an interactive programming environment and talks to the powerful sound synthesis engine, called SuperCollider to make music. FoxDot schedules musical events in a user-friendly and easy-to-grasp manner that makes live coding easy and fun for both programming newcomers and veterans alike. Ready to get going? You can find details on how to install here. Remember to check out the starter guide or have a look at FoxDot in action below for a few useful tips. If you’re having any issues with FoxDot or SuperCollider, have a look at the F.A.Q. or ask a question on the discussion forum.
近日偶讀
PyDev of the Week: Ryan Kirkbride
This week we welcome Ryan Kirkbride (@ryankirkbride26) as our PyDev of the Week! Ryan is the creator of Foxdot, a live coding library for live coding music in an interactive Python editor. You can see what projects Ryan is a part of by going to his Github page. Let’s take a few moments to get to know Ryan!
Can you tell us a little about yourself (hobbies, education, etc):
I’m currently doing a PhD at the University of Leeds in the School of Music researching collaborative tools for live coding music. Live coding is basically interactive programming for creating music or visuals and probably my favourite thing to do right now. There’s a growing scene called “Algorave” where live coders get together to make music for people to dance to and they’re a lot of fun to perform at.
Why did you start using Python?
I started using Python during my first year of university when I was studying computer science. It’s such as great language for beginners but there’s also so much to learn as you use it more and more.
………
想要安裝哩!
Installation Guide
Downloads
- Python (version 2 and 3 are supported)
- SuperCollider 3.8 and above
- sc3 plugins (Some cool extra features for SuperCollider – recommended but not required)
………
因為樹莓派上的 supercollider 版本太舊
pi@raspberrypi:~ more gui.log [GUI] - Detecting port numbers... [GUI] - GUI OSC listen port 4558 [GUI] - port: 4558 [OK] [GUI] - Server OSC listen port 4557 [GUI] - port: 4557 [OK] [GUI] - Server incoming OSC cues port 4559 [GUI] - port: 4559 [OK] [GUI] - Scsynth port 4556 [GUI] - port: 4556 [OK] [GUI] - Server OSC out port 4558 [GUI] - GUI OSC out port 4557 [GUI] - Scsynth send port 4556 [GUI] - Erlang router port 4560 [GUI] - port: 4560 [OK] [GUI] - OSC MIDI out port 4561 [GUI] - port: 4561 [OK] [GUI] - OSC MIDI in port 4562 [GUI] - port: 4562 [OK] [GUI] - Init script completed [GUI] - using default editor colours [GUI] - launching Sonic Pi Server: [GUI] - starting UDP OSC Server on port 4558... [GUI] - UDP OSC Server ready and listening [GUI] - Ruby server pid registered: 1041 [GUI] - waiting for Sonic Pi Server to boot... ............................................................ [GUI] - Critical error! Could not boot Sonic Pi Server.
pi@raspberrypi:~/.sonic-pi/log sudo pip3 install FoxDot Collecting FoxDot Downloading https://www.piwheels.org/simple/foxdot/FoxDot-0.7.16-py3-none-any.whl (37.7MB) 100% |████████████████████████████████| 37.7MB 8.2kB/s Installing collected packages: FoxDot Successfully installed FoxDot-0.7.16
pi@raspberrypi:~ $ python3 -m FoxDot IOError: Unable to update 'slideFrom' effect. IOError: Unable to update 'pitchBend' effect. IOError: Unable to update 'coarse' effect. IOError: Unable to update 'striate' effect. IOError: Unable to update 'highPassFilter' effect. IOError: Unable to update 'bandPassFilter' effect. IOError: Unable to update 'combDelay' effect. IOError: Unable to update 'spinPan' effect. IOError: Unable to update 'trimLength' effect.
世事往往魚與熊掌不易兼得啊!