diff options
author | N.N. <matju@users.sourceforge.net> | 2008-04-28 18:10:15 +0000 |
---|---|---|
committer | N.N. <matju@users.sourceforge.net> | 2008-04-28 18:10:15 +0000 |
commit | 91c0003b158e5f0ed9d0677fb136ae8bb6f86ec5 (patch) | |
tree | d413a48086819f6a2620cd27d030861d122d4f3f /externals/gridflow/bin/jmax2pd | |
parent | 98dfdfa2fc1c92ba69e33fd77ed3392034297c1f (diff) |
this is an old gridflow, and there's already a svn repository at http://gridflow.ca/svn/trunk
svn path=/trunk/; revision=9739
Diffstat (limited to 'externals/gridflow/bin/jmax2pd')
-rwxr-xr-x | externals/gridflow/bin/jmax2pd | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/externals/gridflow/bin/jmax2pd b/externals/gridflow/bin/jmax2pd deleted file mode 100755 index 5510656a..00000000 --- a/externals/gridflow/bin/jmax2pd +++ /dev/null @@ -1,29 +0,0 @@ -#!/usr/bin/env ruby - -require "gridflow" -require "gridflow/extra/jmax_format.rb" -require "gridflow/extra/puredata_format.rb" -include GridFlow -#GridFlow.verbose = true - -iname,oname = ARGV -if not iname - raise "usage: jmax2pd <input.jmax> [<output.pd>]" -end -if not oname - oname = iname.sub(/\.jmax$/,".pd") -end -keep=["broken","jpatcher","button","slider","messbox"] -GridFlow.instance_eval{@fclasses_set.delete_if {|k,v| - not keep.include? k -}} -#p GridFlow.instance_eval{@fclasses_set.keys.sort} - -jfr = JMaxFileReader.new(File.open(iname),FObject) -FObject.broken_ok = true -FObject.do_loadbangs = false -my_patcher = jfr.parse -pfw = PureDataFileWriter.new(oname) -pfw.write_patcher my_patcher -pfw.close - |