This is the repository for the class "AI & Performance", lesson 2, at Elisava, Barcelona.
You will find the Class Presentation Here, and below, the code examples and some instructions to follow.
Enjoy!
Installations required: Mobile Phones:
Installations required: Computer:
- Wekinator Here you can find the detailed Wekinator Manual.
Installations required:
- Processing
- Processing OSC Library Tools --> Manage Tools --> Libraries --> oscP5 Library by Andreas Schlegel --> Install
For this exercise you will need to install:
- Python Programming language.
- Brackets Code editor. (Or similar of your preference)
- Markovify A library to create chains based on a specific data base. This installation needs a little bit more time, please follow the next instructions:
Mac Users: macOS usually has Python 2 pre-installed (outdated). Please install Python 3.
- Go to Downloads Web
- Download the .pkg installer for macOS
- Open it and follow the setup wizard
- To verify the installation, open a new terminal window and write the command: pip3 --version If it does not appear, install it with the command: python3 -m ensurepip --upgrade
- Install Markovify, using the terminal window with the command:
pip3 install markovify
Wait for it to finish. You'll see Successfully installed markovify-X.X.X
Windows Users:
- Go to Downloads Web
- Download "Python 3.x.x"
⚠️ Important! During installation: Check the box "Add Python to PATH" before clicking Install Now
- Run: Click
- Install Now
- Verify the installation. Go to "Start Menu" and search "cmd" or "Power Shell" Type: python --version
- If you see a version number, pip is ready. If not, revisit Step 1 and 2.
- If pip doesn't work, try: python -m ensurepip --upgrade
- Install markovify With Python and pip ready, run in the terminal: pip install markovify Wait for the download to finish. You'll see: Successfully installed markovify-X.X.X