diff bin/effecteval @ 1560:e993c5e1df1a

fix effecteval to drop notes into new-style timeline Ignore-this: 57cae41f60447d55bffc8d59b84bb230
author Drew Perttula <drewp@bigasterisk.com>
date Wed, 24 May 2017 08:27:47 +0000
parents 1ba1d46a70a2
children 13e3cbe9071a
line wrap: on
line diff
--- a/bin/effecteval	Wed May 24 08:26:39 2017 +0000
+++ b/bin/effecteval	Wed May 24 08:27:47 2017 +0000
@@ -11,7 +11,7 @@
 sys.path.append('/usr/lib/python2.7/dist-packages') # For numpy
 from light9 import networking, showconfig
 from light9.effecteval.effect import EffectNode
-from light9.effect.edit import getMusicStatus, songEffectPatch
+from light9.effect.edit import getMusicStatus, songNotePatch
 from light9.effecteval.effectloop import makeEffectLoop
 from light9.greplin_cyclone import StatsForCyclone
 from light9.namespaces import L9
@@ -66,7 +66,7 @@
             
         log.info("adding to %s", song)
 
-        p = yield songEffectPatch(self.settings.graph, dropped, song, event, ctx=song)
+        p = yield songNotePatch(self.settings.graph, dropped, song, event, ctx=song)
         self.settings.graph.patch(p)
         self.settings.graph.suggestPrefixes({'song': URIRef(song + '/')})