TouchKbdREADME.md
These files accompany an article at rbnrpi.wordpress.com
The two python scripts are identical, except that the first comments out support for the PS3 wireless controlleer
The two Sonic Pi scripts can be used to receive OSC messages from the touch keybaord and will play sounds on Sonic Pi.
There is a video of the project in operation.
loopcontrollertouchkeybd.rb
#Sonic Pi Loop Controller by Robin Newman
#VERSION 2 ADDS CONTROL OF BACKGROUND PULSE AND SCREEN
#THIS VERSION TESTED ON Pi3 B and Pi3 B+
#in particular uses some new :loop samples only in version 3.1
#These can be copied to the samples folder on version 3.0.1 if required
#or you can specify different ones.
#This version uses 11 push buttons on TouchOSC for input and 1 LED on TouchOSC for output
#Can be modified to use any suitable OSC source that can give on/off signals when a button is pressed
use_real_time #use_sched_ahead_time 0.2 #if problems
use_debug false
This file has been truncated. show original
osckey.py
#!/usr/bin/env python3
#driver for 12 pad touch keys and ps3 wireless controller by Robin Newman
#April 2018
#uses library for Adafruit MPR121 board
# Copyright (c) 2014 Adafruit Industries
# Author: Tony DiCola
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
This file has been truncated. show original
There are more than three files. show original