diff --git a/.gitignore b/.gitignore index af935e4..a8022f0 100644 --- a/.gitignore +++ b/.gitignore @@ -47,3 +47,120 @@ Temporary Items .apdisk *.pyc *.pdf + +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class + +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +pip-wheel-metadata/ +share/python-wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.nox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ +.pytest_cache/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +local_settings.py +db.sqlite3 + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# IPython +profile_default/ +ipython_config.py + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +.dmypy.json +dmypy.json + +# Pyre type checker +.pyre/ diff --git a/arduino/ws2812_controller/ws2812.h b/arduino/ws2812_controller/ws2812.h deleted file mode 100644 index 5dddc9f..0000000 --- a/arduino/ws2812_controller/ws2812.h +++ /dev/null @@ -1,17 +0,0 @@ -// ws2812.h - -#ifndef __WS2812_H__ -#define __WS2812_H__ - -// Temporal Dithering -// Dithering preserves color and light when brightness is low. -// Sometimes this can cause undesirable flickering. -// 1 = Disable temporal dithering -// 2, 6, 8 = Enable temporal dithering (larger values = more dithering) -#define WS2812_DITHER_NUM (8) - -#define WS2812_USE_INTERRUPT (0) // not supported yet - -#endif - -// end of file diff --git a/arduino/ws2812_controller/ws2812_controller.ino b/arduino/ws2812_controller/ws2812_controller.ino deleted file mode 100644 index ecbe5af..0000000 --- a/arduino/ws2812_controller/ws2812_controller.ino +++ /dev/null @@ -1,131 +0,0 @@ -#include -#include -#include -#include - -#define FASTLED_ESP8266_DMA // better control for ESP8266 will output or RX pin requires fork https://github.com/coryking/FastLED -#include "FastLED.h" - -/************ Network Information (CHANGE THESE FOR YOUR SETUP) ************************/ -const char* ssid = "WIFI_SSID"; -const char* password = "WIFI_PASSWORD"; - -const char* sensor_name = "TEST_SENSOR_HOSTNAME"; -const char* ota_password = "OTA_PASSWORD"; - -const bool static_ip = true; -IPAddress ip(192, 168, 1, 112); -IPAddress gateway(192, 168, 1, 1); -IPAddress subnet(255, 255, 255, 0); - -const int udp_port = 7778; - -/*********************************** FastLED Defintions ********************************/ -#define NUM_LEDS 250 -#define DATA_PIN 5 -//#define CLOCK_PIN 2 -#define CHIPSET WS2812B -#define COLOR_ORDER GRB - -/*********************************** Globals *******************************************/ -WiFiUDP port; -CRGB leds[NUM_LEDS]; - -/********************************** Start Setup ****************************************/ -void setup() { - Serial.begin(115200); - - // Setup FastLED - #ifdef CLOCK_PIN - FastLED.addLeds(leds, NUM_LEDS); - #else - FastLED.addLeds(leds, NUM_LEDS); - #endif - - // Setup the wifi connection - setup_wifi(); - - // Setup OTA firmware updates - setup_ota(); - - // Initialize the UDP port - port.begin(udp_port); -} - -void setup_wifi() { - delay(10); - - Serial.println(); - Serial.print("Connecting to "); - Serial.print(ssid); - - if (static_ip) { - WiFi.config(ip, gateway, subnet); - } - - WiFi.hostname(sensor_name); - WiFi.mode(WIFI_STA); - WiFi.begin(ssid, password); - - while (WiFi.status() != WL_CONNECTED) { - delay(500); - Serial.print("."); - } - - Serial.println(""); - Serial.println("WiFi connected!"); - Serial.print("IP address: "); - Serial.println(WiFi.localIP()); -} - -void setup_ota() { - ArduinoOTA.setHostname(sensor_name); - ArduinoOTA.setPassword(ota_password); - - ArduinoOTA.onStart([]() { - Serial.println("Starting"); - }); - ArduinoOTA.onEnd([]() { - Serial.println("\nEnd"); - }); - ArduinoOTA.onProgress([](unsigned int progress, unsigned int total) { - Serial.printf("Progress: %u%%\r", (progress / (total / 100))); - }); - ArduinoOTA.onError([](ota_error_t error) { - Serial.printf("Error[%u]: ", error); - if (error == OTA_AUTH_ERROR) Serial.println("Auth Failed"); - else if (error == OTA_BEGIN_ERROR) Serial.println("Begin Failed"); - else if (error == OTA_CONNECT_ERROR) Serial.println("Connect Failed"); - else if (error == OTA_RECEIVE_ERROR) Serial.println("Receive Failed"); - else if (error == OTA_END_ERROR) Serial.println("End Failed"); - }); - ArduinoOTA.begin(); -} - -void loop() { - - if (WiFi.status() != WL_CONNECTED) { - delay(1); - Serial.print("WIFI Disconnected. Attempting reconnection."); - setup_wifi(); - return; - } - - ArduinoOTA.handle(); - - // TODO: Hookup either a more elaborate protocol, or a secondary - // communication channel (i.e. mqtt) for functional control. This - // will also give the ability to have some non-reative effects to - // be driven completely locally making them less glitchy. - - // Handle UDP data - int packetSize = port.parsePacket(); - if (packetSize == sizeof(leds)) { - port.read((char*)leds, sizeof(leds)); - FastLED.show(); - } else if (packetSize) { - Serial.printf("Invalid packet size: %u (expected %u)\n", packetSize, sizeof(leds)); - port.flush(); - return; - } -} \ No newline at end of file diff --git a/arduino/ws2812_controller/ws2812_defs.h b/arduino/ws2812_controller/ws2812_defs.h deleted file mode 100644 index 6a4a08d..0000000 --- a/arduino/ws2812_controller/ws2812_defs.h +++ /dev/null @@ -1,172 +0,0 @@ -// w2812_defs.h -// -// contains material from Charles Lohr, but changed by me. - -#ifndef __WS2812_I2S_DEFS_H__ -#define __WS2812_I2S_DEFS_H__ - -#include - -// include file from project folder -#include "ws2812.h" - -// ----------------------------------------------------- - -// Helper macro's - -#define NUM_RGB_BYTES (num_leds * 3) -#define NUM_I2S_PIXEL_BYTES (num_leds * 3 * 4) // (#leds) * (RGB) * (4 i2s bits) -#define NUM_I2S_PIXEL_WORDS (num_leds * 3) - -// ----------------------------------------------------- - -// I2S timing parameters - -// Creates an I2S SR of 93,750 Hz, or 3 MHz Bitclock (.333us/sample) -// Measured on scope : 4 bitclock-ticks every 1200ns --> 300ns bitclock ??? -// 12000000L/(div*bestbck*2) - -#define WS_I2S_BCK (17) -#define WS_I2S_DIV (4) -#define NUM_I2S_ZERO_BYTES (28) // WS2812 LED Treset = 67us (must be >50us) -#define NUM_I2S_ZERO_WORDS (NUM_I2S_ZERO_BYTES / 4) - -// ----------------------------------------------------- - -#ifndef i2c_bbpll -#define i2c_bbpll 0x67 -#define i2c_bbpll_en_audio_clock_out 4 -#define i2c_bbpll_en_audio_clock_out_msb 7 -#define i2c_bbpll_en_audio_clock_out_lsb 7 -#define i2c_bbpll_hostid 4 -#endif - -// ----------------------------------------------------- - -#define i2c_writeReg_Mask(block, host_id, reg_add, Msb, Lsb, indata) rom_i2c_writeReg_Mask(block, host_id, reg_add, Msb, Lsb, indata) -#define i2c_readReg_Mask(block, host_id, reg_add, Msb, Lsb) rom_i2c_readReg_Mask(block, host_id, reg_add, Msb, Lsb) -#define i2c_writeReg_Mask_def(block, reg_add, indata) i2c_writeReg_Mask(block, block##_hostid, reg_add, reg_add##_msb, reg_add##_lsb, indata) -#define i2c_readReg_Mask_def(block, reg_add) i2c_readReg_Mask(block, block##_hostid, reg_add, reg_add##_msb, reg_add##_lsb) - -// ----------------------------------------------------- - -#ifndef ETS_SLC_INUM -#define ETS_SLC_INUM 1 -#endif - -// ----------------------------------------------------- - -// from i2s_reg.h - -#define DR_REG_I2S_BASE (0x60000e00) - -#define I2STXFIFO (DR_REG_I2S_BASE + 0x0000) -#define I2SRXFIFO (DR_REG_I2S_BASE + 0x0004) -#define I2SCONF (DR_REG_I2S_BASE + 0x0008) -#define I2S_BCK_DIV_NUM 0x0000003F -#define I2S_BCK_DIV_NUM_S 22 -#define I2S_CLKM_DIV_NUM 0x0000003F -#define I2S_CLKM_DIV_NUM_S 16 -#define I2S_BITS_MOD 0x0000000F -#define I2S_BITS_MOD_S 12 -#define I2S_RECE_MSB_SHIFT (BIT(11)) -#define I2S_TRANS_MSB_SHIFT (BIT(10)) -#define I2S_I2S_RX_START (BIT(9)) -#define I2S_I2S_TX_START (BIT(8)) -#define I2S_MSB_RIGHT (BIT(7)) -#define I2S_RIGHT_FIRST (BIT(6)) -#define I2S_RECE_SLAVE_MOD (BIT(5)) -#define I2S_TRANS_SLAVE_MOD (BIT(4)) -#define I2S_I2S_RX_FIFO_RESET (BIT(3)) -#define I2S_I2S_TX_FIFO_RESET (BIT(2)) -#define I2S_I2S_RX_RESET (BIT(1)) -#define I2S_I2S_TX_RESET (BIT(0)) -#define I2S_I2S_RESET_MASK 0xf - -#define I2SINT_RAW (DR_REG_I2S_BASE + 0x000c) -#define I2S_I2S_TX_REMPTY_INT_RAW (BIT(5)) -#define I2S_I2S_TX_WFULL_INT_RAW (BIT(4)) -#define I2S_I2S_RX_REMPTY_INT_RAW (BIT(3)) -#define I2S_I2S_RX_WFULL_INT_RAW (BIT(2)) -#define I2S_I2S_TX_PUT_DATA_INT_RAW (BIT(1)) -#define I2S_I2S_RX_TAKE_DATA_INT_RAW (BIT(0)) - -#define I2SINT_ST (DR_REG_I2S_BASE + 0x0010) -#define I2S_I2S_TX_REMPTY_INT_ST (BIT(5)) -#define I2S_I2S_TX_WFULL_INT_ST (BIT(4)) -#define I2S_I2S_RX_REMPTY_INT_ST (BIT(3)) -#define I2S_I2S_RX_WFULL_INT_ST (BIT(2)) -#define I2S_I2S_TX_PUT_DATA_INT_ST (BIT(1)) -#define I2S_I2S_RX_TAKE_DATA_INT_ST (BIT(0)) - -#define I2SINT_ENA (DR_REG_I2S_BASE + 0x0014) -#define I2S_I2S_TX_REMPTY_INT_ENA (BIT(5)) -#define I2S_I2S_TX_WFULL_INT_ENA (BIT(4)) -#define I2S_I2S_RX_REMPTY_INT_ENA (BIT(3)) -#define I2S_I2S_RX_WFULL_INT_ENA (BIT(2)) -#define I2S_I2S_TX_PUT_DATA_INT_ENA (BIT(1)) -#define I2S_I2S_RX_TAKE_DATA_INT_ENA (BIT(0)) - -#define I2SINT_CLR (DR_REG_I2S_BASE + 0x0018) -#define I2S_I2S_TX_REMPTY_INT_CLR (BIT(5)) -#define I2S_I2S_TX_WFULL_INT_CLR (BIT(4)) -#define I2S_I2S_RX_REMPTY_INT_CLR (BIT(3)) -#define I2S_I2S_RX_WFULL_INT_CLR (BIT(2)) -#define I2S_I2S_PUT_DATA_INT_CLR (BIT(1)) -#define I2S_I2S_TAKE_DATA_INT_CLR (BIT(0)) - -#define I2STIMING (DR_REG_I2S_BASE + 0x001c) -#define I2S_TRANS_BCK_IN_INV (BIT(22)) -#define I2S_RECE_DSYNC_SW (BIT(21)) -#define I2S_TRANS_DSYNC_SW (BIT(20)) -#define I2S_RECE_BCK_OUT_DELAY 0x00000003 -#define I2S_RECE_BCK_OUT_DELAY_S 18 -#define I2S_RECE_WS_OUT_DELAY 0x00000003 -#define I2S_RECE_WS_OUT_DELAY_S 16 -#define I2S_TRANS_SD_OUT_DELAY 0x00000003 -#define I2S_TRANS_SD_OUT_DELAY_S 14 -#define I2S_TRANS_WS_OUT_DELAY 0x00000003 -#define I2S_TRANS_WS_OUT_DELAY_S 12 -#define I2S_TRANS_BCK_OUT_DELAY 0x00000003 -#define I2S_TRANS_BCK_OUT_DELAY_S 10 -#define I2S_RECE_SD_IN_DELAY 0x00000003 -#define I2S_RECE_SD_IN_DELAY_S 8 -#define I2S_RECE_WS_IN_DELAY 0x00000003 -#define I2S_RECE_WS_IN_DELAY_S 6 -#define I2S_RECE_BCK_IN_DELAY 0x00000003 -#define I2S_RECE_BCK_IN_DELAY_S 4 -#define I2S_TRANS_WS_IN_DELAY 0x00000003 -#define I2S_TRANS_WS_IN_DELAY_S 2 -#define I2S_TRANS_BCK_IN_DELAY 0x00000003 -#define I2S_TRANS_BCK_IN_DELAY_S 0 - -#define I2S_FIFO_CONF (DR_REG_I2S_BASE + 0x0020) -#define I2S_I2S_RX_FIFO_MOD 0x00000007 -#define I2S_I2S_RX_FIFO_MOD_S 16 -#define I2S_I2S_TX_FIFO_MOD 0x00000007 -#define I2S_I2S_TX_FIFO_MOD_S 13 -#define I2S_I2S_DSCR_EN (BIT(12)) -#define I2S_I2S_TX_DATA_NUM 0x0000003F -#define I2S_I2S_TX_DATA_NUM_S 6 -#define I2S_I2S_RX_DATA_NUM 0x0000003F -#define I2S_I2S_RX_DATA_NUM_S 0 - -#define I2SRXEOF_NUM (DR_REG_I2S_BASE + 0x0024) -#define I2S_I2S_RX_EOF_NUM 0xFFFFFFFF -#define I2S_I2S_RX_EOF_NUM_S 0 - -#define I2SCONF_SIGLE_DATA (DR_REG_I2S_BASE + 0x0028) -#define I2S_I2S_SIGLE_DATA 0xFFFFFFFF -#define I2S_I2S_SIGLE_DATA_S 0 - -#define I2SCONF_CHAN (DR_REG_I2S_BASE + 0x002c) -#define I2S_RX_CHAN_MOD 0x00000003 -#define I2S_RX_CHAN_MOD_S 3 -#define I2S_TX_CHAN_MOD 0x00000007 -#define I2S_TX_CHAN_MOD_S 0 - -// ----------------------------------------------------- - -#endif - -// end of file diff --git a/arduino/ws2812_controller/ws2812_dma.c b/arduino/ws2812_controller/ws2812_dma.c deleted file mode 100644 index d2aa497..0000000 --- a/arduino/ws2812_controller/ws2812_dma.c +++ /dev/null @@ -1,102 +0,0 @@ -// ws2812_init.c - -// C-based helper function for initilalizing -// the I2S system - -#include -#include "slc_register.h" -#include "user_interface.h" -#include "ws2812_defs.h" -#include "ws2812_dma.h" - - -#if WS2812_USE_INTERRUPT == 1 -// for debugging purposes -static volatile uint32_t interrupt_count = 0; - -static void ws2812_isr(void) -{ - //clear all intr flags - WRITE_PERI_REG(SLC_INT_CLR, 0xffffffff);//slc_intr_status); - - interrupt_count++; -} -#endif - - -void ws2812_dma(sdio_queue_t *i2s_pixels_queue) -{ - // Reset DMA - SET_PERI_REG_MASK(SLC_CONF0, SLC_RXLINK_RST); //|SLC_TXLINK_RST); - CLEAR_PERI_REG_MASK(SLC_CONF0, SLC_RXLINK_RST); //|SLC_TXLINK_RST); - - // Clear DMA int flags - SET_PERI_REG_MASK(SLC_INT_CLR, 0xffffffff); - CLEAR_PERI_REG_MASK(SLC_INT_CLR, 0xffffffff); - - // Enable and configure DMA - CLEAR_PERI_REG_MASK(SLC_CONF0,(SLC_MODE< -#include "ws2812_gamma.h" - -static const uint8_t gamma0[] = { - 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, - 5, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, - 10, 10, 10, 11, 11, 12, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, - 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 23, 23, 24, 24, 25, - 26, 26, 27, 28, 28, 29, 30, 30, 31, 32, 32, 33, 34, 34, 35, 36, - 37, 37, 38, 39, 40, 41, 41, 42, 43, 44, 45, 45, 46, 47, 48, 49, - 50, 51, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 80, 81, - 82, 83, 84, 85, 86, 88, 89, 90, 91, 92, 94, 95, 96, 97, 98, 100, - 101, 102, 103, 105, 106, 107, 109, 110, 111, 113, 114, 115, 117, 118, 119, 121, - 122, 123, 125, 126, 128, 129, 130, 132, 133, 135, 136, 138, 139, 141, 142, 144, - 145, 147, 148, 150, 151, 153, 154, 156, 157, 159, 161, 162, 164, 165, 167, 169, - 170, 172, 173, 175, 177, 178, 180, 182, 183, 185, 187, 189, 190, 192, 194, 196, - 197, 199, 201, 203, 204, 206, 208, 210, 212, 213, 215, 217, 219, 221, 223, 225, - 226, 228, 230, 232, 234, 236, 238, 240, 242, 244, 246, 248, 250, 252, 254, 255 }; - -static const uint8_t gamma1[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, - 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, - 4, 4, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, - 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, 16, - 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 23, 23, 24, 24, - 25, 26, 26, 27, 28, 28, 29, 30, 30, 31, 32, 32, 33, 34, 35, 35, - 36, 37, 38, 38, 39, 40, 41, 42, 42, 43, 44, 45, 46, 47, 47, 48, - 49, 50, 51, 52, 53, 54, 55, 56, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 80, - 81, 82, 84, 85, 86, 87, 88, 89, 91, 92, 93, 94, 95, 97, 98, 99, - 100, 102, 103, 104, 105, 107, 108, 109, 111, 112, 113, 115, 116, 117, 119, 120, - 121, 123, 124, 126, 127, 128, 130, 131, 133, 134, 136, 137, 139, 140, 142, 143, - 145, 146, 148, 149, 151, 152, 154, 155, 157, 158, 160, 162, 163, 165, 166, 168, - 170, 171, 173, 175, 176, 178, 180, 181, 183, 185, 186, 188, 190, 192, 193, 195, - 197, 199, 200, 202, 204, 206, 207, 209, 211, 213, 215, 217, 218, 220, 222, 224, - 226, 228, 230, 232, 233, 235, 237, 239, 241, 243, 245, 247, 249, 251, 253, 255 }; - -static const uint8_t gamma2[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, - 4, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, - 9, 10, 10, 10, 11, 11, 12, 12, 13, 13, 13, 14, 14, 15, 15, 16, - 16, 17, 17, 18, 18, 19, 19, 20, 21, 21, 22, 22, 23, 24, 24, 25, - 25, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 33, 34, 35, 36, - 36, 37, 38, 39, 39, 40, 41, 42, 43, 43, 44, 45, 46, 47, 48, 49, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, - 82, 83, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 96, 97, 98, 99, - 101, 102, 103, 104, 106, 107, 108, 110, 111, 112, 114, 115, 116, 118, 119, 120, - 122, 123, 125, 126, 127, 129, 130, 132, 133, 134, 136, 137, 139, 140, 142, 143, - 145, 146, 148, 149, 151, 152, 154, 156, 157, 159, 160, 162, 163, 165, 167, 168, - 170, 172, 173, 175, 177, 178, 180, 182, 183, 185, 187, 188, 190, 192, 194, 195, - 197, 199, 201, 202, 204, 206, 208, 210, 211, 213, 215, 217, 219, 221, 222, 224, - 226, 228, 230, 232, 234, 236, 238, 240, 241, 243, 245, 247, 249, 251, 253, 255 }; - -static const uint8_t gamma3[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, - 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 4, - 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, - 9, 9, 10, 10, 10, 11, 11, 12, 12, 12, 13, 13, 14, 14, 15, 15, - 16, 16, 17, 17, 18, 18, 19, 20, 20, 21, 21, 22, 22, 23, 24, 24, - 25, 25, 26, 27, 27, 28, 29, 29, 30, 31, 32, 32, 33, 34, 34, 35, - 36, 37, 37, 38, 39, 40, 41, 41, 42, 43, 44, 45, 45, 46, 47, 48, - 49, 50, 51, 52, 53, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 76, 77, 78, 79, 80, - 81, 82, 83, 84, 86, 87, 88, 89, 90, 92, 93, 94, 95, 96, 98, 99, - 100, 101, 103, 104, 105, 107, 108, 109, 110, 112, 113, 114, 116, 117, 118, 120, - 121, 123, 124, 125, 127, 128, 130, 131, 133, 134, 135, 137, 138, 140, 141, 143, - 144, 146, 147, 149, 150, 152, 153, 155, 157, 158, 160, 161, 163, 165, 166, 168, - 169, 171, 173, 174, 176, 178, 179, 181, 183, 184, 186, 188, 190, 191, 193, 195, - 197, 198, 200, 202, 204, 205, 207, 209, 211, 213, 214, 216, 218, 220, 222, 224, - 226, 228, 229, 231, 233, 235, 237, 239, 241, 243, 245, 247, 249, 251, 253, 255 }; - -static const uint8_t gamma4[] = { - 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, - 1, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, - 4, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, - 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 14, 14, 14, 15, 15, 16, - 16, 17, 17, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 24, 24, 25, - 25, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 34, 34, 35, 36, - 37, 37, 38, 39, 40, 40, 41, 42, 43, 44, 44, 45, 46, 47, 48, 49, - 50, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, - 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 81, - 82, 83, 84, 85, 86, 87, 89, 90, 91, 92, 93, 95, 96, 97, 98, 100, - 101, 102, 103, 105, 106, 107, 108, 110, 111, 112, 114, 115, 116, 118, 119, 120, - 122, 123, 125, 126, 127, 129, 130, 132, 133, 135, 136, 138, 139, 140, 142, 143, - 145, 146, 148, 149, 151, 153, 154, 156, 157, 159, 160, 162, 164, 165, 167, 168, - 170, 172, 173, 175, 177, 178, 180, 182, 183, 185, 187, 188, 190, 192, 194, 195, - 197, 199, 201, 202, 204, 206, 208, 210, 211, 213, 215, 217, 219, 221, 223, 224, - 226, 228, 230, 232, 234, 236, 238, 240, 242, 244, 245, 247, 249, 251, 253, 255 }; - -static const uint8_t gamma5[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, - 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, - 4, 4, 4, 5, 5, 5, 6, 6, 6, 6, 7, 7, 7, 8, 8, 9, - 9, 9, 10, 10, 10, 11, 11, 12, 12, 13, 13, 14, 14, 14, 15, 15, - 16, 16, 17, 17, 18, 19, 19, 20, 20, 21, 21, 22, 23, 23, 24, 24, - 25, 26, 26, 27, 28, 28, 29, 30, 30, 31, 32, 32, 33, 34, 35, 35, - 36, 37, 38, 38, 39, 40, 41, 41, 42, 43, 44, 45, 46, 46, 47, 48, - 49, 50, 51, 52, 53, 54, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 75, 76, 77, 78, 79, 80, - 81, 82, 83, 85, 86, 87, 88, 89, 90, 92, 93, 94, 95, 97, 98, 99, - 100, 102, 103, 104, 105, 107, 108, 109, 111, 112, 113, 115, 116, 117, 119, 120, - 121, 123, 124, 126, 127, 128, 130, 131, 133, 134, 136, 137, 138, 140, 141, 143, - 144, 146, 147, 149, 151, 152, 154, 155, 157, 158, 160, 161, 163, 165, 166, 168, - 170, 171, 173, 174, 176, 178, 179, 181, 183, 185, 186, 188, 190, 191, 193, 195, - 197, 198, 200, 202, 204, 206, 207, 209, 211, 213, 215, 216, 218, 220, 222, 224, - 226, 228, 230, 231, 233, 235, 237, 239, 241, 243, 245, 247, 249, 251, 253, 255 }; - -static const uint8_t gamma6[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, - 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, - 4, 4, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, - 9, 10, 10, 10, 11, 11, 12, 12, 12, 13, 13, 14, 14, 15, 15, 16, - 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 22, 22, 23, 23, 24, 25, - 25, 26, 26, 27, 28, 28, 29, 30, 30, 31, 32, 33, 33, 34, 35, 36, - 36, 37, 38, 39, 39, 40, 41, 42, 43, 43, 44, 45, 46, 47, 48, 48, - 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, - 81, 83, 84, 85, 86, 87, 88, 90, 91, 92, 93, 94, 96, 97, 98, 99, - 101, 102, 103, 104, 106, 107, 108, 109, 111, 112, 113, 115, 116, 117, 119, 120, - 122, 123, 124, 126, 127, 129, 130, 131, 133, 134, 136, 137, 139, 140, 142, 143, - 145, 146, 148, 149, 151, 152, 154, 155, 157, 159, 160, 162, 163, 165, 167, 168, - 170, 171, 173, 175, 176, 178, 180, 181, 183, 185, 186, 188, 190, 192, 193, 195, - 197, 199, 200, 202, 204, 206, 208, 209, 211, 213, 215, 217, 219, 220, 222, 224, - 226, 228, 230, 232, 234, 236, 237, 239, 241, 243, 245, 247, 249, 251, 253, 255 }; - -static const uint8_t gamma7[] = { - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, - 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, - 4, 4, 4, 4, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, - 9, 9, 9, 10, 10, 11, 11, 11, 12, 12, 13, 13, 14, 14, 15, 15, - 16, 16, 17, 17, 18, 18, 19, 19, 20, 21, 21, 22, 22, 23, 23, 24, - 25, 25, 26, 27, 27, 28, 29, 29, 30, 31, 31, 32, 33, 34, 34, 35, - 36, 37, 37, 38, 39, 40, 40, 41, 42, 43, 44, 45, 45, 46, 47, 48, - 49, 50, 51, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, - 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 78, 79, 80, - 81, 82, 83, 84, 86, 87, 88, 89, 90, 91, 93, 94, 95, 96, 98, 99, - 100, 101, 103, 104, 105, 106, 108, 109, 110, 112, 113, 114, 116, 117, 118, 120, - 121, 122, 124, 125, 127, 128, 130, 131, 132, 134, 135, 137, 138, 140, 141, 143, - 144, 146, 147, 149, 150, 152, 153, 155, 156, 158, 160, 161, 163, 164, 166, 168, - 169, 171, 173, 174, 176, 178, 179, 181, 183, 184, 186, 188, 189, 191, 193, 195, - 196, 198, 200, 202, 203, 205, 207, 209, 211, 213, 214, 216, 218, 220, 222, 224, - 226, 227, 229, 231, 233, 235, 237, 239, 241, 243, 245, 247, 249, 251, 253, 255 }; - - -#if WS2812_DITHER_NUM == 1 - const uint8_t *gamma_dither[WS2812_DITHER_NUM] = {gamma0}; -#elif WS2812_DITHER_NUM == 2 - const uint8_t *gamma_dither[WS2812_DITHER_NUM] = {gamma0,gamma1}; -#elif WS2812_DITHER_NUM == 4 - const uint8_t *gamma_dither[WS2812_DITHER_NUM] = {gamma0,gamma1,gamma2,gamma3}; -#elif WS2812_DITHER_NUM == 8 - const uint8_t *gamma_dither[WS2812_DITHER_NUM] = {gamma0,gamma1,gamma2,gamma3,gamma4,gamma5,gamma6,gamma7}; -#else - #error Invalid WS2812_DITHER_NUM value. Allowed values are 1, 2, 4, 8 -#endif - -// end of file diff --git a/arduino/ws2812_controller/ws2812_gamma.h b/arduino/ws2812_controller/ws2812_gamma.h deleted file mode 100644 index 84353a2..0000000 --- a/arduino/ws2812_controller/ws2812_gamma.h +++ /dev/null @@ -1,12 +0,0 @@ -// ws2812_gamma.h - -#ifndef __WS2812_GAMMA_H__ -#define __WS2812_GAMMA_H__ - -#include -#include "ws2812.h" - -extern const uint8_t *gamma_dither[WS2812_DITHER_NUM]; - -#endif - diff --git a/arduino/ws2812_controller/ws2812_i2s.cpp b/arduino/ws2812_controller/ws2812_i2s.cpp deleted file mode 100644 index c0658e7..0000000 --- a/arduino/ws2812_controller/ws2812_i2s.cpp +++ /dev/null @@ -1,169 +0,0 @@ -// ws2812_lib.cpp -// -// main library file / contains class implementation -// -// Need to give credits to Charles Lohr (https://github.com/cnlohr due -// to his work on his software for driving ws2812 led-strips using -// the i2s interface of the ESP8266. -// -// This inspired me to create an ESP8266 library for the Arduino IDE -// I've added temporal dithering & gamma-correction -// for a 'more natural' light intensity profile. -// -// No pin-definitions/mapings are required/possible as the library used the I2S -// output-pin. This pin in it's turn is shared with GPIO3 & RXD0 -// - -#include -#include -#include "ws2812_i2s.h" -#include "ws2812_defs.h" -#include "ws2812_gamma.h" - -// include C-style header -extern "C" -{ -#include "ws2812_dma.h" -}; - -// class constructor -WS2812::WS2812(void) -{ - // empty for now -} - -// class de-constructor -WS2812::~WS2812(void) -{ - // empty for now - // TODO : should implement switching of DMA -} - -// Init led-string / memory buffers etc. -void WS2812::init(uint16_t _num_leds) -{ - uint8_t i; - uint16_t j; - - num_leds = _num_leds; - - // clear zero buffer - for(j=0; j>4) & 0x0f ]; - } - } - -} - -// end of file diff --git a/arduino/ws2812_controller/ws2812_i2s.h b/arduino/ws2812_controller/ws2812_i2s.h deleted file mode 100644 index e40c8ba..0000000 --- a/arduino/ws2812_controller/ws2812_i2s.h +++ /dev/null @@ -1,41 +0,0 @@ -// ws2812_lib.h - -#ifndef __WS2812_I2S_H__ -#define __WS2812_I2S_H__ - -#include -#include "ws2812_defs.h" - -// include C-style header -extern "C" -{ -#include "ws2812_dma.h" -}; - -typedef struct -{ - uint8_t G; // G,R,B order is determined by WS2812B - uint8_t R; - uint8_t B; -} Pixel_t; - - -class WS2812 -{ - public: - WS2812(void); - ~WS2812(void); - void init(uint16_t num_leds); - void show(Pixel_t *); - - private: - uint16_t num_leds; - uint32_t *i2s_pixels_buffer[WS2812_DITHER_NUM]; - uint32_t i2s_zeros_buffer[NUM_I2S_ZERO_WORDS]; - sdio_queue_t i2s_zeros_queue[WS2812_DITHER_NUM]; - sdio_queue_t i2s_pixels_queue[WS2812_DITHER_NUM]; -}; - -#endif - -// end of file diff --git a/images/FeatherHuzzah-small.png b/images/FeatherHuzzah-small.png deleted file mode 100644 index 491a6f3..0000000 Binary files a/images/FeatherHuzzah-small.png and /dev/null differ diff --git a/images/NodeMCUv3-small.png b/images/NodeMCUv3-small.png deleted file mode 100644 index 7579044..0000000 Binary files a/images/NodeMCUv3-small.png and /dev/null differ diff --git a/images/audio-source.png b/images/audio-source.png deleted file mode 100644 index e51c0b9..0000000 Binary files a/images/audio-source.png and /dev/null differ diff --git a/images/block-diagram.png b/images/block-diagram.png deleted file mode 100644 index 5e76e04..0000000 Binary files a/images/block-diagram.png and /dev/null differ diff --git a/images/breadboard-led-strip.jpg b/images/breadboard-led-strip.jpg deleted file mode 100644 index 3f19d2e..0000000 Binary files a/images/breadboard-led-strip.jpg and /dev/null differ diff --git a/images/description-cropped.gif b/images/description-cropped.gif deleted file mode 100644 index 6aeb6f9..0000000 Binary files a/images/description-cropped.gif and /dev/null differ diff --git a/images/description.gif b/images/description.gif deleted file mode 100644 index 873f58a..0000000 Binary files a/images/description.gif and /dev/null differ diff --git a/images/esp8266-block-diagram.png b/images/esp8266-block-diagram.png deleted file mode 100644 index f7a1f3a..0000000 Binary files a/images/esp8266-block-diagram.png and /dev/null differ diff --git a/images/led-effect-demo.gif b/images/led-effect-demo.gif deleted file mode 100644 index bf399ac..0000000 Binary files a/images/led-effect-demo.gif and /dev/null differ diff --git a/images/raspberry-pi-block-diagram.png b/images/raspberry-pi-block-diagram.png deleted file mode 100644 index b7a91b5..0000000 Binary files a/images/raspberry-pi-block-diagram.png and /dev/null differ diff --git a/images/scroll-effect-demo.gif b/images/scroll-effect-demo.gif deleted file mode 100644 index 8fe2799..0000000 Binary files a/images/scroll-effect-demo.gif and /dev/null differ diff --git a/images/stereo-enable.png b/images/stereo-enable.png deleted file mode 100644 index e32eb90..0000000 Binary files a/images/stereo-enable.png and /dev/null differ diff --git a/images/stereo-show.png b/images/stereo-show.png deleted file mode 100644 index a4d6cca..0000000 Binary files a/images/stereo-show.png and /dev/null differ diff --git a/images/visualization-gui.png b/images/visualization-gui.png deleted file mode 100644 index 9cedeea..0000000 Binary files a/images/visualization-gui.png and /dev/null differ diff --git a/python/Output/visualize.log b/python/Output/visualize.log index 54991c2..8b13789 100644 --- a/python/Output/visualize.log +++ b/python/Output/visualize.log @@ -1,2352 +1 @@ -This is pdfTeX, Version 3.1415926-2.4-1.40.13 (MiKTeX 2.9) (preloaded format=pdflatex 2016.3.14) 14 OCT 2016 07:40 -entering extended mode -**C:/Users/Scott/Documents/GitHub/audio-reactive-led-strip/python/visualize.py -(C:/Users/Scott/Documents/GitHub/audio-reactive-led-strip/python/visualize.py -LaTeX2e <2011/06/27> -Babel and hyphenation patterns for english, afrikaans, ancientgreek, ar -abic, armenian, assamese, basque, bengali, bokmal, bulgarian, catalan, coptic, -croatian, czech, danish, dutch, esperanto, estonian, farsi, finnish, french, ga -lician, german, german-x-2012-05-30, greek, gujarati, hindi, hungarian, iceland -ic, indonesian, interlingua, irish, italian, kannada, kurmanji, latin, latvian, - lithuanian, malayalam, marathi, mongolian, mongolianlmc, monogreek, ngerman, n -german-x-2012-05-30, nynorsk, oriya, panjabi, pinyin, polish, portuguese, roman -ian, russian, sanskrit, serbian, slovak, slovenian, spanish, swedish, swissgerm -an, tamil, telugu, turkish, turkmen, ukenglish, ukrainian, uppersorbian, usengl -ishmax, welsh, loaded. - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.1 f - rom __future__ import print_function -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no f in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no m in font nullfont! -! Missing $ inserted. - - $ -l.1 from _ - _future__ import print_function -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -LaTeX Font Info: External font `cmex10' loaded for size -(Font) <7> on input line 1. -LaTeX Font Info: External font `cmex10' loaded for size -(Font) <5> on input line 1. -! Missing { inserted. - - _ -l.1 from __ - future__ import print_function -A left brace was mandatory here, so I've put one in. -You might want to delete and/or insert some corrections -so that I will find a matching right brace soon. -(If you're confused by all this, try typing `I}' now.) - -! Missing { inserted. - - _ -l.1 from __future__ - import print_function -A left brace was mandatory here, so I've put one in. -You might want to delete and/or insert some corrections -so that I will find a matching right brace soon. -(If you're confused by all this, try typing `I}' now.) - -! Missing $ inserted. - - $ -l.9 - -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! Missing } inserted. - - } -l.9 - -I've inserted something that you may have forgotten. -(See the above.) -With luck, this will get me unwedged. But if you -really didn't forget anything, try typing `2' now; then -my insertion and my current dilemma will both disappear. - -! Missing } inserted. - - } -l.9 - -I've inserted something that you may have forgotten. -(See the above.) -With luck, this will get me unwedged. But if you -really didn't forget anything, try typing `2' now; then -my insertion and my current dilemma will both disappear. - - -Overfull \hbox (20.0pt too wide) in paragraph at lines 1--9 -[] - [] - - -Overfull \hbox (548.42685pt too wide) in paragraph at lines 1--9 -$[]$ - [] - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.11 c - lass Beat: -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no c in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no B in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no : in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no f in font nullfont! -! Missing $ inserted. - - $ -l.12 def _ - _init__(self, pixels, speed): -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! Missing { inserted. - - _ -l.12 def __ - init__(self, pixels, speed): -A left brace was mandatory here, so I've put one in. -You might want to delete and/or insert some corrections -so that I will find a matching right brace soon. -(If you're confused by all this, try typing `I}' now.) - -! Missing { inserted. - - _ -l.12 def __init__ - (self, pixels, speed): -A left brace was mandatory here, so I've put one in. -You might want to delete and/or insert some corrections -so that I will find a matching right brace soon. -(If you're confused by all this, try typing `I}' now.) - -! Missing $ inserted. - - $ -l.16 - -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! Missing } inserted. - - } -l.16 - -I've inserted something that you may have forgotten. -(See the above.) -With luck, this will get me unwedged. But if you -really didn't forget anything, try typing `2' now; then -my insertion and my current dilemma will both disappear. - -! Missing } inserted. - - } -l.16 - -I've inserted something that you may have forgotten. -(See the above.) -With luck, this will get me unwedged. But if you -really didn't forget anything, try typing `2' now; then -my insertion and my current dilemma will both disappear. - - -Overfull \hbox (20.0pt too wide) in paragraph at lines 11--16 -[] - [] - - -Overfull \hbox (267.02411pt too wide) in paragraph at lines 11--16 -$[]$ - [] - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.17 d - ef update_pixels(self): -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no d in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no u in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no e in font nullfont! -! Missing $ inserted. - - $ -l.17 def update_ - pixels(self): -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! Missing $ inserted. - - $ -l.19 - -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - - -Overfull \hbox (20.0pt too wide) in paragraph at lines 17--19 -[] - [] - - -Overfull \hbox (58.13698pt too wide) in paragraph at lines 17--19 -$[]\OML/cmm/m/it/10 ixels\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 self\OT1/cmr/m/n/10 -) :$ - [] - - -Overfull \hbox (78.74573pt too wide) in paragraph at lines 17--19 -$\OML/cmm/m/it/10 self:iteration\OT1/cmr/m/n/10 + =$ - [] - - -Overfull \hbox (5.00002pt too wide) in paragraph at lines 17--19 -$\OT1/cmr/m/n/10 1$ - [] - -! You can't use `macro parameter character #' in vertical mode. -l.20 # - Roll the pixel values to the right -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.20 # R - oll the pixel values to the right -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no R in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no x in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no v in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no u in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no g in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no t in font nullfont! -! You can't use `macro parameter character #' in horizontal mode. -l.21 # - Temporal dithering is used to support fractional speed values -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -Missing character: There is no T in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no m in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no g in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no u in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no u in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no v in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no u in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no = in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no ) in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no + in font nullfont! -Missing character: There is no = in font nullfont! -Missing character: There is no 1 in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no m in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no m in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no ) in font nullfont! -Missing character: There is no < in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no - in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no 0 in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no x in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no = in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no x in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no , in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no , in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no x in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no = in font nullfont! -Missing character: There is no 0 in font nullfont! -Missing character: There is no ) in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no x in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no [ in font nullfont! -Missing character: There is no : in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no ] in font nullfont! -Missing character: There is no * in font nullfont! -Missing character: There is no = in font nullfont! -Missing character: There is no 0 in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no 0 in font nullfont! - -Overfull \hbox (20.0pt too wide) in paragraph at lines 20--26 -[] - [] - -! You can't use `macro parameter character #' in vertical mode. -l.27 # - Apply Gaussian blur to create a dispersion effect -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.27 # A - pply Gaussian blur to create a dispersion effect -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no A in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no y in font nullfont! -Missing character: There is no G in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no u in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no b in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no u in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no t in font nullfont! -! You can't use `macro parameter character #' in horizontal mode. -l.28 # - Dispersion increases in strength over time -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -Missing character: There is no D in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no g in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no v in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no m in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no g in font nullfont! -Missing character: There is no m in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no = in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no 2 in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no * in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no 1 in font nullfont! -Missing character: There is no 4 in font nullfont! -Missing character: There is no * in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no / in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no g in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no N in font nullfont! -! Missing $ inserted. - - $ -l.29 ... = (2. * .14 * self.iteration / (config.N_ - PIXELS * self.speed))**4. -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! Missing $ inserted. - - $ -l.31 - -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - - -Overfull \hbox (20.0pt too wide) in paragraph at lines 27--31 -[] - [] - - -Overfull \hbox (47.3899pt too wide) in paragraph at lines 27--31 -$[]\OML/cmm/m/it/10 IXELS \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (57.73279pt too wide) in paragraph at lines 27--31 -$\OML/cmm/m/it/10 self:speed\OT1/cmr/m/n/10 )) \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (70.76814pt too wide) in paragraph at lines 27--31 -$\OMS/cmsy/m/n/10 \OT1/cmr/m/n/10 4\OML/cmm/m/it/10 :self:pixels \OT1/cmr/m/n/ -10 =$ - [] - - -Overfull \hbox (199.70793pt too wide) in paragraph at lines 27--31 -$\OML/cmm/m/it/10 gaussian[]ilter\OT1/cmr/m/n/10 1\OML/cmm/m/it/10 d\OT1/cmr/m/ -n/10 (\OML/cmm/m/it/10 self:pixels; sigma; mode \OT1/cmr/m/n/10 =[]$ - [] - - -Overfull \hbox (45.06956pt too wide) in paragraph at lines 27--31 -$\OML/cmm/m/it/10 constant[]\OT1/cmr/m/n/10 )$ - [] - -! You can't use `macro parameter character #' in vertical mode. -l.32 # - Exponentially decay the brightness over time -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.32 # E - xponentially decay the brightness over time -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no E in font nullfont! -Missing character: There is no x in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no y in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no y in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no b in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no g in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no v in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no m in font nullfont! -Missing character: There is no e in font nullfont! -! You can't use `macro parameter character #' in horizontal mode. -l.33 # - The decay helps to direct viewer's focus to newer and brighte... -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -Missing character: There is no T in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no y in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no v in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no w in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no ' in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no u in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no w in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no b in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no g in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no b in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no x in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no * in font nullfont! -Missing character: There is no = in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no x in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no 2 in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no * in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no g in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no 1 in font nullfont! -Missing character: There is no ) in font nullfont! -Missing character: There is no / in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no * in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no g in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no N in font nullfont! -! Missing $ inserted. - - $ -l.34 ...(2. * np.log(.1) / (self.speed * config.N_ - PIXELS)) -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! Missing $ inserted. - - $ -l.37 - -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - - -Overfull \hbox (20.0pt too wide) in paragraph at lines 32--37 -[] - [] - - -Overfull \hbox (108.158pt too wide) in paragraph at lines 32--37 -$[]\OML/cmm/m/it/10 IXELS\OT1/cmr/m/n/10 ))\OML/cmm/m/it/10 self:pixels \OT1/cm -r/m/n/10 =$ - [] - - -Overfull \hbox (146.27133pt too wide) in paragraph at lines 32--37 -$\OML/cmm/m/it/10 np:round\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 self:pixels; decima -ls \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (66.87924pt too wide) in paragraph at lines 32--37 -$\OT1/cmr/m/n/10 2)\OML/cmm/m/it/10 self:pixels \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (113.8974pt too wide) in paragraph at lines 32--37 -$\OML/cmm/m/it/10 np:clip\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 self:pixels; \OT1/cm -r/m/n/10 0\OML/cmm/m/it/10 ; \OT1/cmr/m/n/10 255)$ - [] - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.38 d - ef finished(self): -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no d in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no ) in font nullfont! -Missing character: There is no : in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no u in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no y in font nullfont! -! Missing $ inserted. - - $ -l.39 return np.array_ - equal(self.pixels, self.pixels * 0.0) -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! Missing $ inserted. - - $ -l.40 - -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - - -Overfull \hbox (20.0pt too wide) in paragraph at lines 38--40 -[] - [] - - -Overfull \hbox (131.51102pt too wide) in paragraph at lines 38--40 -$[]\OML/cmm/m/it/10 qual\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 self:pixels; self:pix -els \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (16.66672pt too wide) in paragraph at lines 38--40 -$\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0)$ - [] - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.42 d - ef rainbow(speed=1.0 / 5.0): -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no d in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no b in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no w in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no = in font nullfont! -Missing character: There is no 1 in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no 0 in font nullfont! -Missing character: There is no / in font nullfont! -Missing character: There is no 5 in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no 0 in font nullfont! -Missing character: There is no ) in font nullfont! -Missing character: There is no : in font nullfont! -! You can't use `macro parameter character #' in horizontal mode. -l.43 # - Note: assumes array is N_PIXELS / 2 long -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -Missing character: There is no N in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no : in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no u in font nullfont! -Missing character: There is no m in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no y in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no N in font nullfont! -! Missing $ inserted. - - $ -l.43 # Note: assumes array is N_ - PIXELS / 2 long -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! Missing $ inserted. - - $ -l.55 - -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - - -Overfull \hbox (20.0pt too wide) in paragraph at lines 42--55 -[] - [] - - -Overfull \hbox (90.36446pt too wide) in paragraph at lines 42--55 -$[]\OML/cmm/m/it/10 IXELS=\OT1/cmr/m/n/10 2\OML/cmm/m/it/10 longdt \OT1/cmr/m/n -/10 =$ - [] - - -Overfull \hbox (124.37978pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 np:pi=config:N[]IXELSt \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (56.5409pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 time:time\OT1/cmr/m/n/10 () \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (61.80331pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 speeddefr\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 t\OT1/cmr/m/n/10 ) - :$ - [] - - -Overfull \hbox (76.68613pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 return\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 np:sin\OT1/cmr/m/n/10 - (\OML/cmm/m/it/10 t \OT1/cmr/m/n/10 +$ - [] - - -Overfull \hbox (24.44452pt too wide) in paragraph at lines 42--55 -$\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0) +$ - [] - - -Overfull \hbox (21.66673pt too wide) in paragraph at lines 42--55 -$\OT1/cmr/m/n/10 1\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0) \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (68.46191pt too wide) in paragraph at lines 42--55 -$\OT1/cmr/m/n/10 1\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 =\OT1/cmr -/m/n/10 2\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 defg\OT1/cmr/m/n/1 -0 (\OML/cmm/m/it/10 t\OT1/cmr/m/n/10 ) :$ - [] - - -Overfull \hbox (76.68613pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 return\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 np:sin\OT1/cmr/m/n/10 - (\OML/cmm/m/it/10 t \OT1/cmr/m/n/10 +$ - [] - - -Overfull \hbox (43.33347pt too wide) in paragraph at lines 42--55 -$\OT1/cmr/m/n/10 (2\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 =\OT1/cm -r/m/n/10 3\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0) \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (33.95447pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 np:pi\OT1/cmr/m/n/10 ) +$ - [] - - -Overfull \hbox (21.66673pt too wide) in paragraph at lines 42--55 -$\OT1/cmr/m/n/10 1\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0) \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (67.6251pt too wide) in paragraph at lines 42--55 -$\OT1/cmr/m/n/10 1\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 =\OT1/cmr -/m/n/10 2\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 defb\OT1/cmr/m/n/1 -0 (\OML/cmm/m/it/10 t\OT1/cmr/m/n/10 ) :$ - [] - - -Overfull \hbox (76.68613pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 return\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 np:sin\OT1/cmr/m/n/10 - (\OML/cmm/m/it/10 t \OT1/cmr/m/n/10 +$ - [] - - -Overfull \hbox (43.33347pt too wide) in paragraph at lines 42--55 -$\OT1/cmr/m/n/10 (4\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 =\OT1/cm -r/m/n/10 3\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0) \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (33.95447pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 np:pi\OT1/cmr/m/n/10 ) +$ - [] - - -Overfull \hbox (21.66673pt too wide) in paragraph at lines 42--55 -$\OT1/cmr/m/n/10 1\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0) \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (46.82643pt too wide) in paragraph at lines 42--55 -$\OT1/cmr/m/n/10 1\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 =\OT1/cmr -/m/n/10 2\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 x \OT1/cmr/m/n/10 -=$ - [] - - -Overfull \hbox (303.919pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 np:tile\OT1/cmr/m/n/10 (0\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\ -OML/cmm/m/it/10 ; \OT1/cmr/m/n/10 (\OML/cmm/m/it/10 config:N[]IXELS; \OT1/cmr/m -/n/10 3))\OML/cmm/m/it/10 foriinrange\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 config:N -[]IXELS\OT1/cmr/m/n/10 ) :$ - [] - - -Overfull \hbox (35.82707pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 x\OT1/cmr/m/n/10 [\OML/cmm/m/it/10 i\OT1/cmr/m/n/10 ][0] =$ - [] - - -Overfull \hbox (17.12341pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 r\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 i \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (16.59378pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 dt \OT1/cmr/m/n/10 +$ - [] - - -Overfull \hbox (43.32709pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 t\OT1/cmr/m/n/10 )\OML/cmm/m/it/10 x\OT1/cmr/m/n/10 [\OML/cmm -/m/it/10 i\OT1/cmr/m/n/10 ][1] =$ - [] - - -Overfull \hbox (17.46251pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 g\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 i \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (16.59378pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 dt \OT1/cmr/m/n/10 +$ - [] - - -Overfull \hbox (43.32709pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 t\OT1/cmr/m/n/10 )\OML/cmm/m/it/10 x\OT1/cmr/m/n/10 [\OML/cmm -/m/it/10 i\OT1/cmr/m/n/10 ][2] =$ - [] - - -Overfull \hbox (16.6257pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 b\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 i \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (16.59378pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 dt \OT1/cmr/m/n/10 +$ - [] - - -Overfull \hbox (42.78833pt too wide) in paragraph at lines 42--55 -$\OML/cmm/m/it/10 t\OT1/cmr/m/n/10 )\OML/cmm/m/it/10 returnx$ - [] - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.57 d - ef radiate(beats, beat_speed=1.0, max_length=26, min_beats=1): -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no d in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no b in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no , in font nullfont! -Missing character: There is no b in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -! Missing $ inserted. - - $ -l.57 def radiate(beats, beat_ - speed=1.0, max_length=26, min_beats=1): -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! You can't use `macro parameter character #' in math mode. -l.59 # - Add new beat if beats were detected -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -! You can't use `macro parameter character #' in math mode. -l.61 # - Beat properties -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -! You can't use `macro parameter character #' in math mode. -l.67 # - Beat pixels -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -! You can't use `macro parameter character #' in math mode. -l.70 # - Create and add the new beat -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -! You can't use `macro parameter character #' in math mode. -l.73 # - Pixels that will be displayed on the LED strip -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -! You can't use `macro parameter character #' in math mode. -l.79 # - Only keep the beats that are still visible on the strip -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -! Missing $ inserted. - - $ -l.87 - -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - - -Overfull \hbox (20.0pt too wide) in paragraph at lines 57--87 -[] - [] - - -Overfull \hbox (34.37848pt too wide) in paragraph at lines 57--87 -$[]\OML/cmm/m/it/10 peed \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (75.78827pt too wide) in paragraph at lines 57--87 -$\OT1/cmr/m/n/10 1\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 ; max[]en -gth \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (65.485pt too wide) in paragraph at lines 57--87 -$\OT1/cmr/m/n/10 26\OML/cmm/m/it/10 ; min[]eats \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (14.44441pt too wide) in paragraph at lines 57--87 -$\OT1/cmr/m/n/10 1) :$ - [] - - -Overfull \hbox (40.84766pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 N[]eats \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (83.90404pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 len\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 beats\OT1/cmr/m/n/10 [\O -ML/cmm/m/it/10 beats \OT1/cmr/m/n/10 ==$ - [] - - -Overfull \hbox (222.58441pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 True\OT1/cmr/m/n/10 ])\OML/cmm/m/it/10 Addnewbeatifbeatswered -etectedifN[]eats >$ - [] - - -Overfull \hbox (70.11858pt too wide) in paragraph at lines 57--87 -$\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 andN[]eats >\OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (46.04054pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 min[]eats \OT1/cmr/m/n/10 :$ - [] - - -Overfull \hbox (121.92871pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 Beatpropertiesbeat[]ower \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (243.46385pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 float\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 N[]eats\OT1/cmr/m/n/10 - )\OML/cmm/m/it/10 =config:N[]UBBANDSbeat[]rightness \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (71.30492pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 min\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 beat[]ower \OMS/cmsy/m/n -/10 $ - [] - - -Overfull \hbox (124.07536pt too wide) in paragraph at lines 57--87 -$\OT1/cmr/m/n/10 40\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 ; \OT1/c -mr/m/n/10 255\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0)\OML/cmm/m/it/10 beat[]rightne -ss \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (163.26407pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 max\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 beat[]rightness; \OT1/cm -r/m/n/10 40)\OML/cmm/m/it/10 beat[]ength \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (105.63597pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 int\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 np:sqrt\OT1/cmr/m/n/10 ( -\OML/cmm/m/it/10 beat[]ower\OT1/cmr/m/n/10 ) \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (108.5291pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 max[]ength\OT1/cmr/m/n/10 )\OML/cmm/m/it/10 beat[]ength \OT1/ -cmr/m/n/10 =$ - [] - - -Overfull \hbox (186.14127pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 max\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 beat[]ength; \OT1/cmr/m/ -n/10 2)\OML/cmm/m/it/10 Beatpixelsbeat[]ixels \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (187.73727pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 np:zeros\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 config:N[]IXELS=\OT -1/cmr/m/n/10 2)\OML/cmm/m/it/10 beat[]ixels\OT1/cmr/m/n/10 [:$ - [] - - -Overfull \hbox (59.40746pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 beat[]ength\OT1/cmr/m/n/10 ] =$ - [] - - -Overfull \hbox (206.04216pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 beat[]rightnessCreateandaddthenewbeatbeat \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (187.82643pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 Beat\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 beat[]ixels; beat[]peed -\OT1/cmr/m/n/10 )\OML/cmm/m/it/10 radiate:beats \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (355.61821pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 np:append\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 radiate:beats; bea -t\OT1/cmr/m/n/10 )\OML/cmm/m/it/10 PixelsthatwillbedisplayedontheLEDstrippixels - \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (232.2083pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 np:zeros\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 config:N[]IXELS=\OT -1/cmr/m/n/10 2)\OML/cmm/m/it/10 iflen\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 radiate: -beats\OT1/cmr/m/n/10 ) :$ - [] - - -Overfull \hbox (45.0493pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 pixels\OT1/cmr/m/n/10 + =$ - [] - - -Overfull \hbox (245.73996pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 sum\OT1/cmr/m/n/10 ([\OML/cmm/m/it/10 b:pixelsforbinradiate:b -eats\OT1/cmr/m/n/10 ])\OML/cmm/m/it/10 forbinradiate:beats \OT1/cmr/m/n/10 :$ - [] - - -Overfull \hbox (344.04988pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 b:update[]ixels\OT1/cmr/m/n/10 ()\OML/cmm/m/it/10 Onlykeepthe -beatsthatarestillvisibleonthestripradiate:beats \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (211.95586pt too wide) in paragraph at lines 57--87 -$\OT1/cmr/m/n/10 [\OML/cmm/m/it/10 bforbinradiate:beatsifnotb:finished\OT1/cmr/ -m/n/10 ()]\OML/cmm/m/it/10 pixels \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (83.9615pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 np:append\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 pixels\OT1/cmr/m/n -/10 [::$ - [] - - -Overfull \hbox (87.8764pt too wide) in paragraph at lines 57--87 -$\OMS/cmsy/m/n/10 \OT1/cmr/m/n/10 1]\OML/cmm/m/it/10 ; pixels\OT1/cmr/m/n/10 ) -\OML/cmm/m/it/10 pixels \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (146.00568pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 np:clip\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 pixels; \OT1/cmr/m/n -/10 0\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 ; \OT1/cmr/m/n/10 255\ -OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0)\OML/cmm/m/it/10 pixels \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (35.6049pt too wide) in paragraph at lines 57--87 -$\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 pixels \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (105.04895pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 rainbow\OT1/cmr/m/n/10 ()\OML/cmm/m/it/10 :T\OT1/cmr/m/n/10 ) -\OML/cmm/m/it/10 :Tpixels \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (180.11235pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 np:round\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 pixels\OT1/cmr/m/n/ -10 )\OML/cmm/m/it/10 :astype\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 int\OT1/cmr/m/n/1 -0 )\OML/cmm/m/it/10 led:pixels \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (79.82724pt too wide) in paragraph at lines 57--87 -$\OML/cmm/m/it/10 pixelsled:update\OT1/cmr/m/n/10 ()$ - [] - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.89 d - ef radiate2(beats, energy, beat_speed=0.8, max_length=26, min_beats=1): -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no d in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no 2 in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no b in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no , in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no g in font nullfont! -Missing character: There is no y in font nullfont! -Missing character: There is no , in font nullfont! -Missing character: There is no b in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -! Missing $ inserted. - - $ -l.89 def radiate2(beats, energy, beat_ - speed=0.8, max_length=26, min_beats=1): -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! Missing $ inserted. - - $ -l.91 - -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - - -Overfull \hbox (20.0pt too wide) in paragraph at lines 89--91 -[] - [] - - -Overfull \hbox (34.37848pt too wide) in paragraph at lines 89--91 -$[]\OML/cmm/m/it/10 peed \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (75.78827pt too wide) in paragraph at lines 89--91 -$\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 8\OML/cmm/m/it/10 ; max[]en -gth \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (65.485pt too wide) in paragraph at lines 89--91 -$\OT1/cmr/m/n/10 26\OML/cmm/m/it/10 ; min[]eats \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (14.44441pt too wide) in paragraph at lines 89--91 -$\OT1/cmr/m/n/10 1) :$ - [] - - -Overfull \hbox (40.84766pt too wide) in paragraph at lines 89--91 -$\OML/cmm/m/it/10 N[]eats \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (83.90404pt too wide) in paragraph at lines 89--91 -$\OML/cmm/m/it/10 len\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 beats\OT1/cmr/m/n/10 [\O -ML/cmm/m/it/10 beats \OT1/cmr/m/n/10 ==$ - [] - - -Overfull \hbox (29.06955pt too wide) in paragraph at lines 89--91 -$\OML/cmm/m/it/10 True\OT1/cmr/m/n/10 ])$ - [] - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.92 i - f N_beats > 0 and N_beats >= min_beats: -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no i in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no N in font nullfont! -! Missing $ inserted. - - $ -l.92 if N_ - beats > 0 and N_beats >= min_beats: -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! You can't use `macro parameter character #' in math mode. -l.94 # - Beat properties -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -! You can't use `macro parameter character #' in math mode. -l.96 # - energy = np.copy(energy) -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -! You can't use `macro parameter character #' in math mode. -l.97 # - energy -= np.min(energy) -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -! You can't use `macro parameter character #' in math mode. -l.98 # - energy /= (np.max(energy) - np.min(energy)) -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - -! Missing $ inserted. - - $ -l.111 - -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - - -Overfull \hbox (20.0pt too wide) in paragraph at lines 92--111 -[] - [] - - -Overfull \hbox (32.81294pt too wide) in paragraph at lines 92--111 -$[]\OML/cmm/m/it/10 eats >$ - [] - - -Overfull \hbox (70.11858pt too wide) in paragraph at lines 92--111 -$\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 andN[]eats >\OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (46.04054pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 min[]eats \OT1/cmr/m/n/10 :$ - [] - - -Overfull \hbox (65.68561pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 index[]o[]olor \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (165.79639pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 rainbow\OT1/cmr/m/n/10 ()\OML/cmm/m/it/10 Beatpropertiesbeat[ -]ower \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (209.3273pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 float\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 N[]eats\OT1/cmr/m/n/10 - )\OML/cmm/m/it/10 =config:N[]UBBANDSenergy \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (120.37875pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 np:copy\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 energy\OT1/cmr/m/n/1 -0 )\OML/cmm/m/it/10 energy\OMS/cmsy/m/n/10 \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (116.36095pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 np:min\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 energy\OT1/cmr/m/n/10 - )\OML/cmm/m/it/10 energy= \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (83.5315pt too wide) in paragraph at lines 92--111 -$\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 np:max\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 ener -gy\OT1/cmr/m/n/10 ) \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (149.38638pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 np:min\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 energy\OT1/cmr/m/n/10 - ))\OML/cmm/m/it/10 beat[]rightness \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (258.43228pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 np:round\OT1/cmr/m/n/10 (256\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 - 0\OML/cmm/m/it/10 =config:N[]UBBANDS\OT1/cmr/m/n/10 )\OML/cmm/m/it/10 beat[]ri -ghtness\OMS/cmsy/m/n/10  \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (232.62125pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 np:sqrt\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 config:N[]UBBANDS=N[ -]eats\OT1/cmr/m/n/10 )\OML/cmm/m/it/10 beat[]ength \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (105.63597pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 int\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 np:sqrt\OT1/cmr/m/n/10 ( -\OML/cmm/m/it/10 beat[]ower\OT1/cmr/m/n/10 ) \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (108.5291pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 max[]ength\OT1/cmr/m/n/10 )\OML/cmm/m/it/10 beat[]ength \OT1/ -cmr/m/n/10 =$ - [] - - -Overfull \hbox (137.7852pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 max\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 beat[]ength; \OT1/cmr/m/ -n/10 2)\OML/cmm/m/it/10 beat[]ixels \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (275.14308pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 np:tile\OT1/cmr/m/n/10 (0\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\ -OML/cmm/m/it/10 ; \OT1/cmr/m/n/10 (\OML/cmm/m/it/10 config:N[]IXELS=\OT1/cmr/m/ -n/10 2\OML/cmm/m/it/10 ; \OT1/cmr/m/n/10 3))\OML/cmm/m/it/10 foriinrange\OT1/cm -r/m/n/10 (\OML/cmm/m/it/10 len\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 beats\OT1/cmr/m -/n/10 )) :$ - [] - - -Overfull \hbox (46.50601pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 ifbeats\OT1/cmr/m/n/10 [\OML/cmm/m/it/10 i\OT1/cmr/m/n/10 ] : -$ - [] - - -Overfull \hbox (50.13858pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 beat[]olor \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (113.39949pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 np:round\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 index[]o[]olor\OT1/ -cmr/m/n/10 [\OML/cmm/m/it/10 i\OT1/cmr/m/n/10 ] \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (69.63087pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 beat[]rightness \OMS/cmsy/m/n/10 $ - [] - - -Overfull \hbox (93.09149pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 energy\OT1/cmr/m/n/10 [\OML/cmm/m/it/10 i\OT1/cmr/m/n/10 ])\O -ML/cmm/m/it/10 beat[]ixels\OT1/cmr/m/n/10 [:$ - [] - - -Overfull \hbox (67.18526pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 beat[]ength\OT1/cmr/m/n/10 ]+ =$ - [] - - -Overfull \hbox (94.29059pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 beat[]olorbeat[]ixels \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (154.57063pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 np:clip\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 beat[]ixels; \OT1/cm -r/m/n/10 0\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 ; \OT1/cmr/m/n/10 - 255\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0)\OML/cmm/m/it/10 beat \OT1/cmr/m/n/10 = -$ - [] - - -Overfull \hbox (192.82645pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 Beat\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 beat[]ixels; beat[]peed -\OT1/cmr/m/n/10 )\OML/cmm/m/it/10 radiate\OT1/cmr/m/n/10 2\OML/cmm/m/it/10 :bea -ts \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (137.67914pt too wide) in paragraph at lines 92--111 -$\OML/cmm/m/it/10 np:append\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 radiate\OT1/cmr/m/ -n/10 2\OML/cmm/m/it/10 :beats; beat\OT1/cmr/m/n/10 )$ - [] - - -! LaTeX Error: The font size command \normalsize is not defined: - there is probably something wrong with the class file. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.111 - -Your command was ignored. -Type I to replace it with another command, -or to continue without it. - -[1{C:/Users/Scott/AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}] -! You can't use `macro parameter character #' in vertical mode. -l.112 # - Pixels that will be displayed on the LED strip -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.112 # P - ixels that will be displayed on the LED strip -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no P in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no x in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no w in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no b in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no y in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no L in font nullfont! -Missing character: There is no E in font nullfont! -Missing character: There is no D in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no x in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no = in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no z in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no g in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no N in font nullfont! -! Missing $ inserted. - - $ -l.113 pixels = np.zeros((config.N_ - PIXELS / 2, 3)) -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! Missing $ inserted. - - $ -l.124 - -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - - -Overfull \hbox (20.0pt too wide) in paragraph at lines 112--124 -[] - [] - - -Overfull \hbox (168.2352pt too wide) in paragraph at lines 112--124 -$[]\OML/cmm/m/it/10 IXELS=\OT1/cmr/m/n/10 2\OML/cmm/m/it/10 ; \OT1/cmr/m/n/10 3 -))\OML/cmm/m/it/10 iflen\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 radiate\OT1/cmr/m/n/1 -0 2\OML/cmm/m/it/10 :beats\OT1/cmr/m/n/10 ) :$ - [] - - -Overfull \hbox (45.0493pt too wide) in paragraph at lines 112--124 -$\OML/cmm/m/it/10 pixels\OT1/cmr/m/n/10 + =$ - [] - - -Overfull \hbox (255.73999pt too wide) in paragraph at lines 112--124 -$\OML/cmm/m/it/10 sum\OT1/cmr/m/n/10 ([\OML/cmm/m/it/10 b:pixelsforbinradiate\O -T1/cmr/m/n/10 2\OML/cmm/m/it/10 :beats\OT1/cmr/m/n/10 ])\OML/cmm/m/it/10 forbin -radiate\OT1/cmr/m/n/10 2\OML/cmm/m/it/10 :beats \OT1/cmr/m/n/10 :$ - [] - - -Overfull \hbox (143.81255pt too wide) in paragraph at lines 112--124 -$\OML/cmm/m/it/10 b:update[]ixels\OT1/cmr/m/n/10 ()\OML/cmm/m/it/10 radiate\OT1 -/cmr/m/n/10 2\OML/cmm/m/it/10 :beats \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (216.95587pt too wide) in paragraph at lines 112--124 -$\OT1/cmr/m/n/10 [\OML/cmm/m/it/10 bforbinradiate\OT1/cmr/m/n/10 2\OML/cmm/m/it -/10 :beatsifnotb:finished\OT1/cmr/m/n/10 ()]\OML/cmm/m/it/10 pixels \OT1/cmr/m/ -n/10 =$ - [] - - -Overfull \hbox (83.9615pt too wide) in paragraph at lines 112--124 -$\OML/cmm/m/it/10 np:append\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 pixels\OT1/cmr/m/n -/10 [::$ - [] - - -Overfull \hbox (80.84972pt too wide) in paragraph at lines 112--124 -$\OMS/cmsy/m/n/10 \OT1/cmr/m/n/10 1]\OML/cmm/m/it/10 ; pixels; axis \OT1/cmr/m -/n/10 =$ - [] - - -Overfull \hbox (46.16042pt too wide) in paragraph at lines 112--124 -$\OT1/cmr/m/n/10 0)\OML/cmm/m/it/10 pixels \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (146.00568pt too wide) in paragraph at lines 112--124 -$\OML/cmm/m/it/10 np:clip\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 pixels; \OT1/cmr/m/n -/10 0\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0\OML/cmm/m/it/10 ; \OT1/cmr/m/n/10 255\ -OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0)\OML/cmm/m/it/10 pixels \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (180.11235pt too wide) in paragraph at lines 112--124 -$\OML/cmm/m/it/10 np:round\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 pixels\OT1/cmr/m/n/ -10 )\OML/cmm/m/it/10 :astype\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 int\OT1/cmr/m/n/1 -0 )\OML/cmm/m/it/10 led:pixels \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (79.82724pt too wide) in paragraph at lines 112--124 -$\OML/cmm/m/it/10 pixelsled:update\OT1/cmr/m/n/10 ()$ - [] - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.126 d - ef microphone_update(stream): -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no d in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no m in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no e in font nullfont! -! Missing $ inserted. - - $ -l.126 def microphone_ - update(stream): -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! Missing $ inserted. - - $ -l.133 - -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - - -Overfull \hbox (20.0pt too wide) in paragraph at lines 126--133 -[] - [] - - -Overfull \hbox (74.16101pt too wide) in paragraph at lines 126--133 -$[]\OML/cmm/m/it/10 pdate\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 stream\OT1/cmr/m/n/1 -0 ) :$ - [] - - -Overfull \hbox (89.64851pt too wide) in paragraph at lines 126--133 -$\OML/cmm/m/it/10 frames[]er[]uffer \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (195.48853pt too wide) in paragraph at lines 126--133 -$\OML/cmm/m/it/10 int\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 config:MIC[]ATE=config:F -PS\OT1/cmr/m/n/10 )\OML/cmm/m/it/10 data \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (249.91347pt too wide) in paragraph at lines 126--133 -$\OML/cmm/m/it/10 np:fromstring\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 stream:read\OT -1/cmr/m/n/10 (\OML/cmm/m/it/10 frames[]er[]uffer\OT1/cmr/m/n/10 )\OML/cmm/m/it/ -10 ; dtype \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (70.70218pt too wide) in paragraph at lines 126--133 -$\OML/cmm/m/it/10 np:int\OT1/cmr/m/n/10 16)\OML/cmm/m/it/10 data \OT1/cmr/m/n/1 -0 =$ - [] - - -Overfull \hbox (42.1656pt too wide) in paragraph at lines 126--133 -$\OML/cmm/m/it/10 data=\OT1/cmr/m/n/10 2\OML/cmm/m/it/10 :\OT1/cmr/m/n/10 0 \OM -S/cmsy/m/n/10 $ - [] - - -Overfull \hbox (50.35184pt too wide) in paragraph at lines 126--133 -$\OMS/cmsy/m/n/10 \OT1/cmr/m/n/10 15\OML/cmm/m/it/10 xs; ys \OT1/cmr/m/n/10 =$ - - [] - - -Overfull \hbox (119.43524pt too wide) in paragraph at lines 126--133 -$\OML/cmm/m/it/10 dsp:fft[]og[]artition\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 data \ -OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (74.56367pt too wide) in paragraph at lines 126--133 -$\OML/cmm/m/it/10 data; subbands \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (217.66888pt too wide) in paragraph at lines 126--133 -$\OML/cmm/m/it/10 config:N[]UBBANDS\OT1/cmr/m/n/10 )\OML/cmm/m/it/10 beats; ene -rgy; variance \OT1/cmr/m/n/10 =$ - [] - - -Overfull \hbox (181.3259pt too wide) in paragraph at lines 126--133 -$\OML/cmm/m/it/10 dsp:beat[]etect\OT1/cmr/m/n/10 (\OML/cmm/m/it/10 ys\OT1/cmr/m -/n/10 )\OML/cmm/m/it/10 radiate\OT1/cmr/m/n/10 2(\OML/cmm/m/it/10 beats; energy -\OT1/cmr/m/n/10 )$ - [] - -! You can't use `macro parameter character #' in vertical mode. -l.135 # - Initial values for the radiate effect -Sorry, but I'm not programmed to handle this case; -I'll just pretend that you didn't ask for it. -If you're in the wrong mode, you might be able to -return to the right one by typing `I}' or `I$' or `I\par'. - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.135 # I - nitial values for the radiate effect -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no I in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no v in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no l in font nullfont! -Missing character: There is no u in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no o in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no h in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no f in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no c in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no b in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no = in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no y in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no [ in font nullfont! -Missing character: There is no ] in font nullfont! -Missing character: There is no ) in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no d in font nullfont! -Missing character: There is no i in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no 2 in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no b in font nullfont! -Missing character: There is no e in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no t in font nullfont! -Missing character: There is no s in font nullfont! -Missing character: There is no = in font nullfont! -Missing character: There is no n in font nullfont! -Missing character: There is no p in font nullfont! -Missing character: There is no . in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no r in font nullfont! -Missing character: There is no a in font nullfont! -Missing character: There is no y in font nullfont! -Missing character: There is no ( in font nullfont! -Missing character: There is no [ in font nullfont! -Missing character: There is no ] in font nullfont! -Missing character: There is no ) in font nullfont! - -Overfull \hbox (20.0pt too wide) in paragraph at lines 135--138 -[] - [] - - -! LaTeX Error: Missing \begin{document}. - -See the LaTeX manual or LaTeX Companion for explanation. -Type H for immediate help. - ... - -l.139 i - f __name__ == "__main__": -You're in trouble here. Try typing to proceed. -If that doesn't work, type X to quit. - -Missing character: There is no i in font nullfont! -Missing character: There is no f in font nullfont! -! Missing $ inserted. - - $ -l.139 if _ - _name__ == "__main__": -I've inserted a begin-math/end-math symbol since I think -you left one out. Proceed, with fingers crossed. - -! Missing { inserted. - - _ -l.139 if __ - name__ == "__main__": -A left brace was mandatory here, so I've put one in. -You might want to delete and/or insert some corrections -so that I will find a matching right brace soon. -(If you're confused by all this, try typing `I}' now.) - -! Missing { inserted. - - _ -l.139 if __name__ - == "__main__": -A left brace was mandatory here, so I've put one in. -You might want to delete and/or insert some corrections -so that I will find a matching right brace soon. -(If you're confused by all this, try typing `I}' now.) - -! Missing { inserted. - - _ -l.139 if __name__ == "__ - main__": -A left brace was mandatory here, so I've put one in. -You might want to delete and/or insert some corrections -so that I will find a matching right brace soon. -(If you're confused by all this, try typing `I}' now.) - -! Missing { inserted. - - _ -l.139 if __name__ == "__main__ - ": -A left brace was mandatory here, so I've put one in. -You might want to delete and/or insert some corrections -so that I will find a matching right brace soon. -(If you're confused by all this, try typing `I}' now.) - -) -! Emergency stop. -<*> ...udio-reactive-led-strip/python/visualize.py - -*** (job aborted, no legal \end found) - - -Here is how much of TeX's memory you used: - 14 strings out of 493921 - 558 string characters out of 3144876 - 57031 words of memory out of 3000000 - 3403 multiletter control sequences out of 15000+200000 - 3640 words of font info for 14 fonts, out of 3000000 for 9000 - 841 hyphenation exceptions out of 8191 - 18i,5n,12p,166b,113s stack positions out of 5000i,500n,10000p,200000b,50000s -! ==> Fatal error occurred, no output PDF file produced! +