This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# LS build container | |
FROM alpine:edge as ls-build | |
RUN apk --no-cache add \ | |
gstreamer \ | |
gst-plugins-base \ | |
gst-plugins-good \ | |
gst-plugins-bad \ | |
gst-plugins-ugly \ | |
gst-libav \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# LS build container | |
FROM alpine:3.11 as ls-build | |
RUN apk --no-cache add \ | |
opam \ | |
make \ | |
m4 \ | |
ocaml-compiler-libs \ | |
musl-dev \ | |
automake \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#include <MIDI.h> | |
#include <WiFi.h> | |
#include <WiFiUdp.h> | |
// try to do ipMIDI receive on the ESP32 | |
// inspired by: http://www.instructables.com/id/MIDI-Piano-Lighting/?ALLSTEPS | |
MIDI_CREATE_INSTANCE(HardwareSerial, Serial1, MIDI); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -loop 1 -framerate 30 \ | |
-i background_image_at_resolution.jpg \ | |
-i http://domain.com:8000/audiostream \ | |
-c:v libx264 \ | |
-pix_fmt yuv420p \ | |
-vf "drawtext=textfile=/home/dreamer/thetext:reload=1:fontfile=/home/dreamer/.fonts/BPmonoBold.ttf:y=h-line_h-10:x=w-mod(max(t-4.5\,0)*(w+tw)/10.5\,(w+tw)):fontcolor=00dc90:fontsize=40:shadowx=2:shadowy=2" \ | |
-c:a aac \ | |
-ar 44100 \ | |
-f flv rtmp://user:[email protected]/show/leftover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[env:pokitto] | |
platform = nxplpc | |
framework = mbed | |
board = lpc11u68 | |
;lib_extra_dirs = | |
; lib/Pokitto/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
echo "copy .bin location and press enter" | |
read BIN | |
dd bs=1024 conv=nocreat,notrunc if=$BIN of=/media/dreamer/CRP\ DISABLD/firmware.bin | |
umount /media/dreamer/CRP\ DISABLD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Copyright 2016 DSP Synthesizers Sweden. | |
// | |
// Author: Jan Ostman | |
// | |
// This program is free software: you can redistribute it and/or modify | |
// it under the terms of the GNU General Public License as published by | |
// the Free Software Foundation, either version 3 of the License, or | |
// (at your option) any later version. | |
// This program is distributed in the hope that it will be useful, | |
// but WITHOUT ANY WARRANTY; without even the implied warranty of |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <Arduino.h> | |
#include <ArduinoJson.h> | |
const char *mySpaces[] = { | |
"test1", | |
"test2", | |
"test3" | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <ESP8266WiFi.h> //https://github.com/esp8266/Arduino | |
#include <ESP8266WiFiMulti.h> | |
#include <ESP8266HTTPClient.h> | |
//needed for library | |
#include "Freepin_WS2801.h" | |
ESP8266WiFiMulti WiFiMulti; | |
const char* ssid = "PIEMELS"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
for f in $(ls *.MOD); | |
do | |
xmp -o - -d wav "$f" | avconv -i - -b 320k "$f.mp3" | |
done |