Changeset - 185f3e2208c3
[Not reviewed]
default
0 4 0
drewp@bigasterisk.com - 9 years ago 2016-06-11 17:16:11
drewp@bigasterisk.com
show and config updates
Ignore-this: ed3bcb2f19250dd65d39c11131f36e93
4 files changed with 5 insertions and 3 deletions:
0 comments (0 inline, 0 general)
.boring
Show inline comments
 
@@ -136,18 +136,20 @@
 
^env
 
^env_pi
 
^lib/python2.7
 
# keep bower.json nonboring
 
^light9/web/lib/[acdefghijklmnopqrstuvwyzQN]
 
^show/dance20../music
 
^show/dance201./sessions/?
 
^show/dance2011
 
^show/dance2012
 
^show/dance2013/build
 
^show/dance2014/build/?
 
^show/dance2014/music
 
^show/.*/spectrogram
 
^show/.*/doc
 
^stagesim/three.js-master
 
^tkdnd
 
^node_modules
 

	
 
# temporary!
 
rgbled/build-nano328/
bin/collector
Show inline comments
 
@@ -53,25 +53,25 @@ def startZmq(port, collector):
 
        with stats.setAttrZmq.time():
 
            # todo: new compressed protocol where you send all URIs up
 
            # front and then use small ints to refer to devices and
 
            # attributes in subsequent requests.
 
            message[0]
 
            collector.setAttrs()
 
    s.onPull = onPull
 

	
 
def launch(graph):
 

	
 
    # todo: drive outputs with config files
 
    outputs = [
 
        EnttecDmx(L9['output/dmx0/'], '/dev/dmx0'),
 
        EnttecDmx(L9['output/dmx0/'], '/dev/dmx3'),
 
        Udmx(L9['output/udmx/']),
 
    ]
 
    c = Collector(graph, outputs)
 

	
 
    server = WebServer(c)
 
    startZmq(networking.collectorZmq.port, c)
 
    
 
    reactor.listenTCP(networking.collector.port,
 
                      Site(server.app.resource()),
 
                      interface='::')
 
    log.info('serving http on %s, zmq on %s', networking.collector.port,
 
             networking.collectorZmq.port)
bin/make_spectrograms
Show inline comments
 
#!/bin/zsh
 

	
 
for x ($LIGHT9_SHOW/music/*) {
 
for x ($LIGHT9_SHOW/music/pad/*) {
 
  sox $x -n remix 1 rate 3k spectrogram -X 50 -y 100 -z 80 -m -r -o $LIGHT9_SHOW/spectrogram/$x:t:r.png
 
}
makefile
Show inline comments
 
@@ -60,25 +60,25 @@ create_virtualenv:
 
	ln -sf ../env/bin/python bin/python
 

	
 
tkdnd_build:
 
	# get tkdnd r95 with subversion
 
	# then apply tkdnd-patch-on-r95 to that
 
	cd tkdnd/trunk
 
	./configure
 
	make
 

	
 
bin/ascoltami2: gst_packages link_to_sys_packages
 

	
 
gst_packages:
 
	sudo aptitude install python-gi gir1.2-gst-plugins-base-1.0 libgirepository-1.0-1 gir1.2-gstreamer-1.0 gstreamer1.0-tools gstreamer1.0-plugins-good gstreamer1.0-pulseaudio 
 
	sudo aptitude install python-gi gir1.2-gst-plugins-base-1.0 libgirepository-1.0-1 gir1.2-gstreamer-1.0 gstreamer1.0-tools gstreamer1.0-plugins-good gstreamer1.0-pulseaudio python-gst0.10 python-gst-1.0
 

	
 
packages:
 
	sudo aptitude install coffeescript freemind normalize-audio audacity python-pygoocanvas python-pygame gir1.2-goocanvas-2.0-9 libffi-dev tix libzmq3 python-dev libssl-dev python-opencv
 

	
 
bower:
 
	cd light9/web/lib; bower install
 
	cd light9/web/lib/N3.js; npm install; npm run browser
 
	cd light9/web/lib/d3; npm install
 

	
 
raspberry_pi_virtualenv:
 
	mkdir -p env_pi
 
	virtualenv --system-site-packages env_pi
0 comments (0 inline, 0 general)