From 7557adc6776004d4f21bd88be07b6551ba66f13f Mon Sep 17 00:00:00 2001 From: yo mama Date: Fri, 30 Jan 2015 23:33:50 -0800 Subject: major cleanup. added some cli args as well --- .lock-waf_linux2_build | 2 +- .../waflib/Build.pyc | Bin 34413 -> 34413 bytes .../waflib/ConfigSet.pyc | Bin 8092 -> 8092 bytes .../waflib/Configure.pyc | Bin 14426 -> 14426 bytes .../waflib/Context.pyc | Bin 12387 -> 12387 bytes .../waflib/Errors.pyc | Bin 2753 -> 2753 bytes .../waflib/Logs.pyc | Bin 9735 -> 9735 bytes .../waflib/Node.pyc | Bin 18925 -> 18925 bytes .../waflib/Options.pyc | Bin 7754 -> 7754 bytes .../waflib/Runner.pyc | Bin 8322 -> 8322 bytes .../waflib/Scripting.pyc | Bin 15942 -> 15942 bytes .../waflib/Task.pyc | Bin 28260 -> 28260 bytes .../waflib/TaskGen.pyc | Bin 17960 -> 17960 bytes .../waflib/Tools/__init__.pyc | Bin 180 -> 180 bytes .../waflib/Tools/ar.pyc | Bin 746 -> 746 bytes .../waflib/Tools/c.pyc | Bin 2249 -> 2249 bytes .../waflib/Tools/c_aliases.pyc | Bin 2831 -> 2831 bytes .../waflib/Tools/c_config.pyc | Bin 32322 -> 32322 bytes .../waflib/Tools/c_osx.pyc | Bin 6478 -> 6478 bytes .../waflib/Tools/c_preproc.pyc | Bin 22222 -> 22222 bytes .../waflib/Tools/c_tests.pyc | Bin 6561 -> 6561 bytes .../waflib/Tools/ccroot.pyc | Bin 18634 -> 18634 bytes .../waflib/Tools/compiler_c.pyc | Bin 2459 -> 2459 bytes .../waflib/Tools/compiler_cxx.pyc | Bin 2440 -> 2440 bytes .../waflib/Tools/cxx.pyc | Bin 2411 -> 2411 bytes .../waflib/Tools/gcc.pyc | Bin 4950 -> 4950 bytes .../waflib/Tools/gxx.pyc | Bin 5004 -> 5004 bytes .../waflib/Tools/icc.pyc | Bin 1500 -> 1500 bytes .../waflib/Tools/icpc.pyc | Bin 1479 -> 1479 bytes .../waflib/Utils.pyc | Bin 18272 -> 18272 bytes .../waflib/__init__.pyc | Bin 174 -> 174 bytes .../waflib/ansiterm.pyc | Bin 12318 -> 12318 bytes .../waflib/extras/__init__.pyc | Bin 181 -> 181 bytes .../waflib/extras/autowaf.pyc | Bin 30384 -> 30384 bytes build/.lock-waf_linux2_build | 2 +- build/.wafpickle-linux2-34015472-98 | Bin 96742 -> 7394 bytes build/LV2-render | Bin 77520 -> 77520 bytes build/config.log | 10 +- build/jalv_qt4_meta.hpp | 108 --------------------- build/src/LV2-render.c.1.o | Bin 34440 -> 34312 bytes build/src/LV2-render_console.c.1.o | Bin 5952 -> 6352 bytes build/src/jalv.c.1.o | Bin 31424 -> 0 bytes build/src/jalv.c.2.o | Bin 37592 -> 0 bytes build/src/jalv.c.3.o | Bin 37592 -> 0 bytes build/src/jalv.c.4.o | Bin 37592 -> 0 bytes build/src/jalv.c.5.o | Bin 37592 -> 0 bytes build/src/jalv.c.6.o | Bin 37592 -> 0 bytes build/src/jalv_console.c.1.o | Bin 5176 -> 0 bytes build/src/log.c.1.o | Bin 2200 -> 2200 bytes build/src/log.c.2.o | Bin 2200 -> 0 bytes build/src/log.c.3.o | Bin 2200 -> 0 bytes build/src/log.c.4.o | Bin 2200 -> 0 bytes build/src/log.c.5.o | Bin 2200 -> 0 bytes build/src/log.c.6.o | Bin 2200 -> 0 bytes build/src/lv2_evbuf.c.1.o | Bin 4672 -> 4672 bytes build/src/lv2_evbuf.c.2.o | Bin 4672 -> 0 bytes build/src/lv2_evbuf.c.3.o | Bin 4672 -> 0 bytes build/src/lv2_evbuf.c.4.o | Bin 4672 -> 0 bytes build/src/lv2_evbuf.c.5.o | Bin 4672 -> 0 bytes build/src/lv2_evbuf.c.6.o | Bin 4672 -> 0 bytes build/src/midi/fluid_list.c.1.o | Bin 4296 -> 4296 bytes build/src/midi/fluid_list.c.2.o | Bin 4296 -> 0 bytes build/src/midi/fluid_list.c.3.o | Bin 4296 -> 0 bytes build/src/midi/fluid_list.c.4.o | Bin 4296 -> 0 bytes build/src/midi/fluid_list.c.5.o | Bin 4296 -> 0 bytes build/src/midi/fluid_list.c.6.o | Bin 4296 -> 0 bytes build/src/midi/fluid_midi.c.1.o | Bin 27360 -> 27256 bytes build/src/midi/fluid_midi.c.2.o | Bin 27360 -> 0 bytes build/src/midi/fluid_midi.c.3.o | Bin 27360 -> 0 bytes build/src/midi/fluid_midi.c.4.o | Bin 27360 -> 0 bytes build/src/midi/fluid_midi.c.5.o | Bin 27360 -> 0 bytes build/src/midi/fluid_midi.c.6.o | Bin 27360 -> 0 bytes build/src/midi/midi_loader.c.1.o | Bin 3224 -> 2592 bytes build/src/midi/midi_loader.c.2.o | Bin 3224 -> 0 bytes build/src/midi/midi_loader.c.3.o | Bin 3224 -> 0 bytes build/src/midi/midi_loader.c.4.o | Bin 3224 -> 0 bytes build/src/midi/midi_loader.c.5.o | Bin 3224 -> 0 bytes build/src/midi/midi_loader.c.6.o | Bin 3224 -> 0 bytes build/src/state.c.1.o | Bin 7464 -> 7464 bytes build/src/state.c.2.o | Bin 7728 -> 0 bytes build/src/state.c.3.o | Bin 7728 -> 0 bytes build/src/state.c.4.o | Bin 7728 -> 0 bytes build/src/state.c.5.o | Bin 7728 -> 0 bytes build/src/state.c.6.o | Bin 7728 -> 0 bytes build/src/symap.c.1.o | Bin 3440 -> 3440 bytes build/src/symap.c.2.o | Bin 3440 -> 0 bytes build/src/symap.c.3.o | Bin 3440 -> 0 bytes build/src/symap.c.4.o | Bin 3440 -> 0 bytes build/src/symap.c.5.o | Bin 3440 -> 0 bytes build/src/symap.c.6.o | Bin 3440 -> 0 bytes build/src/worker.c.1.o | Bin 5272 -> 5272 bytes build/src/worker.c.2.o | Bin 5272 -> 0 bytes build/src/worker.c.3.o | Bin 5272 -> 0 bytes build/src/worker.c.4.o | Bin 5272 -> 0 bytes build/src/worker.c.5.o | Bin 5272 -> 0 bytes build/src/worker.c.6.o | Bin 5272 -> 0 bytes src/LV2-render.c | 64 +++--------- src/LV2-render_console.c | 15 ++- src/LV2-render_internal.h | 1 + src/midi/NOTES | 84 ---------------- src/midi/example.mid | Bin 93565 -> 0 bytes src/midi/example1.mid | Bin 9285 -> 0 bytes src/midi/example2.mid | Bin 21504 -> 0 bytes src/midi/fluid_midi.c | 38 ++------ src/midi/fluid_midi.h | 5 - src/midi/midi_loader.c | 26 ++--- src/midi/midi_loader.h | 17 +--- src/midi/midi_loader_test.c | 2 +- 108 files changed, 57 insertions(+), 317 deletions(-) delete mode 100644 build/jalv_qt4_meta.hpp delete mode 100644 build/src/jalv.c.1.o delete mode 100644 build/src/jalv.c.2.o delete mode 100644 build/src/jalv.c.3.o delete mode 100644 build/src/jalv.c.4.o delete mode 100644 build/src/jalv.c.5.o delete mode 100644 build/src/jalv.c.6.o delete mode 100644 build/src/jalv_console.c.1.o delete mode 100644 build/src/log.c.2.o delete mode 100644 build/src/log.c.3.o delete mode 100644 build/src/log.c.4.o delete mode 100644 build/src/log.c.5.o delete mode 100644 build/src/log.c.6.o delete mode 100644 build/src/lv2_evbuf.c.2.o delete mode 100644 build/src/lv2_evbuf.c.3.o delete mode 100644 build/src/lv2_evbuf.c.4.o delete mode 100644 build/src/lv2_evbuf.c.5.o delete mode 100644 build/src/lv2_evbuf.c.6.o delete mode 100644 build/src/midi/fluid_list.c.2.o delete mode 100644 build/src/midi/fluid_list.c.3.o delete mode 100644 build/src/midi/fluid_list.c.4.o delete mode 100644 build/src/midi/fluid_list.c.5.o delete mode 100644 build/src/midi/fluid_list.c.6.o delete mode 100644 build/src/midi/fluid_midi.c.2.o delete mode 100644 build/src/midi/fluid_midi.c.3.o delete mode 100644 build/src/midi/fluid_midi.c.4.o delete mode 100644 build/src/midi/fluid_midi.c.5.o delete mode 100644 build/src/midi/fluid_midi.c.6.o delete mode 100644 build/src/midi/midi_loader.c.2.o delete mode 100644 build/src/midi/midi_loader.c.3.o delete mode 100644 build/src/midi/midi_loader.c.4.o delete mode 100644 build/src/midi/midi_loader.c.5.o delete mode 100644 build/src/midi/midi_loader.c.6.o delete mode 100644 build/src/state.c.2.o delete mode 100644 build/src/state.c.3.o delete mode 100644 build/src/state.c.4.o delete mode 100644 build/src/state.c.5.o delete mode 100644 build/src/state.c.6.o delete mode 100644 build/src/symap.c.2.o delete mode 100644 build/src/symap.c.3.o delete mode 100644 build/src/symap.c.4.o delete mode 100644 build/src/symap.c.5.o delete mode 100644 build/src/symap.c.6.o delete mode 100644 build/src/worker.c.2.o delete mode 100644 build/src/worker.c.3.o delete mode 100644 build/src/worker.c.4.o delete mode 100644 build/src/worker.c.5.o delete mode 100644 build/src/worker.c.6.o delete mode 100644 src/midi/NOTES delete mode 100644 src/midi/example.mid delete mode 100644 src/midi/example1.mid delete mode 100644 src/midi/example2.mid diff --git a/.lock-waf_linux2_build b/.lock-waf_linux2_build index 3d980ab..cac94c1 100644 --- a/.lock-waf_linux2_build +++ b/.lock-waf_linux2_build @@ -1,5 +1,5 @@ argv = ['./waf', 'configure'] -environ = {'MYVIMRC': '/home/pepper/.vimrc', 'WINDOWID': '20971526', 'INFINALITY_FT_FRINGE_FILTER_STRENGTH': '50', 'INFINALITY_FT_USE_VARIOUS_TWEAKS': 'true', 'LOGNAME': 'pepper', 'USER': 'pepper', 'PATH': '/home/pepper/.gem/ruby/2.1.0/bin:/home/pepper/.gem/ruby/2.1.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/firstscripts:/root/.gem/ruby/2.1.0/bin:/opt/android-sdk/build-tools/19.0.2/:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/devkitpro/devkitPPC/bin:/opt/marytts/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/android-sdk/tools/:/opt/android-sdk/platform-tools/:/opt/android-sdk/tools/:/opt/android-sdk/platform-tools/', 'XDG_VTNR': '1', 'HOME': '/home/pepper', 'paul': '6172753373', 'HG': '/usr/bin/hg', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/pepper/.Xauthority', 'SHLVL': '4', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-H6vXrKgpA9,guid=7f0aa2463d332ed5aff35eaf54c813a1', 'WINDOWPATH': '1', 'EDITOR': 'vim', 'JAVA_HOME': '/usr/lib/jvm/java-7-openjdk', 'ANDROID_SWT': '/usr/share/java', 'COLORTERM': 'gnome-terminal', 'dad': '6174598251', 'XDG_RUNTIME_DIR': '/run/user/1002', 'VTE_VERSION': '3603', 'INFINALITY_FT_FILTER_PARAMS': '06 22 36 22 06', 'ANDROID_HOME': '/opt/android-sdk', 'XDG_SESSION_ID': 'c1', 'DEVKITPRO': '/opt/devkitpro', '_': './waf', 'MOZ_PLUGIN_PATH': '/usr/lib/mozilla/plugins', 'VIMRUNTIME': '/usr/share/vim/vim74', 'GREP_OPTIONS': '--color=auto', 'DISPLAY': ':0', 'GTK_MODULES': 'canberra-gtk-module', 'INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH': '20', 'ANT_HOME': '/usr/share/apache-ant', 'VIM': '/usr/share/vim', 'PWD': '/home/pepper/LV2-render', 'calla': '3109381479', 'DEVKITPPC': '/opt/devkitpro/devkitPPC', 'MAIL': '/var/spool/mail/pepper', 'XDG_SEAT': 'seat0'} +environ = {'MYVIMRC': '/home/pepper/.vimrc', 'WINDOWID': '20971526', 'INFINALITY_FT_FRINGE_FILTER_STRENGTH': '50', 'INFINALITY_FT_USE_VARIOUS_TWEAKS': 'true', 'LOGNAME': 'pepper', 'USER': 'pepper', 'PATH': '/home/pepper/.gem/ruby/2.1.0/bin:/home/pepper/.gem/ruby/2.1.0/bin:/home/pepper/.gem/ruby/2.1.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/firstscripts:/root/.gem/ruby/2.1.0/bin:/opt/android-sdk/build-tools/19.0.2/:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/devkitpro/devkitPPC/bin:/opt/marytts/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/android-sdk/tools/:/opt/android-sdk/platform-tools/:/opt/android-sdk/tools/:/opt/android-sdk/platform-tools/:/opt/android-sdk/tools/:/opt/android-sdk/platform-tools/', 'XDG_VTNR': '1', 'HOME': '/home/pepper', 'paul': '6172753373', 'HG': '/usr/bin/hg', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/pepper/.Xauthority', 'SHLVL': '4', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-T6Au7f7Fl5,guid=81865062af681cd21891a50754cc5e26', 'WINDOWPATH': '1', 'EDITOR': 'vim', 'JAVA_HOME': '/usr/lib/jvm/java-7-openjdk', 'ANDROID_SWT': '/usr/share/java', 'COLORTERM': 'gnome-terminal', 'dad': '6174598251', 'XDG_RUNTIME_DIR': '/run/user/1002', 'VTE_VERSION': '3603', 'INFINALITY_FT_FILTER_PARAMS': '06 22 36 22 06', 'ANDROID_HOME': '/opt/android-sdk', 'XDG_SESSION_ID': 'c1', 'DEVKITPRO': '/opt/devkitpro', '_': './waf', 'MOZ_PLUGIN_PATH': '/usr/lib/mozilla/plugins', 'VIMRUNTIME': '/usr/share/vim/vim74', 'GREP_OPTIONS': '--color=auto', 'DISPLAY': ':0', 'GTK_MODULES': 'canberra-gtk-module', 'INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH': '20', 'ANT_HOME': '/usr/share/apache-ant', 'VIM': '/usr/share/vim', 'PWD': '/home/pepper/LV2-render', 'calla': '3109381479', 'DEVKITPPC': '/opt/devkitpro/devkitPPC', 'MAIL': '/var/spool/mail/pepper', 'XDG_SEAT': 'seat0'} files = ['/home/pepper/LV2-render/wscript'] hash = '~\x8a\x88\x18\xd5\xff\\\xc7\x1e+Y\xf0\xa2hK\xb4' options = {'docdir': None, 'ultra_strict': False, 'force': False, 'verbose': 0, 'pardebug': False, 'destdir': '', 'no_jack_session': False, 'zones': '', 'prefix': '/usr/local/', 'download': False, 'grind': False, 'targets': '', 'configdir': None, 'mandir': None, 'nocache': False, 'progress_bar': 0, 'top': '', 'libdir': None, 'strict': False, 'datadir': None, 'lv2_user': False, 'out': '', 'check_cxx_compiler': 'g++ icpc', 'bindir': None, 'files': '', 'lv2_system': False, 'jobs': 4, 'docs': False, 'distcheck_args': None, 'no_qt': False, 'lv2dir': None, 'keep': 0, 'includedir': None, 'debug': False, 'check_c_compiler': 'gcc icc'} diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Build.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Build.pyc index 62c3f92..a9befb8 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Build.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Build.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/ConfigSet.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/ConfigSet.pyc index 87e1e6e..32eebd5 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/ConfigSet.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/ConfigSet.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Configure.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Configure.pyc index 774c052..df5735e 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Configure.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Configure.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Context.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Context.pyc index 859fc7f..a4130bb 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Context.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Context.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Errors.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Errors.pyc index 17ce351..eae99f1 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Errors.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Errors.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Logs.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Logs.pyc index 6fd8925..fbfcd8d 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Logs.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Logs.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Node.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Node.pyc index eca5aa5..60532bf 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Node.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Node.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Options.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Options.pyc index a5629f0..6c27f74 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Options.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Options.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Runner.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Runner.pyc index d36dc62..6228f60 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Runner.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Runner.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Scripting.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Scripting.pyc index bcdad69..e23fa51 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Scripting.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Scripting.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Task.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Task.pyc index 09ae716..8cb850f 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Task.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Task.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/TaskGen.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/TaskGen.pyc index 4d4c750..7533bd1 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/TaskGen.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/TaskGen.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/__init__.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/__init__.pyc index d963650..7324cd1 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/__init__.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/__init__.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/ar.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/ar.pyc index dd21f60..6aeeb7f 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/ar.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/ar.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c.pyc index 4e9f76c..6c066d2 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_aliases.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_aliases.pyc index 257d3a5..3a50e68 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_aliases.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_aliases.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_config.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_config.pyc index af8787e..622f10f 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_config.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_config.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_osx.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_osx.pyc index 67eb056..420a03a 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_osx.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_osx.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_preproc.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_preproc.pyc index 843688a..a8ade3e 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_preproc.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_preproc.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_tests.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_tests.pyc index 22ef2a0..5208638 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_tests.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/c_tests.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/ccroot.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/ccroot.pyc index 5aa74ff..5580ae9 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/ccroot.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/ccroot.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/compiler_c.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/compiler_c.pyc index 5a8bc47..d9107b2 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/compiler_c.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/compiler_c.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/compiler_cxx.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/compiler_cxx.pyc index cf375d4..3dac970 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/compiler_cxx.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/compiler_cxx.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/cxx.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/cxx.pyc index 11e2e1f..544773c 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/cxx.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/cxx.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/gcc.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/gcc.pyc index 86f9ce5..a1dff6c 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/gcc.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/gcc.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/gxx.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/gxx.pyc index 6e3c454..d0282bf 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/gxx.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/gxx.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/icc.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/icc.pyc index 9718f28..17f268c 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/icc.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/icc.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/icpc.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/icpc.pyc index 60a5599..4c052d1 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/icpc.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Tools/icpc.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Utils.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Utils.pyc index 0dd8845..374c9db 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Utils.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/Utils.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/__init__.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/__init__.pyc index 5db2af6..f8346f7 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/__init__.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/__init__.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/ansiterm.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/ansiterm.pyc index db6cdd8..3c8d5e7 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/ansiterm.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/ansiterm.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/extras/__init__.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/extras/__init__.pyc index 1882e61..bfd6292 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/extras/__init__.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/extras/__init__.pyc differ diff --git a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/extras/autowaf.pyc b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/extras/autowaf.pyc index a5b77d5..6abfd4e 100644 Binary files a/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/extras/autowaf.pyc and b/.waf-1.7.16-0356ded4079f8d9c0828a065ed2fdab1/waflib/extras/autowaf.pyc differ diff --git a/build/.lock-waf_linux2_build b/build/.lock-waf_linux2_build index 3d980ab..cac94c1 100644 --- a/build/.lock-waf_linux2_build +++ b/build/.lock-waf_linux2_build @@ -1,5 +1,5 @@ argv = ['./waf', 'configure'] -environ = {'MYVIMRC': '/home/pepper/.vimrc', 'WINDOWID': '20971526', 'INFINALITY_FT_FRINGE_FILTER_STRENGTH': '50', 'INFINALITY_FT_USE_VARIOUS_TWEAKS': 'true', 'LOGNAME': 'pepper', 'USER': 'pepper', 'PATH': '/home/pepper/.gem/ruby/2.1.0/bin:/home/pepper/.gem/ruby/2.1.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/firstscripts:/root/.gem/ruby/2.1.0/bin:/opt/android-sdk/build-tools/19.0.2/:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/devkitpro/devkitPPC/bin:/opt/marytts/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/android-sdk/tools/:/opt/android-sdk/platform-tools/:/opt/android-sdk/tools/:/opt/android-sdk/platform-tools/', 'XDG_VTNR': '1', 'HOME': '/home/pepper', 'paul': '6172753373', 'HG': '/usr/bin/hg', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/pepper/.Xauthority', 'SHLVL': '4', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-H6vXrKgpA9,guid=7f0aa2463d332ed5aff35eaf54c813a1', 'WINDOWPATH': '1', 'EDITOR': 'vim', 'JAVA_HOME': '/usr/lib/jvm/java-7-openjdk', 'ANDROID_SWT': '/usr/share/java', 'COLORTERM': 'gnome-terminal', 'dad': '6174598251', 'XDG_RUNTIME_DIR': '/run/user/1002', 'VTE_VERSION': '3603', 'INFINALITY_FT_FILTER_PARAMS': '06 22 36 22 06', 'ANDROID_HOME': '/opt/android-sdk', 'XDG_SESSION_ID': 'c1', 'DEVKITPRO': '/opt/devkitpro', '_': './waf', 'MOZ_PLUGIN_PATH': '/usr/lib/mozilla/plugins', 'VIMRUNTIME': '/usr/share/vim/vim74', 'GREP_OPTIONS': '--color=auto', 'DISPLAY': ':0', 'GTK_MODULES': 'canberra-gtk-module', 'INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH': '20', 'ANT_HOME': '/usr/share/apache-ant', 'VIM': '/usr/share/vim', 'PWD': '/home/pepper/LV2-render', 'calla': '3109381479', 'DEVKITPPC': '/opt/devkitpro/devkitPPC', 'MAIL': '/var/spool/mail/pepper', 'XDG_SEAT': 'seat0'} +environ = {'MYVIMRC': '/home/pepper/.vimrc', 'WINDOWID': '20971526', 'INFINALITY_FT_FRINGE_FILTER_STRENGTH': '50', 'INFINALITY_FT_USE_VARIOUS_TWEAKS': 'true', 'LOGNAME': 'pepper', 'USER': 'pepper', 'PATH': '/home/pepper/.gem/ruby/2.1.0/bin:/home/pepper/.gem/ruby/2.1.0/bin:/home/pepper/.gem/ruby/2.1.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/usr/firstscripts:/root/.gem/ruby/2.1.0/bin:/opt/android-sdk/build-tools/19.0.2/:/opt/android-sdk/platform-tools:/opt/android-sdk/tools:/opt/devkitpro/devkitPPC/bin:/opt/marytts/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/android-sdk/tools/:/opt/android-sdk/platform-tools/:/opt/android-sdk/tools/:/opt/android-sdk/platform-tools/:/opt/android-sdk/tools/:/opt/android-sdk/platform-tools/', 'XDG_VTNR': '1', 'HOME': '/home/pepper', 'paul': '6172753373', 'HG': '/usr/bin/hg', 'LANG': 'en_US.UTF-8', 'TERM': 'xterm-256color', 'SHELL': '/bin/bash', 'XAUTHORITY': '/home/pepper/.Xauthority', 'SHLVL': '4', 'DBUS_SESSION_BUS_ADDRESS': 'unix:abstract=/tmp/dbus-T6Au7f7Fl5,guid=81865062af681cd21891a50754cc5e26', 'WINDOWPATH': '1', 'EDITOR': 'vim', 'JAVA_HOME': '/usr/lib/jvm/java-7-openjdk', 'ANDROID_SWT': '/usr/share/java', 'COLORTERM': 'gnome-terminal', 'dad': '6174598251', 'XDG_RUNTIME_DIR': '/run/user/1002', 'VTE_VERSION': '3603', 'INFINALITY_FT_FILTER_PARAMS': '06 22 36 22 06', 'ANDROID_HOME': '/opt/android-sdk', 'XDG_SESSION_ID': 'c1', 'DEVKITPRO': '/opt/devkitpro', '_': './waf', 'MOZ_PLUGIN_PATH': '/usr/lib/mozilla/plugins', 'VIMRUNTIME': '/usr/share/vim/vim74', 'GREP_OPTIONS': '--color=auto', 'DISPLAY': ':0', 'GTK_MODULES': 'canberra-gtk-module', 'INFINALITY_FT_CHROMEOS_STYLE_SHARPENING_STRENGTH': '20', 'ANT_HOME': '/usr/share/apache-ant', 'VIM': '/usr/share/vim', 'PWD': '/home/pepper/LV2-render', 'calla': '3109381479', 'DEVKITPPC': '/opt/devkitpro/devkitPPC', 'MAIL': '/var/spool/mail/pepper', 'XDG_SEAT': 'seat0'} files = ['/home/pepper/LV2-render/wscript'] hash = '~\x8a\x88\x18\xd5\xff\\\xc7\x1e+Y\xf0\xa2hK\xb4' options = {'docdir': None, 'ultra_strict': False, 'force': False, 'verbose': 0, 'pardebug': False, 'destdir': '', 'no_jack_session': False, 'zones': '', 'prefix': '/usr/local/', 'download': False, 'grind': False, 'targets': '', 'configdir': None, 'mandir': None, 'nocache': False, 'progress_bar': 0, 'top': '', 'libdir': None, 'strict': False, 'datadir': None, 'lv2_user': False, 'out': '', 'check_cxx_compiler': 'g++ icpc', 'bindir': None, 'files': '', 'lv2_system': False, 'jobs': 4, 'docs': False, 'distcheck_args': None, 'no_qt': False, 'lv2dir': None, 'keep': 0, 'includedir': None, 'debug': False, 'check_c_compiler': 'gcc icc'} diff --git a/build/.wafpickle-linux2-34015472-98 b/build/.wafpickle-linux2-34015472-98 index 717554e..2b666ad 100644 Binary files a/build/.wafpickle-linux2-34015472-98 and b/build/.wafpickle-linux2-34015472-98 differ diff --git a/build/LV2-render b/build/LV2-render index e8d1e4b..ed51a9f 100755 Binary files a/build/LV2-render and b/build/LV2-render differ diff --git a/build/config.log b/build/config.log index ca2bb47..0d10f83 100644 --- a/build/config.log +++ b/build/config.log @@ -1,4 +1,4 @@ -# project LV2-render (1.4.6) configured on Tue Jan 27 18:12:10 2015 by +# project LV2-render (1.4.6) configured on Fri Jan 30 22:42:18 2015 by # waf 1.7.16 (abi 98, python 20708f0 on linux2) # using ./waf configure # @@ -10,18 +10,18 @@ Setting out to /home/pepper/LV2-render/build ---------------------------------------------------- Checking for 'gcc' (c compiler) -find program=['gcc', 'cc'] paths=['/home/pepper/.gem/ruby/2.1.0/bin', '/home/pepper/.gem/ruby/2.1.0/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/sbin', '/usr/sbin', '/sbin', '/usr/firstscripts', '/root/.gem/ruby/2.1.0/bin', '/opt/android-sdk/build-tools/19.0.2/', '/opt/android-sdk/platform-tools', '/opt/android-sdk/tools', '/opt/devkitpro/devkitPPC/bin', '/opt/marytts/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/'] var='CC' -> '/usr/bin/gcc' -find program=['ar'] paths=['/home/pepper/.gem/ruby/2.1.0/bin', '/home/pepper/.gem/ruby/2.1.0/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/sbin', '/usr/sbin', '/sbin', '/usr/firstscripts', '/root/.gem/ruby/2.1.0/bin', '/opt/android-sdk/build-tools/19.0.2/', '/opt/android-sdk/platform-tools', '/opt/android-sdk/tools', '/opt/devkitpro/devkitPPC/bin', '/opt/marytts/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/'] var='AR' -> '/usr/bin/ar' +find program=['gcc', 'cc'] paths=['/home/pepper/.gem/ruby/2.1.0/bin', '/home/pepper/.gem/ruby/2.1.0/bin', '/home/pepper/.gem/ruby/2.1.0/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/sbin', '/usr/sbin', '/sbin', '/usr/firstscripts', '/root/.gem/ruby/2.1.0/bin', '/opt/android-sdk/build-tools/19.0.2/', '/opt/android-sdk/platform-tools', '/opt/android-sdk/tools', '/opt/devkitpro/devkitPPC/bin', '/opt/marytts/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/'] var='CC' -> '/usr/bin/gcc' +find program=['ar'] paths=['/home/pepper/.gem/ruby/2.1.0/bin', '/home/pepper/.gem/ruby/2.1.0/bin', '/home/pepper/.gem/ruby/2.1.0/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/sbin', '/usr/sbin', '/sbin', '/usr/firstscripts', '/root/.gem/ruby/2.1.0/bin', '/opt/android-sdk/build-tools/19.0.2/', '/opt/android-sdk/platform-tools', '/opt/android-sdk/tools', '/opt/devkitpro/devkitPPC/bin', '/opt/marytts/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/'] var='AR' -> '/usr/bin/ar' /usr/bin/gcc ---------------------------------------------------- Checking for 'g++' (c++ compiler) -find program=['g++', 'c++'] paths=['/home/pepper/.gem/ruby/2.1.0/bin', '/home/pepper/.gem/ruby/2.1.0/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/sbin', '/usr/sbin', '/sbin', '/usr/firstscripts', '/root/.gem/ruby/2.1.0/bin', '/opt/android-sdk/build-tools/19.0.2/', '/opt/android-sdk/platform-tools', '/opt/android-sdk/tools', '/opt/devkitpro/devkitPPC/bin', '/opt/marytts/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/'] var='CXX' -> '/usr/bin/g++' +find program=['g++', 'c++'] paths=['/home/pepper/.gem/ruby/2.1.0/bin', '/home/pepper/.gem/ruby/2.1.0/bin', '/home/pepper/.gem/ruby/2.1.0/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/sbin', '/usr/sbin', '/sbin', '/usr/firstscripts', '/root/.gem/ruby/2.1.0/bin', '/opt/android-sdk/build-tools/19.0.2/', '/opt/android-sdk/platform-tools', '/opt/android-sdk/tools', '/opt/devkitpro/devkitPPC/bin', '/opt/marytts/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/'] var='CXX' -> '/usr/bin/g++' (tool ar is already loaded, skipping) /usr/bin/g++ ---------------------------------------------------- Checking for program pkg-config /usr/bin/pkg-config -find program=['pkg-config'] paths=['/home/pepper/.gem/ruby/2.1.0/bin', '/home/pepper/.gem/ruby/2.1.0/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/sbin', '/usr/sbin', '/sbin', '/usr/firstscripts', '/root/.gem/ruby/2.1.0/bin', '/opt/android-sdk/build-tools/19.0.2/', '/opt/android-sdk/platform-tools', '/opt/android-sdk/tools', '/opt/devkitpro/devkitPPC/bin', '/opt/marytts/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/'] var='PKGCONFIG' -> '/usr/bin/pkg-config' +find program=['pkg-config'] paths=['/home/pepper/.gem/ruby/2.1.0/bin', '/home/pepper/.gem/ruby/2.1.0/bin', '/home/pepper/.gem/ruby/2.1.0/bin', '/usr/local/bin', '/usr/bin', '/bin', '/usr/local/sbin', '/usr/sbin', '/sbin', '/usr/firstscripts', '/root/.gem/ruby/2.1.0/bin', '/opt/android-sdk/build-tools/19.0.2/', '/opt/android-sdk/platform-tools', '/opt/android-sdk/tools', '/opt/devkitpro/devkitPPC/bin', '/opt/marytts/bin', '/usr/bin/site_perl', '/usr/bin/vendor_perl', '/usr/bin/core_perl', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/', '/opt/android-sdk/tools/', '/opt/android-sdk/platform-tools/'] var='PKGCONFIG' -> '/usr/bin/pkg-config' ---------------------------------------------------- Checking for 'lv2' >= 1.8.1 ['/usr/bin/pkg-config', '--atleast-version=1.8.1', 'lv2'] diff --git a/build/jalv_qt4_meta.hpp b/build/jalv_qt4_meta.hpp deleted file mode 100644 index 2f33319..0000000 --- a/build/jalv_qt4_meta.hpp +++ /dev/null @@ -1,108 +0,0 @@ -/**************************************************************************** -** Meta object code from reading C++ file 'jalv_qt4.cpp' -** -** Created by: The Qt Meta Object Compiler version 67 (Qt 5.3.1) -** -** WARNING! All changes made in this file will be lost! -*****************************************************************************/ - -#include -#include -#if !defined(Q_MOC_OUTPUT_REVISION) -#error "The header file 'jalv_qt4.cpp' doesn't include ." -#elif Q_MOC_OUTPUT_REVISION != 67 -#error "This file was generated using the moc from 5.3.1. It" -#error "cannot be used with the include files from this version of Qt." -#error "(The moc has changed too much.)" -#endif - -QT_BEGIN_MOC_NAMESPACE -struct qt_meta_stringdata_PresetAction_t { - QByteArrayData data[3]; - char stringdata[27]; -}; -#define QT_MOC_LITERAL(idx, ofs, len) \ - Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ - qptrdiff(offsetof(qt_meta_stringdata_PresetAction_t, stringdata) + ofs \ - - idx * sizeof(QByteArrayData)) \ - ) -static const qt_meta_stringdata_PresetAction_t qt_meta_stringdata_PresetAction = { - { -QT_MOC_LITERAL(0, 0, 12), -QT_MOC_LITERAL(1, 13, 12), -QT_MOC_LITERAL(2, 26, 0) - }, - "PresetAction\0presetChosen\0" -}; -#undef QT_MOC_LITERAL - -static const uint qt_meta_data_PresetAction[] = { - - // content: - 7, // revision - 0, // classname - 0, 0, // classinfo - 1, 14, // methods - 0, 0, // properties - 0, 0, // enums/sets - 0, 0, // constructors - 0, // flags - 0, // signalCount - - // slots: name, argc, parameters, tag, flags - 1, 0, 19, 2, 0x0a /* Public */, - - // slots: parameters - QMetaType::Void, - - 0 // eod -}; - -void PresetAction::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) -{ - if (_c == QMetaObject::InvokeMetaMethod) { - PresetAction *_t = static_cast(_o); - switch (_id) { - case 0: _t->presetChosen(); break; - default: ; - } - } - Q_UNUSED(_a); -} - -const QMetaObject PresetAction::staticMetaObject = { - { &QAction::staticMetaObject, qt_meta_stringdata_PresetAction.data, - qt_meta_data_PresetAction, qt_static_metacall, 0, 0} -}; - - -const QMetaObject *PresetAction::metaObject() const -{ - return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; -} - -void *PresetAction::qt_metacast(const char *_clname) -{ - if (!_clname) return 0; - if (!strcmp(_clname, qt_meta_stringdata_PresetAction.stringdata)) - return static_cast(const_cast< PresetAction*>(this)); - return QAction::qt_metacast(_clname); -} - -int PresetAction::qt_metacall(QMetaObject::Call _c, int _id, void **_a) -{ - _id = QAction::qt_metacall(_c, _id, _a); - if (_id < 0) - return _id; - if (_c == QMetaObject::InvokeMetaMethod) { - if (_id < 1) - qt_static_metacall(this, _c, _id, _a); - _id -= 1; - } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { - if (_id < 1) - *reinterpret_cast(_a[0]) = -1; - _id -= 1; - } - return _id; -} -QT_END_MOC_NAMESPACE diff --git a/build/src/LV2-render.c.1.o b/build/src/LV2-render.c.1.o index bb37169..53b2f89 100644 Binary files a/build/src/LV2-render.c.1.o and b/build/src/LV2-render.c.1.o differ diff --git a/build/src/LV2-render_console.c.1.o b/build/src/LV2-render_console.c.1.o index eb9c2d1..2c494f0 100644 Binary files a/build/src/LV2-render_console.c.1.o and b/build/src/LV2-render_console.c.1.o differ diff --git a/build/src/jalv.c.1.o b/build/src/jalv.c.1.o deleted file mode 100644 index a7f67bf..0000000 Binary files a/build/src/jalv.c.1.o and /dev/null differ diff --git a/build/src/jalv.c.2.o b/build/src/jalv.c.2.o deleted file mode 100644 index 0fb8a75..0000000 Binary files a/build/src/jalv.c.2.o and /dev/null differ diff --git a/build/src/jalv.c.3.o b/build/src/jalv.c.3.o deleted file mode 100644 index 0fb8a75..0000000 Binary files a/build/src/jalv.c.3.o and /dev/null differ diff --git a/build/src/jalv.c.4.o b/build/src/jalv.c.4.o deleted file mode 100644 index 0fb8a75..0000000 Binary files a/build/src/jalv.c.4.o and /dev/null differ diff --git a/build/src/jalv.c.5.o b/build/src/jalv.c.5.o deleted file mode 100644 index 0c43428..0000000 Binary files a/build/src/jalv.c.5.o and /dev/null differ diff --git a/build/src/jalv.c.6.o b/build/src/jalv.c.6.o deleted file mode 100644 index 0fb8a75..0000000 Binary files a/build/src/jalv.c.6.o and /dev/null differ diff --git a/build/src/jalv_console.c.1.o b/build/src/jalv_console.c.1.o deleted file mode 100644 index 1cc8454..0000000 Binary files a/build/src/jalv_console.c.1.o and /dev/null differ diff --git a/build/src/log.c.1.o b/build/src/log.c.1.o index dd7dc96..6afce8b 100644 Binary files a/build/src/log.c.1.o and b/build/src/log.c.1.o differ diff --git a/build/src/log.c.2.o b/build/src/log.c.2.o deleted file mode 100644 index a22e698..0000000 Binary files a/build/src/log.c.2.o and /dev/null differ diff --git a/build/src/log.c.3.o b/build/src/log.c.3.o deleted file mode 100644 index a22e698..0000000 Binary files a/build/src/log.c.3.o and /dev/null differ diff --git a/build/src/log.c.4.o b/build/src/log.c.4.o deleted file mode 100644 index a22e698..0000000 Binary files a/build/src/log.c.4.o and /dev/null differ diff --git a/build/src/log.c.5.o b/build/src/log.c.5.o deleted file mode 100644 index 323d52b..0000000 Binary files a/build/src/log.c.5.o and /dev/null differ diff --git a/build/src/log.c.6.o b/build/src/log.c.6.o deleted file mode 100644 index a22e698..0000000 Binary files a/build/src/log.c.6.o and /dev/null differ diff --git a/build/src/lv2_evbuf.c.1.o b/build/src/lv2_evbuf.c.1.o index 407d490..8700cc4 100644 Binary files a/build/src/lv2_evbuf.c.1.o and b/build/src/lv2_evbuf.c.1.o differ diff --git a/build/src/lv2_evbuf.c.2.o b/build/src/lv2_evbuf.c.2.o deleted file mode 100644 index 407d490..0000000 Binary files a/build/src/lv2_evbuf.c.2.o and /dev/null differ diff --git a/build/src/lv2_evbuf.c.3.o b/build/src/lv2_evbuf.c.3.o deleted file mode 100644 index 407d490..0000000 Binary files a/build/src/lv2_evbuf.c.3.o and /dev/null differ diff --git a/build/src/lv2_evbuf.c.4.o b/build/src/lv2_evbuf.c.4.o deleted file mode 100644 index 407d490..0000000 Binary files a/build/src/lv2_evbuf.c.4.o and /dev/null differ diff --git a/build/src/lv2_evbuf.c.5.o b/build/src/lv2_evbuf.c.5.o deleted file mode 100644 index a391e56..0000000 Binary files a/build/src/lv2_evbuf.c.5.o and /dev/null differ diff --git a/build/src/lv2_evbuf.c.6.o b/build/src/lv2_evbuf.c.6.o deleted file mode 100644 index 407d490..0000000 Binary files a/build/src/lv2_evbuf.c.6.o and /dev/null differ diff --git a/build/src/midi/fluid_list.c.1.o b/build/src/midi/fluid_list.c.1.o index 654fc88..1f7b8f5 100644 Binary files a/build/src/midi/fluid_list.c.1.o and b/build/src/midi/fluid_list.c.1.o differ diff --git a/build/src/midi/fluid_list.c.2.o b/build/src/midi/fluid_list.c.2.o deleted file mode 100644 index 654fc88..0000000 Binary files a/build/src/midi/fluid_list.c.2.o and /dev/null differ diff --git a/build/src/midi/fluid_list.c.3.o b/build/src/midi/fluid_list.c.3.o deleted file mode 100644 index 654fc88..0000000 Binary files a/build/src/midi/fluid_list.c.3.o and /dev/null differ diff --git a/build/src/midi/fluid_list.c.4.o b/build/src/midi/fluid_list.c.4.o deleted file mode 100644 index 654fc88..0000000 Binary files a/build/src/midi/fluid_list.c.4.o and /dev/null differ diff --git a/build/src/midi/fluid_list.c.5.o b/build/src/midi/fluid_list.c.5.o deleted file mode 100644 index 6e6fe92..0000000 Binary files a/build/src/midi/fluid_list.c.5.o and /dev/null differ diff --git a/build/src/midi/fluid_list.c.6.o b/build/src/midi/fluid_list.c.6.o deleted file mode 100644 index 654fc88..0000000 Binary files a/build/src/midi/fluid_list.c.6.o and /dev/null differ diff --git a/build/src/midi/fluid_midi.c.1.o b/build/src/midi/fluid_midi.c.1.o index e42f80d..4203807 100644 Binary files a/build/src/midi/fluid_midi.c.1.o and b/build/src/midi/fluid_midi.c.1.o differ diff --git a/build/src/midi/fluid_midi.c.2.o b/build/src/midi/fluid_midi.c.2.o deleted file mode 100644 index e42f80d..0000000 Binary files a/build/src/midi/fluid_midi.c.2.o and /dev/null differ diff --git a/build/src/midi/fluid_midi.c.3.o b/build/src/midi/fluid_midi.c.3.o deleted file mode 100644 index e42f80d..0000000 Binary files a/build/src/midi/fluid_midi.c.3.o and /dev/null differ diff --git a/build/src/midi/fluid_midi.c.4.o b/build/src/midi/fluid_midi.c.4.o deleted file mode 100644 index e42f80d..0000000 Binary files a/build/src/midi/fluid_midi.c.4.o and /dev/null differ diff --git a/build/src/midi/fluid_midi.c.5.o b/build/src/midi/fluid_midi.c.5.o deleted file mode 100644 index b7170cc..0000000 Binary files a/build/src/midi/fluid_midi.c.5.o and /dev/null differ diff --git a/build/src/midi/fluid_midi.c.6.o b/build/src/midi/fluid_midi.c.6.o deleted file mode 100644 index e42f80d..0000000 Binary files a/build/src/midi/fluid_midi.c.6.o and /dev/null differ diff --git a/build/src/midi/midi_loader.c.1.o b/build/src/midi/midi_loader.c.1.o index df2f558..38290b0 100644 Binary files a/build/src/midi/midi_loader.c.1.o and b/build/src/midi/midi_loader.c.1.o differ diff --git a/build/src/midi/midi_loader.c.2.o b/build/src/midi/midi_loader.c.2.o deleted file mode 100644 index df2f558..0000000 Binary files a/build/src/midi/midi_loader.c.2.o and /dev/null differ diff --git a/build/src/midi/midi_loader.c.3.o b/build/src/midi/midi_loader.c.3.o deleted file mode 100644 index df2f558..0000000 Binary files a/build/src/midi/midi_loader.c.3.o and /dev/null differ diff --git a/build/src/midi/midi_loader.c.4.o b/build/src/midi/midi_loader.c.4.o deleted file mode 100644 index df2f558..0000000 Binary files a/build/src/midi/midi_loader.c.4.o and /dev/null differ diff --git a/build/src/midi/midi_loader.c.5.o b/build/src/midi/midi_loader.c.5.o deleted file mode 100644 index 80c1b34..0000000 Binary files a/build/src/midi/midi_loader.c.5.o and /dev/null differ diff --git a/build/src/midi/midi_loader.c.6.o b/build/src/midi/midi_loader.c.6.o deleted file mode 100644 index df2f558..0000000 Binary files a/build/src/midi/midi_loader.c.6.o and /dev/null differ diff --git a/build/src/state.c.1.o b/build/src/state.c.1.o index 3712307..a0630fb 100644 Binary files a/build/src/state.c.1.o and b/build/src/state.c.1.o differ diff --git a/build/src/state.c.2.o b/build/src/state.c.2.o deleted file mode 100644 index 16a6804..0000000 Binary files a/build/src/state.c.2.o and /dev/null differ diff --git a/build/src/state.c.3.o b/build/src/state.c.3.o deleted file mode 100644 index 16a6804..0000000 Binary files a/build/src/state.c.3.o and /dev/null differ diff --git a/build/src/state.c.4.o b/build/src/state.c.4.o deleted file mode 100644 index 16a6804..0000000 Binary files a/build/src/state.c.4.o and /dev/null differ diff --git a/build/src/state.c.5.o b/build/src/state.c.5.o deleted file mode 100644 index 1658601..0000000 Binary files a/build/src/state.c.5.o and /dev/null differ diff --git a/build/src/state.c.6.o b/build/src/state.c.6.o deleted file mode 100644 index 16a6804..0000000 Binary files a/build/src/state.c.6.o and /dev/null differ diff --git a/build/src/symap.c.1.o b/build/src/symap.c.1.o index 8c9c0f0..7072f36 100644 Binary files a/build/src/symap.c.1.o and b/build/src/symap.c.1.o differ diff --git a/build/src/symap.c.2.o b/build/src/symap.c.2.o deleted file mode 100644 index 8c9c0f0..0000000 Binary files a/build/src/symap.c.2.o and /dev/null differ diff --git a/build/src/symap.c.3.o b/build/src/symap.c.3.o deleted file mode 100644 index 8c9c0f0..0000000 Binary files a/build/src/symap.c.3.o and /dev/null differ diff --git a/build/src/symap.c.4.o b/build/src/symap.c.4.o deleted file mode 100644 index 8c9c0f0..0000000 Binary files a/build/src/symap.c.4.o and /dev/null differ diff --git a/build/src/symap.c.5.o b/build/src/symap.c.5.o deleted file mode 100644 index 03e1f68..0000000 Binary files a/build/src/symap.c.5.o and /dev/null differ diff --git a/build/src/symap.c.6.o b/build/src/symap.c.6.o deleted file mode 100644 index 8c9c0f0..0000000 Binary files a/build/src/symap.c.6.o and /dev/null differ diff --git a/build/src/worker.c.1.o b/build/src/worker.c.1.o index 9c9fafb..efbb6e1 100644 Binary files a/build/src/worker.c.1.o and b/build/src/worker.c.1.o differ diff --git a/build/src/worker.c.2.o b/build/src/worker.c.2.o deleted file mode 100644 index dc7e745..0000000 Binary files a/build/src/worker.c.2.o and /dev/null differ diff --git a/build/src/worker.c.3.o b/build/src/worker.c.3.o deleted file mode 100644 index dc7e745..0000000 Binary files a/build/src/worker.c.3.o and /dev/null differ diff --git a/build/src/worker.c.4.o b/build/src/worker.c.4.o deleted file mode 100644 index dc7e745..0000000 Binary files a/build/src/worker.c.4.o and /dev/null differ diff --git a/build/src/worker.c.5.o b/build/src/worker.c.5.o deleted file mode 100644 index fec4cc8..0000000 Binary files a/build/src/worker.c.5.o and /dev/null differ diff --git a/build/src/worker.c.6.o b/build/src/worker.c.6.o deleted file mode 100644 index dc7e745..0000000 Binary files a/build/src/worker.c.6.o and /dev/null differ diff --git a/src/LV2-render.c b/src/LV2-render.c index d909099..490f1ae 100644 --- a/src/LV2-render.c +++ b/src/LV2-render.c @@ -78,6 +78,7 @@ #include "midi/midi_loader.h" #include "midi/fluidsynth_priv.h" +#define DEBUG 0 int min(int x, int y) { return (x < y) ? x : y; @@ -139,12 +140,7 @@ int process_midi_cb(fluid_midi_event_t *event, size_t msecs, process_midi_ctx_t /* convert msecs */ nframes = msecs * ctx->sample_rate / 1000; -// ok let's try this -// hmm still nothing, well only thing left is ui, but i have doubt about that. i guess need to start from original jalv, and keep moving new parts of code there til it breaks, looks like it still has something that amsynth needs -//another option might be keeping jalv code as original as possible, only thing we change is jack callback, so it would still need running jack, but intead of jack process callback we will call own callback which send events manually and get output. (maybe calling jacK_process_cb once to get atom send once). -// -//how does this work? well need to construct it same way as jalv did, then send it - /* Get Jack transport position */ +//TODO maybe just get rid of this stuff //ORIGINAL-> sending to evbuf: frame: 13136896, rolling: 1.000000, calc: -1, bar: 0, beat_type: 1146875112, bpb: 1184130760, bpm: 0: need valid if: -787014688 const bool rolling = 1; @@ -160,19 +156,6 @@ int process_midi_cb(fluid_midi_event_t *event, size_t msecs, process_midi_ctx_t lv2_atom_forge_long(forge, 13136896); lv2_atom_forge_key(forge, jalv->urids.time_speed); lv2_atom_forge_float(forge, rolling ? 1.0 : 0.0); -/*if (pos.valid & JackPositionBBT) { - lv2_atom_forge_key(forge, jalv->urids.time_barBeat); - lv2_atom_forge_float( - forge, pos.beat - 1 + (pos.tick / pos.ticks_per_beat)); - lv2_atom_forge_key(forge, jalv->urids.time_bar); - lv2_atom_forge_long(forge, pos.bar - 1); - lv2_atom_forge_key(forge, jalv->urids.time_beatUnit); - lv2_atom_forge_int(forge, pos.beat_type); - lv2_atom_forge_key(forge, jalv->urids.time_beatsPerBar); - lv2_atom_forge_float(forge, pos.beats_per_bar); - lv2_atom_forge_key(forge, jalv->urids.time_beatsPerMinute); - lv2_atom_forge_float(forge, pos.beats_per_minute); - }*/ if (jalv->opts.dump) { char* str = sratom_to_turtle( @@ -188,12 +171,6 @@ int process_midi_cb(fluid_midi_event_t *event, size_t msecs, process_midi_ctx_t jalv->bpm = 120.0; //pos.beats_per_minute; jalv->rolling = rolling; -// -//should we run this now? not yet, not sure yet what to do with bpm and frame -//where do we send it? here -//and when was lst time it worked, before changes here, or after too? still works, just with a different plugin (the other one we were testing). no changes really -// except that loop that tests for which audio ports are output ports, and taking streams from them. but the thing is, it seems like no audio is coming out of the plugin -// /* Prepare port buffers */ for (uint32_t p = 0; p < jalv->num_ports; ++p) { @@ -208,8 +185,10 @@ int process_midi_cb(fluid_midi_event_t *event, size_t msecs, process_midi_ctx_t pluginAudioPtrs[pluginAudioOutputCount] = pluginAudioIOBuffers[p]; pluginAudioOutputCount++; - printf("pluginAudioOutputCount: %d\n", pluginAudioOutputCount); - printf("buffer %x ptr: %8x\n", p, pluginAudioIOBuffers[p]); + if(DEBUG){ + printf("pluginAudioOutputCount: %d\n", pluginAudioOutputCount); + printf("buffer %x ptr: %8x\n", p, pluginAudioIOBuffers[p]); + } } } else if (port->type == TYPE_EVENT && port->flow == FLOW_INPUT) { lv2_evbuf_reset(port->evbuf, true); @@ -253,8 +232,6 @@ int process_midi_cb(fluid_midi_event_t *event, size_t msecs, process_midi_ctx_t /* First, write all the obvious channels */ /* If outs > nchannels, we *could* do mixing - but don't. */ //actually you need another for loop in here for 10 channel wavs -// sf_output[i * nchannels + 0] = pluginAudioIOBuffers[3][i]; -// sf_output[i * nchannels + 1] = pluginAudioIOBuffers[4][i]; for (size_t n = 0; n < pluginAudioOutputCount; n++){ sf_output[i * nchannels + n] = pluginAudioPtrs[n][i]; } @@ -404,10 +381,6 @@ create_port(Jalv* jalv, } else if (!optional) { die("Mandatory port has unknown type (neither input nor output)"); } -//ORIGINALjalv.sample_rate: 48000 -//we should add these? yeah -//ORIGINALjalv.block_length: 1024 -//ORIGINALjalv midi_buf_size: 8000 /* Set control values */ if (lilv_port_is_a(jalv->plugin, port->lilv_port, jalv->nodes.lv2_ControlPort)) { @@ -596,12 +569,10 @@ main(int argc, char** argv) memset(&jalv, '\0', sizeof(Jalv)); jalv.prog_name = argv[0]; - jalv.block_length = 1024; //doesn't look like we use this though, right? looks so FIXME try removing - jalv.midi_buf_size = 0x8000; //should I try running it? not yet - //jalv.midi_buf_size = 1024; + jalv.block_length = 1024; //FIXME try removing + jalv.midi_buf_size = 0x8000; jalv.play_state = JALV_PAUSED; - //FIXME pass bpm - jalv.bpm = 120.0f; //oh probably we don't even use this bpm, right? coul dbe + jalv.bpm = 120.0f; //TODO experiment with this if (jalv_init(&argc, &argv, &jalv.opts)) { @@ -616,6 +587,10 @@ main(int argc, char** argv) jalv.opts.outfile = (char *)malloc(256);// strcpy(jalv.opts.outfile, "output.wav"); } + if(!jalv.opts.infile){ + jalv.opts.infile = (char *)malloc(256);// + strcpy(jalv.opts.infile, "test.mid"); + } if (! jalv.opts.sample_rate){ jalv.opts.sample_rate = 48000; @@ -839,11 +814,8 @@ main(int argc, char** argv) /* Create thread and ringbuffers for worker if necessary */ if (lilv_plugin_has_feature(jalv.plugin, jalv.nodes.work_schedule) // can we check if amsynth has this work_schedule feature? hmm yeah we should check via LV2-render, right? yeah && lilv_plugin_has_extension_data(jalv.plugin, jalv.nodes.work_interface)) { -// jalv_worker_init( - // &jalv, &jalv.worker, - // (const LV2_Worker_Interface*)lilv_instance_get_extension_data( - // jalv.instance, LV2_WORKER__interface)); - printf("NEED WORKER!\n"); //extension data test too? yeah I guess not ok let's see what else + printf("NEEDS TO USE A WORKER!\n"); + exit(1); } ext_data.data_access = lilv_instance_get_descriptor(jalv.instance)->extension_data; @@ -873,7 +845,6 @@ main(int argc, char** argv) lilv_instance_activate(jalv.instance); -//FIXME get sample rate from above...right? yes jalv.sample_rate = jalv.opts.sample_rate; jalv.play_state = JALV_RUNNING; @@ -887,10 +858,7 @@ main(int argc, char** argv) process_midi_ctx.outfile = outfile; process_midi_ctx.sample_rate = sample_rate; - load_midi_file("short_example.mid", (read_midi_callback)process_midi_cb, &process_midi_ctx); -// -//STUDY LATER - + load_midi_file(jalv.opts.infile, (read_midi_callback)process_midi_cb, &process_midi_ctx); sf_close(outfile); diff --git a/src/LV2-render_console.c b/src/LV2-render_console.c index 90e5c4a..b255037 100644 --- a/src/LV2-render_console.c +++ b/src/LV2-render_console.c @@ -17,9 +17,10 @@ print_usage(const char* name, bool error) fprintf(os, "Usage: %s [OPTION...] PLUGIN_URI\n", name); fprintf(os, "Render a midi file with an LV2 plugin instrument.\n"); fprintf(os, " -h Display this help and exit\n"); + fprintf(os, " -i STRING filename for midi input (DEFAULT=test.mid)\n"); + fprintf(os, " -o STRING filename for wavfile output (DEFAULT=output.wav)\n"); fprintf(os, " -p Print control output changes to stdout\n"); fprintf(os, " -c SYM=VAL Set control value (e.g. \"vol=1.4\")\n"); - fprintf(os, " -F STRING filename for wavfile output (DEFAULT=output.wav)\n"); fprintf(os, " -C NUM Integer number of channels for output, e.g. 2 (DEFAULT=2)\n"); fprintf(os, " -S NUM Integer sample rate of output, e.g. 44100 (DEFAULT=48000)\n"); fprintf(os, " -l DIR Load state from save directory\n"); @@ -76,12 +77,18 @@ jalv_init(int* argc, char*** argv, JalvOptions* opts) return 1; } opts->sample_rate = atoi((*argv)[a]); - } else if ((*argv)[a][1] == 'F') { + } else if ((*argv)[a][1] == 'i') { if (++a == *argc) { - fprintf(stderr, "Missing argument for -F\n"); + fprintf(stderr, "Missing argument for -i\n"); return 1; } - opts->outfile = (*argv)[a]; //is this wrong? not really + opts->infile = (*argv)[a]; + } else if ((*argv)[a][1] == 'o') { + if (++a == *argc) { + fprintf(stderr, "Missing argument for -o\n"); + return 1; + } + opts->outfile = (*argv)[a]; } else if ((*argv)[a][1] == 'd') { opts->dump = true; } else { diff --git a/src/LV2-render_internal.h b/src/LV2-render_internal.h index 92be2f9..3cea889 100644 --- a/src/LV2-render_internal.h +++ b/src/LV2-render_internal.h @@ -83,6 +83,7 @@ typedef struct { int nchannels; /// int sample_rate; /// char* outfile; // + char* infile; // } JalvOptions; typedef struct { diff --git a/src/midi/NOTES b/src/midi/NOTES deleted file mode 100644 index 4bd7b67..0000000 --- a/src/midi/NOTES +++ /dev/null @@ -1,84 +0,0 @@ - - //unsigned long nevents; weird...so the plugin must know about previous notes that are pressed? yes for each call run_synth it should know about note which are currently pressed. oh but there isn't any place to indicate that? seems like we just need - //to keep track of how many notes are currently running and pass it an unsigned long that has that count, but aside from that, - //it just takes note_on and note_off structs, which refer to only one note at a time? not really, - //so in C to pass an array we have to use two variables onw is a pointer to data, another is number of elements in that array. so run_synth is one of such functions, and if you have two notes pressed you send array of size 2, storing two elements nearby in memory and setting nevents to 2. got it, so current_event isn't a pointer to a struct, it's a pointer to an array of event structs, most likely? yes -// -//so what do we do next? we need to construct this array of currently pressed notes, so need to check events and try to construc this. - - - - -//ok moving on...I did a bit of research about midi types...basically the reason mrswatson only supports type0 midi is that -//the idea behind type0 midi is that it is single-channel. Here channel is a bit of a confusing word, because there is also such a thing as an audio channel, obviously -//but the two are completely unrelated. Channel is like a track in multitrack recording, type0 midi only has one of these tracks, but potentially has program -//changes within it (program change is just a change of voice). so what we're working on here only handles single channel midi as well, and that's good. -//Only thing to think about is, if we abstract our loop to process the note events in the channel, rather than the note events in the entire file (unfortunately confusing -//terminology again, because in midifiles, the entire file is called a "track"). But this is basically the situation. -// -//Midi events come in a few different types, but basically there are three types that are important -// -//meta type events -// -//channel events (events particular to a single channel) -// -//track events (events that apply to every channel) -// -//so meta type events are sort of special events, -// -//channel events and track events are more like "regular" events.... -// -//do you follow so far? yep -// -// -// -//So the main question to ask you is, since we are iterating through all events, how do we handle multiple channels? we have the option to do what mrswatson has done -//which is to read the midi file type from the header and end in error if it is anything but type0, or we can sort of process the channels individually in the sense that we send appropriate info to the plugin, telling it which channel it is intended for. Most plugins though don't care about multiple channels -// -//another option, more related to the first is to write a simple script (or find one) that separates out multi-channel midi into individual type0 files. -// -//so with multi channel files, if events are sorted by time in file, then we can just send them all at once as it was one channel, so plugin will produce resulting file. -//if that's the plan, I guess we should check to make sure that dssi doesn't support multiple channels, because if it does, maybe we should tell the plugin which channel each event is intended for? i think snd_seq_event_t has that filed for channel, so we just need to copy that info there. -// -// -// -//ok do we break now? seems a bit late yeah, so basically what is left to do is to write it from pseudo code to real code of this function, add pritngin to see how it works and if there is any bugs to fix them. -//ok then make this into a module, add it to cli-dssi-host and change cli-dssi-host source to deal with this loop? yep. got it. maybe we can look into this tomorrow morning? sure ok perfect - - - - //ok so what were you thinking here? - //ok and finally that run_synth need array which is not sparse, where elements are without spaces, so either you rebuild - //new array every time you call run_synth, or keep elements together and use find function to locate a note. find function - //sounds best, either way, do we need two arrays? no need - - //with this, can I assign sparsely to it, if I want to put the notes[100] = 4; , will that cause an error? - //so first is that you need to put size of memory you use in malloc, not e lemtns, like that, right? yep - //second is that we need snd_seq_event_t intead of ints. I was just thinking that if the note is pressed, it wouldn - //have a value , if not it wouldn't so it would be an easy way to keep track of which are pressed or not? hmm sort of short lookup arraly, might work if built properly. ok well I don't know if that's right I'll make another array -//question is, if we're sending a list, and a NOTE_ON and NOTE_OFF must be removed from the list once it has been already processed, how do we access those elements? by note name somehow? yeah need to track each note on\off pair. -//no clue how to do this in C, easy in any other language, just use an associative array -//right in C it turns into function which finds an element in array. how big should our array be? do we use the heap here? ideally we need to use it, but guess we can limit number of notes which are pressed at same time, like 100 or so should be plently there are only so many midi notes, I'll get the count 128 that should be the limit good, try write with heap functions, might be useful to see how to work with it. well could I just - - - - - //so what does this return exactly? so then event arrives we need to try find note if it was pressed or not. - //so basically whole logic of get_events function is: - // - //snd_seq_event_t event = convert_event(fluid_midi_event_t); - //event_in_table = find_event(&event); - //switch(event->type ){ - // case NOTE_ON: - // if(event_in_table) return; // skip if pressed while still was pressed, shouldn't happen...I think it just gets pressed again, but both are deleted on the note_off, does that make sense? hmm might be, but that change a logic a bit - // yeah something like this. so basic idea is clear or not really? yeah it's clear, just too advanced for me - // to come up with on my own right now given my current skills with C, it's coming along fast though well it's simple then written in perl or somethng else, just showing how c does the same things. so now need to implement those functions ok - // insert_event(event); - // run_synth(); - // - // case NOTE_OFF: - // replace_events(event_in_table,event) - // run_synth() - // delete_events(event); - // - //} diff --git a/src/midi/example.mid b/src/midi/example.mid deleted file mode 100644 index 328d6ef..0000000 Binary files a/src/midi/example.mid and /dev/null differ diff --git a/src/midi/example1.mid b/src/midi/example1.mid deleted file mode 100644 index 2fa1b91..0000000 Binary files a/src/midi/example1.mid and /dev/null differ diff --git a/src/midi/example2.mid b/src/midi/example2.mid deleted file mode 100644 index bf3bfc0..0000000 Binary files a/src/midi/example2.mid and /dev/null differ diff --git a/src/midi/fluid_midi.c b/src/midi/fluid_midi.c index 062ba3c..618aca3 100644 --- a/src/midi/fluid_midi.c +++ b/src/midi/fluid_midi.c @@ -1,10 +1,7 @@ #include "fluid_midi.h" #include -//#include "fluid_sys.h" -//#include "fluid_synth.h" -//#include "fluid_settings.h" - +#define DEBUG 0 int fluid_log(int level, const char* fmt, ...) { @@ -62,7 +59,6 @@ new_fluid_midi_file(const char* buffer, size_t length) } return mf; } -//ok how do you usually create a file_pointer in this case? with fopen FILE READ do you think we can just try this function directly with fopen? yes, fluid_file i think is just FILE * returned by fopen, so code will be fopen, fluid_file_read_full and then new_fluid_midi_file. static char* fluid_file_read_full(fluid_file fp, size_t* length) @@ -213,7 +209,6 @@ int fluid_midi_file_eof(fluid_midi_file* mf) /* * fluid_midi_file_read_mthd */ -//it's actually does all the work inside new_fluid_midi_file function to read file and get all events allocated and set, so now we just need to print those. int fluid_midi_file_read_mthd(fluid_midi_file *mf) { @@ -238,7 +233,7 @@ fluid_midi_file_read_mthd(fluid_midi_file *mf) return FLUID_FAILED; } else { mf->uses_smpte = 0; - mf->division = (mthd[12] << 8) | (mthd[13] & 0xff); //division is in the header for the midi file, he gets the value here. do we have access to it in custom.c? looks like player have also current time in milliseconds too, in addition to ticks, we can try to just use those. ok good. so the player is doing the parsing, we're just + mf->division = (mthd[12] << 8) | (mthd[13] & 0xff); FLUID_LOG(FLUID_DBG, "Division=%d", mf->division); } @@ -421,7 +416,6 @@ fluid_midi_file_read_varlen(fluid_midi_file *mf) /* * fluid_midi_file_read_event */ -//could be this, right...it only takes the file and the track as args int fluid_midi_file_read_event(fluid_midi_file *mf, fluid_track_t *track) { @@ -760,7 +754,7 @@ fluid_midi_file_get_division(fluid_midi_file *midifile) */ /** - * MIDI EVENT DEFINED HERE...do we need to figure out exactly how this ties in to cli-dssi-host next? not yet, for now we need working midi loading from file and listing events according to each time sample. should we write a print event function? yeah in main() custom.c + * MIDI EVENT DEFINED HERE * Create a MIDI event structure. * @return New MIDI event structure or NULL when out of memory. */ @@ -1183,7 +1177,7 @@ fluid_track_reset(fluid_track_t *track) */ int fluid_track_send_events(fluid_track_t *track, - fluid_synth_t *synth, //will the null pointer cause an error here? nope, will work //doesn't use it? here... I guess not + fluid_synth_t *synth, fluid_player_t *player, unsigned int ticks) { @@ -1197,10 +1191,6 @@ fluid_track_send_events(fluid_track_t *track, return status; } -//ok it should be printing here, right? well need to check flow again, starting from load_tracks if it reach this function or not -//do we decide now to just listen for note on and note off, and keep track of the two? yep -//run_synth also takes velocity, so maybe we should add that as well? i guess so - if (track->ticks + event->dtime > ticks) { return status; } @@ -1233,7 +1223,6 @@ fluid_track_send_events(fluid_track_t *track, * @param synth fluid synthesizer instance to create player for * @return New MIDI player instance or NULL on error (out of memory) */ -//ok how do we call new_fluid_player with the filename of the midifile? wmayeb call fluid_player_load() with file name fluid_player_t * new_fluid_player(void) { @@ -1261,7 +1250,6 @@ new_fluid_player(void) player->deltatime = 4.0; player->cur_msec = 0; player->cur_ticks = 0; - // FIXME fluid_player_set_playback_callback(player, fluid_synth_handle_midi_event, synth); // player->use_system_timer = fluid_settings_str_equal(synth->settings, // "player.timing-source", "system"); @@ -1335,9 +1323,6 @@ fluid_player_reset(fluid_player_t *player) player->track[i] = NULL; } } - /* player->current_file = NULL; */ - /* player->status = FLUID_PLAYER_READY; */ - /* player->loop = 1; */ player->ntracks = 0; player->division = 0; player->send_program_change = 1; @@ -1465,8 +1450,9 @@ fluid_player_add_mem(fluid_player_t* player, const void *buffer, size_t len) int fluid_player_load(fluid_player_t *player, fluid_playlist_item *item) { - puts("inside fluid player load"); - //ok do you think this is the function we need to check? well i found it, this long printf i uncommented wasn't used, we need to use fluid_track_send_events inside loop over loaded tracks to actually send events into our callback. ok + if (DEBUG){ + puts("inside fluid player load"); + } fluid_midi_file *midifile; char* buffer; size_t buffer_length; @@ -1502,7 +1488,6 @@ fluid_player_load(fluid_player_t *player, fluid_playlist_item *item) /* Do not free the buffer (it is owned by the playlist) */ buffer_owned = 0; } -// here file midifile = new_fluid_midi_file(buffer, buffer_length); if (midifile == NULL) { if (buffer_owned) { @@ -1514,7 +1499,6 @@ fluid_player_load(fluid_player_t *player, fluid_playlist_item *item) //DIVISION SET HERE fluid_player_set_midi_tempo(player, player->miditempo); // Update deltatime /*FLUID_LOG(FLUID_DBG, "quarter note division=%d\n", player->division); */ -// here it load tracks if (fluid_midi_file_load_tracks(midifile, player) != FLUID_OK) { if (buffer_owned) { FLUID_FREE(buffer); @@ -1574,10 +1558,6 @@ fluid_player_playlist_load(fluid_player_t *player, unsigned int msec) player->start_ticks = 0; player->cur_ticks = 0; -// if (player->reset_synth_between_songs) { -// fluid_synth_system_reset(player->synth); -// } - for (i = 0; i < player->ntracks; i++) { if (player->track[i] != NULL) { fluid_track_reset(player->track[i]); @@ -1589,8 +1569,6 @@ fluid_player_playlist_load(fluid_player_t *player, unsigned int msec) /* * fluid_player_callback */ -//ok so I guess it all starts here? not sure, new_fluid_player starts a new player struct, then we need fluid_player_load(player, playlist_item) -//and playlist_item have filename of file to load got it int fluid_player_callback(void *data, unsigned int msec) { @@ -1733,8 +1711,6 @@ int fluid_player_set_loop(fluid_player_t *player, int loop) int fluid_player_set_midi_tempo(fluid_player_t *player, int tempo) { player->miditempo = tempo; - //DIVISION CALCULATION MADE HERE - //USE THIS TO FIX MRS WATSON player->deltatime = (double) tempo / player->division / 1000.0; /* in milliseconds */ player->start_msec = player->cur_msec; player->start_ticks = player->cur_ticks; diff --git a/src/midi/fluid_midi.h b/src/midi/fluid_midi.h index 608ba55..af83873 100644 --- a/src/midi/fluid_midi.h +++ b/src/midi/fluid_midi.h @@ -22,8 +22,6 @@ #define _FLUID_MIDI_H #include "fluidsynth_priv.h" -//#include "fluid_sys.h" -//#include "custom.h" #include "fluid_list.h" #include #include @@ -322,13 +320,10 @@ fluid_track_t* fluid_player_get_track(fluid_player_t* player, int i); int fluid_player_reset(fluid_player_t* player); int fluid_player_load(fluid_player_t* player, fluid_playlist_item *item); -//void fluid_player_settings(fluid_settings_t* settings); - /* * fluid_midi_file */ -//hmm no events though here, right? looks so typedef struct { const char* buffer; /* Entire contents of MIDI file (borrowed) */ int buf_len; /* Length of buffer, in bytes */ diff --git a/src/midi/midi_loader.c b/src/midi/midi_loader.c index 2cdd539..98cfe21 100644 --- a/src/midi/midi_loader.c +++ b/src/midi/midi_loader.c @@ -1,9 +1,12 @@ #include "midi_loader.h" +#define DEBUG 0 //static int event_count = 0; size_t last_msec = 0; size_t nmsecs_since_last = 0; + + void print_event(fluid_midi_event_t *event, size_t current_msec){ // {{{ DESCRIPTION // fluid_midi_event_t* next; /* Link to next event */ @@ -14,14 +17,15 @@ void print_event(fluid_midi_event_t *event, size_t current_msec){ // unsigned char type; /* MIDI event type */ // unsigned char channel; /* MIDI channel */ //}}} -// printf("EVENT_COUNT: %d\n", event_count); - printf("dtime:%u ", event->dtime); - printf("param1:%u ", event->param1); - printf("param2: %u ", event->param2); - printf("type: %x ", event->type); - printf("channel: %u ", event->channel); - printf("nframe: %u ", current_msec); - puts("\n"); + if(DEBUG){ + printf("dtime:%u ", event->dtime); + printf("param1:%u ", event->param1); + printf("param2: %u ", event->param2); + printf("type: %x ", event->type); + printf("channel: %u ", event->channel); + printf("nframe: %u ", current_msec); + puts("\n"); + } } int get_events(void *data, fluid_midi_event_t *event){ @@ -32,16 +36,12 @@ int get_events(void *data, fluid_midi_event_t *event){ read_midi_callback cb = ctx->callback; size_t current_msec; -// event_count++; current_msec = (player->deltatime * track->ticks); nmsecs_since_last = current_msec - last_msec; last_msec = current_msec; -// print_event(event, current_msec); //process_midi_cb execution... - cb(event, nmsecs_since_last, ctx->callback_userdata); // seems good, check the output ok -//ok I'm going to study this, make a git back it up clean it up etc tomorrow, but I think I understand. this is -//definitely coming along. thanks so much for the help no problems alright awesome, I'll talk to you and send you a payment again soon thanks again + cb(event, nmsecs_since_last, ctx->callback_userdata); } void load_midi_file(char *filename, read_midi_callback callback, void *callback_userdata){ diff --git a/src/midi/midi_loader.h b/src/midi/midi_loader.h index 57cee25..5b901d6 100644 --- a/src/midi/midi_loader.h +++ b/src/midi/midi_loader.h @@ -2,13 +2,12 @@ #define MIDI_LOADER_H #include "fluid_list.h" -#include "fluidsynth_priv.h" //is this the right idea? just need to load libs in the right order? yep +#include "fluidsynth_priv.h" #include "fluid_midi.h" #include #include #include #include -//load all of those in the same way as below? or is the problem with how fluid_midi is accessing this file? yeah basically order issue typedef struct event_table_t{ @@ -18,11 +17,8 @@ typedef struct event_table_t{ size_t nframes_since_last; } event_table_t; -//typedef void(*read_midi_callback)(event_table_t *event_table, void *userdata); typedef void(*read_midi_callback)(fluid_midi_event_t *event, size_t msecs_since_last, void *userdata); - - typedef struct read_midi_ctx_t { fluid_player_t *player; fluid_track_t *track; @@ -30,17 +26,6 @@ typedef struct read_midi_ctx_t { void *callback_userdata; } read_midi_ctx_t; - -//void insert_event(event_table_t *event_table, snd_seq_event_t *event){ -//void delete_event(event_table_t *event_table, snd_seq_event_t *event){ -//int compare_events(snd_seq_event_t *event1, snd_seq_event_t *event2){ -//void replace_events(event_table_t *event_table, snd_seq_event_t *event){ -//like this? -//void convert_event_format(fluid_midi_event_t *from, snd_seq_event_t *to); -//void print_snd_seq_event(snd_seq_event_t *event); -//void print_event_table (event_table_t *event_table); -//int get_events(void *data, fluid_midi_event_t *event); - void print_snd_seq_event(snd_seq_event_t *event); void load_midi_file(char *filename, read_midi_callback callback, void *callback_userdata); #endif diff --git a/src/midi/midi_loader_test.c b/src/midi/midi_loader_test.c index d79392d..4ed7d39 100644 --- a/src/midi/midi_loader_test.c +++ b/src/midi/midi_loader_test.c @@ -178,7 +178,7 @@ int get_events(void *data, fluid_midi_event_t *event){ snd_seq_event_t seq_event; size_t last_nframe = event_table->last_nframe; - event_table->last_nframe = (player->deltatime * track->ticks) * 44100 / 1000; // FIXME 44100 to ctx->samplerate + event_table->last_nframe = (player->deltatime * track->ticks) * 44100 / 1000; event_table->nframes_since_last = event_table->last_nframe - last_nframe; convert_event_format(event, &seq_event); -- cgit v1.2.3-70-g09d2