Browse files

import with magill score

  • Loading branch information...
0 parents commit e194f176f98d1b6200ddd583f3641cdc3ab44d25 @hecanjog committed Nov 17, 2011
Showing with 90 additions and 0 deletions.
  1. +5 −0 .gitignore
  2. +49 −0 magill.py
  3. +18 −0 sounds/pull.sh
  4. +18 −0 sounds/push.sh
5 .gitignore
@@ -0,0 +1,5 @@
+*.wav
+*.swo
+*.swp
+*.tmp
+fabric
49 magill.py
@@ -0,0 +1,49 @@
+#!/usr/bin/env python2
+# -*- coding: UTF-8 -*-
+
+import fabric as dsp
+import random
+import time
+
+def main(out=''):
+ timer = time.time()
+
+ dsp.snddir = 'sounds/magill_interlude/'
+ magill = Magill()
+ dsp.beat = dsp.bpm2frames(88.0)
+
+ out += magill.test()
+
+ print dsp.write(out, 'magill')
+
+ # Show render time
+ timer = time.time() - timer
+ min = int(timer) / 60
+ sec = timer - (min * 60)
+ print 'render time:', min, 'min', sec, 'sec'
+
+class Magill:
+ """ structure, score """
+
+ def __init__(self):
+ self.patterns = Patterns()
+
+ # preload sounds
+ self.aa = dsp.read('wes01.wav')
+
+ # Set audio params
+ dsp.audio_params = self.aa.params
+
+ def test(self, out=''):
+
+ return out
+
+class Patterns:
+ """ recipes, patterns """
+
+ def pulsar(self, out=''):
+
+ return out
+
+if __name__ == '__main__':
+ main()
18 sounds/pull.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+######################################
+# Pulls sounds from magic.hecanjog.com
+######################################
+
+
+##
+# Vorms remix for Collections of Colonies of Bees
+rsync -avz somagical@magic.hecanjog.com:fabric/sounds/vorms/ vorms/
+
+##
+# 1of by Rough Weather
+rsync -avz somagical@magic.hecanjog.com:fabric/sounds/1of/ 1of/
+
+##
+# Computer Music With Voices interlude for Eric & Magill
+#rsync -avz somagical@magic.hecanjog.com:fabric/sounds/magill_interlude/ magill_interlude/
18 sounds/push.sh
@@ -0,0 +1,18 @@
+#!/usr/bin/env bash
+
+#####################################
+# Pushes sounds to magic.hecanjog.com
+#####################################
+
+
+##
+# Vorms remix for Collections of Colonies of Bees
+rsync -avz vorms/ somagical@magic.hecanjog.com:fabric/sounds/vorms/
+
+##
+# 1of by Rough Weather
+rsync -avz 1of/ somagical@magic.hecanjog.com:fabric/sounds/1of/
+
+##
+# Computer Music With Voices interlude for Eric & Magill
+#rsync -avz magill_interlude/ somagical@magic.hecanjog.com:fabric/sounds/magill_interlude/

0 comments on commit e194f17

Please sign in to comment.