summaryrefslogtreecommitdiffstats
path: root/src/progs/python/scripts
diff options
context:
space:
mode:
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)