summaryrefslogtreecommitdiffstats
path: root/src/progs/python/scripts
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2006-06-21 05:53:27 +0000
committerDavid Robillard <d@drobilla.net>2006-06-21 05:53:27 +0000
commitadac9032064d973ff6cfe1f94d8619c71fe199a3 (patch)
treeb2427a03222042cb79ff530ab1ad7c612475e7b7 /src/progs/python/scripts
parent9e6189fadd0fa1ff3636b50e84549da01fdbe7ba (diff)
downloadingen-adac9032064d973ff6cfe1f94d8619c71fe199a3.tar.gz
ingen-adac9032064d973ff6cfe1f94d8619c71fe199a3.tar.bz2
ingen-adac9032064d973ff6cfe1f94d8619c71fe199a3.zip
Reorganized directory tree/names
git-svn-id: http://svn.drobilla.net/lad/ingen@73 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/progs/python/scripts')
-rwxr-xr-xsrc/progs/python/scripts/flatten.py10
-rw-r--r--src/progs/python/scripts/sillysinepatch.py8
2 files changed, 9 insertions, 9 deletions
diff --git a/src/progs/python/scripts/flatten.py b/src/progs/python/scripts/flatten.py
index eaf8084d..530e4291 100755
--- a/src/progs/python/scripts/flatten.py
+++ b/src/progs/python/scripts/flatten.py
@@ -2,7 +2,7 @@
###############################################################################
#
-# flatten.py - a python script that merges all subpatches in an Om patch
+# flatten.py - a python script that merges all subpatches in an Ingen patch
# into the parent patch
#
# Copyright (C) 2005 Lars Luthman
@@ -19,11 +19,11 @@
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
###############################################################################
-import omsynth
+import ingen
import os,time,sys
@@ -200,7 +200,7 @@ def flatten(om, patch):
def main(om):
- om.setEnvironment(omsynth.Environment())
+ om.setEnvironment(ingen.Environment())
om.engine.activate.async()
om.engine.load_plugins.async()
om.request.all_objects(om.getAddressAsString())
@@ -225,7 +225,7 @@ if len(sys.argv) > 1:
print "%p";
os._exit(0)
else:
- omsynth.startClient(main)
+ ingen.startClient(main)
else:
print "Which patch do you want to flatten?"
diff --git a/src/progs/python/scripts/sillysinepatch.py b/src/progs/python/scripts/sillysinepatch.py
index ac51a080..dcb37a97 100644
--- a/src/progs/python/scripts/sillysinepatch.py
+++ b/src/progs/python/scripts/sillysinepatch.py
@@ -15,13 +15,13 @@
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
-# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
-import omsynth
+import ingen
import os,time,sys
def main(om):
- om.setEnvironment(omsynth.Environment())
+ om.setEnvironment(ingen.Environment())
om.engine.activate()
om.engine.load_plugins()
om.engine.register_client(om.getAddressAsString())
@@ -38,4 +38,4 @@ def main(om):
os._exit(0)
if __name__ == "__main__":
- omsynth.startClient(main)
+ ingen.startClient(main)