ledbar/host_python
2012-07-21 00:05:27 +02:00
..
demo.py Fixed synchronization bugs in Python version 2011-09-26 16:00:00 +02:00
equalizer.py host_python/equalizer: Ratelimit updates 2012-06-30 23:42:54 +02:00
ledbar.py Added class simplifiing ledbar output 2011-09-21 23:54:46 +02:00
rainbow.py Added class simplifiing ledbar output 2011-09-21 23:54:46 +02:00
README Added Python equalizer effect generator 2011-09-23 09:18:55 +02:00
send_to_serial.py Communication speed is 115200 2012-07-21 00:05:27 +02:00

INTRODUCTION:

The scripts in this directory try to work according to the KISS principle. It 
contains a script which redirects its stdin to serial device 
(send_to_serial.py), one that simulates the ledbar and sends the data unaltered 
from its stdin to its stdout, a module that helps programmers to program 
various graphical effects and some example effect generators using this module.


EXAMPLES:

./rainbow.py | ./demo.py >/dev/null
    - only simulate the rainbow effect, do not send it anywhere

./rainbow.py | ./send_to_serial.py
    - only send the data to the serial device, do not show the simulation

./rainbow.py | ./demo.py | ./send_to_serial.py
    - combine both options, show a simulation and send the data to the serial
      device


DEPENDENCIES:

demo.py requires PyGame, Python wrapper around SDL
send_to_serial.py requires PySerial, Python library for work with serial ports
equalizer.py requires PyAudio (wrapper around PortAudio) and a microphone