Git Product home page Git Product logo

zyn-fusion-build's Introduction

Zyn-Fusion Build Scripts

These are the build scripts used to generate the Zyn-Fusion packages.

These build scripts (and only these build scripts) are licensed under the WTFPL.


Fetch repositories

You need to fetch this repo first (if you're using Windows, see below for how to do it).

git clone https://github.com/zynaddsubfx/zyn-fusion-build zyn-fusion-build
cd zyn-fusion-build

How to build

Zyn-Fusion now uses Makefile. Each platform has a corresponding Makefile (Makefile.<platform>.mk):

Makefile Target platform (Where Zyn runs) Host platform (where compilers run)
Makefile.linux.mk Linux (native build) Linux
Makefile.windows.mk Windows Linux (cross compile)
Makefile.mingw64.mk Windows Msys2 Mingw-w64 64 bit

Since they are not in the default Makefile name, you need to explicitly specify them via parameter-f when invoking make.

Makefiles will automatically download ZynAddSubFX and Zest, as well as their dependencies. Then, automatically build them altogether.

Built packages are put in directory ./build/ :

  • ./build/zyn-fusion: Ready-to-use Zyn-Fusion files. You can directly use them as you wish, or copy this folder into your DAW's search-path.
  • ./build/zyn-fusion/zyn-fusion-*.{tar.gz|zip}: Compressed package(s) ready for distribution.

Building for Linux (native build)

Generic

# Install build dependencies
make -f Makefile.linux.mk install_deps

# Start building
PARALLEL=1 make -f Makefile.linux.mk all

# Or, you can also build a specific component,
# then finally use `package` to get a package file
PARALLEL=1 make -f Makefile.linux.mk zynaddsubfx
PARALLEL=1 make -f Makefile.linux.mk zest
make -f Makefile.linux.mk package

NOTICE: You need to run install-linux.sh within the built folder to install Zyn-Fusion properly, or it won't run, moreover you'll only see a black window in your host.

Building for Windows (cross-compile on Linux)

# Install build dependencies
make -f Makefile.windows.mk install_deps

# Start building
PARALLEL=1 make -f Makefile.windows.mk all

# Or, you can also build a specific component,
# then finally use `package` to get a package file
PARALLEL=1 make -f Makefile.windows.mk zynaddsubfx
PARALLEL=1 make -f Makefile.windows.mk zest
PARALLEL=1 make -f Makefile.windows.mk package

Building for Windows (native build via Msys2)

Msys2 installation

You must install Msys2 first. Remember to always use the Mingw64 terminal (you can find it in Start Menu). Any other terminal will not work.

Then finish updating the Msys installation by running in the Mingw64 terminal: pacman -Suy (twice). See https://www.msys2.org/docs/updating/ for details and https://archlinux.org/pacman/pacman.8.html for ̀pacman`.

Bootstrapping

Checking out the code:

pacman -S git make
git clone https://github.com/zynaddsubfx/zyn-fusion-build zyn-fusion-build
cd zyn-fusion-build

Then install the required tools through pacman:

make -f Makefile.mingw64.mk install_deps

Compile ZynFusion

To compile everything:

make -f Makefile.mingw64.mk all

Alternatively you can also build a specific component, then finally use package to get a package file:

make -f Makefile.mingw64.mk zynaddsubfx
make -f Makefile.mingw64.mk zest
make -f Makefile.mingw64.mk package

Moreover

  • Build types (modes): You can choose either demo or release, and demo is the default. Demo build will automatically mute after 10 minutes.

    You can explicitly specify build type:

    make MODE=release -f Makefile.<platform>.mk <target>
  • Get help: You can get a list of make targets by invoking:

    make -f Makefile.<platform>.mk help

zyn-fusion-build's People

Contributors

anclark avatar ctag-fh-kiel avatar cyberchrime avatar d4mr avatar dan-giddins avatar fundamental avatar gopall avatar jistr avatar marahmbawwab avatar matheusrich avatar pgervais avatar rantlivelintkale avatar schmitty2005 avatar someone65 avatar therma avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

zyn-fusion-build's Issues

Building on Linux (Debian stretch) failed

when running ruby build-linux.rb I get this error msg:

Looking For pkg config modules
-- Checking for module 'ntk'
--   No package 'ntk' found
-- Checking for module 'ntk_images'
--   No package 'ntk_images' found
-- Checking for module 'fftw3'
--   No package 'fftw3' found
CMake Error at rtosc/cmake/ColorMessage.cmake:53 (_message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:415 (message)
  /usr/share/cmake-3.7/Modules/FindPkgConfig.cmake:588 (_pkg_check_modules_internal)
  src/CMakeLists.txt:33 (pkg_check_modules)


-- Configuring incomplete, errors occurred!
See also "/home/user/synth/zyn-fusion-build/build-zynaddsubfx-demo/CMakeFiles/CMakeOutput.log".
See also "/home/user/synth/zyn-fusion-build/build-zynaddsubfx-demo/CMakeFiles/CMakeError.log".
ERROR: 'cmake ../zynaddsubfx/ -DGuiModule=zest -DDemoMode=true -DCMAKE_INSTALL_PREFIX=/usr' failed

CMakeError.log
CMakeOutput.log

fatal error: portaudio.h: No such file or directory

When building for windows I encountered this error when the build script was compiling Zynaddsubfx . I was able to fix this problem by adding these 2 lines to the windows-build.cmake:
SET(PORTAUDIO_INCLUDE_DIRS /home/devbox/zyn-fusion-build/pkg/include)
SET(PORTAUDIO_LIBRARY_DIRS /home/devbox/zyn-fusion-build/pkg/lib)
However after that I received following error message: fatal error: sys/soundcard.h: No such file or directory. Looking into /usr/x86_64-w64-mingw32/include/sys i saw that there is no soundcard.h, meaning that either I'm missing some sort of mingw package or there is an error in the build script. I included both terminal outputs before the fix and after.
portaudio.h missing.txt
soundcard.h missing.txt

Wiki - Arch build detailed instructions: rake missing

Hi,

I builded the project on Arch (Manjaro gnome 20.1). On upon running ruby build-linux.rb, the build failed with the error message: make clean failed.

Upon installing the ruby-rake package, the build completed sucessfully.
Perhaps the detailed instructions for building on Arch be updated and include this dependency?

Compile issue on Windows msys64/mingw64

Hi, I am attempting to compile zyn-fusion on Windows 10 using msys64. I ran the build-mingw64.sh script and while it was compiling one of the dependencies, liblo-0.28, I encountered a compile time error of the sort:

cpp_example.cpp: In function ‘int main()’:
cpp_example.cpp:90:9: error: ‘usleep’ was not declared in this scope; did you mean ‘sleep’?
90 | usleep(10*1000);
| ^~~~~~
| sleep
make[2]: *** [Makefile:454: cpp_example.o] Error 1
make[2]: Leaving directory '/home/bep/zyn-fusion-build-master/liblo-0.28/examples'
make[1]: *** [Makefile:457: all-recursive] Error 1
make[1]: Leaving directory '/home/bep/zyn-fusion-build-master/liblo-0.28'
make: *** [Makefile:365: all] Error 2

If this is the wrong repository to post this issue since this seems to be an issue with one of the dependencies and not Zyn itself, then I will post the same issue over on the liblo repository.

Thanks.

Windows build and mruby - zets

Hi, I got an email about zyn - fusion becoming open source, but it's my first time building this types of things, so... two questions:
1- How do I build zyn fusion with this source code?
2- How do I register it so the ten minutes limit dissapear?

Thank you for the good work and for your time
@fundamental

Missing additional package in the sudo apt install command in the wiki

The package fluid is missing from the sudo apt install command.
Upon trying to install I received the following error:

CMake Error at rtosc/cmake/ColorMessage.cmake:53 (_message):
  The imported target "fluid" references the file

     "/usr/bin/fluid"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/fltk/FLTK-Targets.cmake"

  but not all the files it references.

  
Call Stack (most recent call first):
  /usr/lib/fltk/FLTK-Targets.cmake:99 (message)
  /usr/lib/fltk/FLTKConfig.cmake:21 (include)
  /usr/share/cmake-3.10/Modules/FindFLTK.cmake:136 (include)
  rtosc/CMakeLists.txt:94 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/andre/sources/zyn-fusion-build/build-zynaddsubfx-demo/CMakeFiles/CMakeOutput.log".
ERROR: 'cmake ../zynaddsubfx/ -DGuiModule=zest -DDemoMode=true -DCMAKE_INSTALL_PREFIX=/usr' failed

Upon running apt install fluid I was able to resume building without an issue.

Edit: I now realized I could just edit the wiki myself. Sorry. I'm still new to this.

Ardour crashing when loading Zyn-Fusion

I can load ZynFusion into a track in Ardour. However, when I try to open the ZynFusion UI, Ardour crashes to desktop.

The ZynFusion UI works in standalone.

OS: Ubuntu (KDE Neon)
Ardour version: 5

Failed build using build-mingw64.sh

I have tried building using msys64 with the usual procedure

`pacman -S git
git clone https://github.com/zynaddsubfx/zyn-fusion-build.git
cd zyn*
./build-mingw64.sh`

And had the same issue raised #here

The output I get is this...

configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: McGraw/zyn-fusion-build/fftw-3.3.4/../pkg/
configure: loading site script /mingw64/etc/config.site
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... Invalid configuration `McGraw/zyn-fusion-build/fftw-3.3.4/../pkg/': machine `McGraw/zyn-fusion-build/fftw' not recognized
configure: error: /bin/sh ./config.sub McGraw/zyn-fusion-build/fftw-3.3.4/../pkg/ failed

What can I do to fix this?

Can't compile on ubuntu 18.04 AMD 64

I'm trying the build on an AMD 64 system runing ubuntu 18.04

When I try to build zyn-fusion-build using the instructions "Building on Linux" , the line
"ruby build-linux.rb" fails quite a long way into the build.
I don't know ruby but problem appears to be in a "rake" file. see below;
(any help would be appreaciated!)

--------------------------------------------------------------------------------------------------compiler output----------
......
Building Zest in demo mode
Changing directory to mruby-zest-build
make clean
cd mruby && MRUBY_CONFIG=../build_config.rb rake clean
Environment is:

false
rake aborted!
ArgumentError: Unknown pathmap specifier %2 in '/mnt/documents2/Documents/Development/ZynAddSubFx_SourceCode/zyn-fusion-build%200505/mruby-zest-build/mruby/build/host/src/%n'
/mnt/documents2/Documents/Development/ZynAddSubFx_SourceCode/zyn-fusion-build%200505/mruby-zest-build/mruby/src/mruby_core.rake:8:in block (2 levels) in <top (required)>' /mnt/documents2/Documents/Development/ZynAddSubFx_SourceCode/zyn-fusion-build%200505/mruby-zest-build/mruby/src/mruby_core.rake:6:in map'
/mnt/documents2/Documents/Development/ZynAddSubFx_SourceCode/zyn-fusion-build%200505/mruby-zest-build/mruby/src/mruby_core.rake:6:in block in <top (required)>' /mnt/documents2/Documents/Development/ZynAddSubFx_SourceCode/zyn-fusion-build%200505/mruby-zest-build/mruby/lib/mruby/build.rb:13:in instance_eval'
/mnt/documents2/Documents/Development/ZynAddSubFx_SourceCode/zyn-fusion-build%200505/mruby-zest-build/mruby/lib/mruby/build.rb:13:in block in each_target' /mnt/documents2/Documents/Development/ZynAddSubFx_SourceCode/zyn-fusion-build%200505/mruby-zest-build/mruby/lib/mruby/build.rb:12:in each'
/mnt/documents2/Documents/Development/ZynAddSubFx_SourceCode/zyn-fusion-build%200505/mruby-zest-build/mruby/lib/mruby/build.rb:12:in each_target' /mnt/documents2/Documents/Development/ZynAddSubFx_SourceCode/zyn-fusion-build%200505/mruby-zest-build/mruby/src/mruby_core.rake:1:in <top (required)>'
/mnt/documents2/Documents/Development/ZynAddSubFx_SourceCode/zyn-fusion-build%200505/mruby-zest-build/mruby/Rakefile:25:in load' /mnt/documents2/Documents/Development/ZynAddSubFx_SourceCode/zyn-fusion-build%200505/mruby-zest-build/mruby/Rakefile:25:in <top (required)>'
(See full trace by running task with --trace)
Makefile:152: recipe for target 'clean' failed
make: *** [clean] Error 1
ERROR: 'make clean' failed

Running Zyn-Fusion Windows 64bit Release via Wine

Hello,

I recently built Zyn-Fusion on Windows using the MSYS2 approach and both the standalone and VST versions work fine. However, I use Linux for my audio work and have REAPER installed via Wine so I can use Windows plugins on Linux semi-natively. I tried to run Zyn-Fusion in REAPER but it ended up crashing, so I ran the standalone and ran into this error:

VstPlugins/zyn-fusion-windows-64bit-release · wine zynaddsubfx.exe

ZynAddSubFX - Copyright (c) 2002-2013 Nasca Octavian Paul and others
                Copyright (c) 2009-2017 Mark McCurry [active maintainer]
This program is free software (GNU GPL v2 or later) and 
it comes with ABSOLUTELY NO WARRANTY.

Try 'zynaddsubfx --help' for command-line options.

Sample Rate = 		44100
Sound Buffer Size = 	256 samples
Internal latency = 	5.8 ms
ADsynth Oscil.Size = 	1024 samples
lo server running on 11727
[INFO] Nio::start()
Starting Audio: PA
Audio Started
Starting MIDI: NULL
MIDI Started
[INFO] exec-after-init
[INFO] No Windows MIDI Device At id 0
[INFO] Starting Windows MIDI At 1 with code 0(noerror=0)
[INFO] startup OSC
[INFO] UI calbacks
[INFO] OSC replay
[INFO] auto_save setup
[INFO] NSM Stuff
[INFO] LASH Stuff
[INFO] Launching Zyn-Fusion...
[INFO] starting subprocess via <zyn-fusion.exe osc.udp://127.0.0.1:11727/>
[INFO] Main Loop...
[INFO:Zyn] setup_pugl()
[INFO:Zyn] zest_tick()
[INFO:Zyn] zest_open()
[INFO:Zyn] Found Assets at C:\Program Files (x86)\Steinberg\VstPlugins\zyn-fusion-windows-64bit-release\
[INFO:Zyn] Starting Zyn-Fusion
[INFO:Zyn] Thanks for supporting the developement of this project
[INFO:Zyn] Creating MRuby Interpreter...
00dc:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00dc:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
00dc:fixme:winsock:WS_EnterSingleProtocolW unknown Protocol <0x00000000>
[debug] parsing json file
[debug] json parsed succesfully
[INFO:Zyn] zest_setup()
[DEBUG:Zyn] setting up animation fps
00dc:err:seh:setup_exception stack overflow 1600 bytes in thread 00dc eip 000000007bc4e8c8 esp 0000000000140fd0 stack 0x140000-0x141000-0x340000

The UI flashes on screen for a split second then disappears. I'm assuming this is what's crashing REAPER. I'm running Antergos Linux with kernel 4.16.10-1-ARCH

Error after cross-compiling for Windows

Sorry if this is a stupid question, I just compiled Zyn-Fusion on Mint 18 (with build-windows.rb) and it seems to have compiled fine, when I attempt to run it I get the following error:

<0> : error C5145: must write to gl_Position

/home/mint/zyn-fusion-build/mruby-zest-build/deps/mruby-nanovg/mrblib/context.rb:21: Could not create Context.

I'm trying to run it in a VM if that matters

edit. tried it in a Windows install and it ran fine, just realized somehow Virtualbox guest additions broke in all my VM's after a system update

Build using conventional paths instead of /opt/

Right now zyn-fusion builds in /opt/ but it'd be nice if it used the traditional paths (such as /usr/bin, /usr/lib and /usr/share) instead of /opt/ (which I know is also in the FHS, but is very uncommon outside of nonfree software).

Basically, this concerns the directories created in package/ when make pack is run (except completions), which are:

  • font
  • qml
  • schema

I poked around zest a bit and I noticed that some functions use a search parameter or something along those lines to allow a different path than the current directory, for example,

# font/
def init_font
        search   = @search_path
        search ||= ""
        font_error = false
        sans = [search + "font/Roboto-Regular.ttf", "deps/nanovg/example/Roboto-Regular.ttf"]
...
# qml/
def loadIR(search=nil)
    l = Parser.new
    qml_data = nil
    if(search.nil?)
        qml_data = [
            Dir.glob("../mruby-zest/mrblib/*.qml"),
            Dir.glob("../mruby-zest/qml/*.qml"),
            Dir.glob("../mruby-zest/test/*.qml"),
            Dir.glob("../mruby-qml-spawn/test/*.qml"),
            Dir.glob("../mruby-zest/example/*.qml"),
            Dir.glob("src/mruby-zest/mrblib/*.qml"),
            Dir.glob("src/mruby-zest/qml/*.qml"),
            Dir.glob("src/mruby-zest/test/*.qml"),
            Dir.glob("src/mruby-qml-spawn/test/*.qml"),
            Dir.glob("src/mruby-zest/example/*.qml"),
            Dir.glob("qml/*.qml")
        ].flatten
    else
        qml_data = [Dir.glob(search+"qml/*.qml")].flatten
...
// schema/
void parse_schema(const char *json, schema_t *sch);
schema_t br_get_schema(bridge_t *br, uri_t uri)
{
    (void) uri;
    schema_t sch;

    //printf("[debug] loading json file\n");
    FILE *f = fopen("schema/test.json", "r");
    if(!f && br->search_path) {
        char tmp[256];
        snprintf(tmp, sizeof(tmp), "%s%s", br->search_path, "schema/test.json");
        f = fopen(tmp, "r");
    }
...

it'd be nice to be able to pass a variable to make which sets the path to one specified by the user, or to use $XDG_DATA_HOME by default (since all of those are architecture-independent files).

No window icon or title (Ubuntu)

I just built zynaddsubfx 3.0.4. Everything works fine, however the window has no icon and no title. This is how it looks in the window switcher when using Gnome:

image

You could add dependencies for Fedora/Suse/CentOS ... in the Wiki

I successfully build on Fedora 29 with the following packages. (I could try to make a RPM on COPR https://copr.fedorainfracloud.org/coprs/fulltext/?fulltext=zyn-fusion but it is easier and safer to compile from source.)

sudo dnf install @"C Development Tools and Libraries" git ruby libtool mxml-devel automake cmake fftw-devel jack-audio-connection-kit-devel liblo-devel zlib-devel alsa-lib-devel  libX11-devel  mesa-libGL-devel cairo-devel fontconfig-devel  python bison

Note: @"C Development Tools and Libraries" includes bison, make, gcc and other stuff, maybe it could be optimized. But at least it is a start.

Trouble building for MSYS2 MinGW64

While running build-package.sh

[ 83%] Building CXX object src/CMakeFiles/zynaddsubfx_core.dir/Params/LFOParams.cpp.obj
C:/msys64/home/think/zyn-fusion-build/zynaddsubfx/src/Params/FilterParams.cpp: In lambda function:
C:/msys64/home/think/zyn-fusion-build/zynaddsubfx/src/Params/FilterParams.cpp:62:19: warning: macro expands to multiple statements [-Wmultistatement-macros]
62 | #define rChangeCb obj->changed = true; if ( obj->time) {
| ^~~
C:/msys64/home/think/zyn-fusion-build/zynaddsubfx/src/Params/FilterParams.cpp:157:17: note: in expansion of macro 'rChangeCb'
157 | rChangeCb;
| ^~~~~~~~~
C:/msys64/home/think/zyn-fusion-build/zynaddsubfx/src/Params/FilterParams.cpp:156:13: note: some parts of macro expansion are not guarded by this 'if' clause
156 | if(rtosc_narguments(msg))
| ^~
C:/msys64/home/think/zyn-fusion-build/zynaddsubfx/src/Misc/MiddleWare.cpp: In function 'void zyn::preparePadSynth(std::string, zyn::PADnoteParameters*, rtosc::RtData&
)':
C:/msys64/home/think/zyn-fusion-build/zynaddsubfx/src/Misc/MiddleWare.cpp:199:47: error: cannot convert 'zyn::preparePadSynth(std::string, zyn::PADnoteParameters, rt
osc::RtData&)::<lambda(unsigned int, zyn::PADnoteParameters::Sample&)>' to 'zyn::PADnoteParameters::callback' {aka 'std::function<void(int, zyn::PADnoteParameters::Sa
mple&&)>'}
*
199 | }, []{return false;}, 1);
| ^
In file included from C:/msys64/home/think/zyn-fusion-build/zynaddsubfx/src/Misc/MiddleWare.cpp:44:
C:/msys64/home/think/zyn-fusion-build/zynaddsubfx/src/Params/PADnoteParameters.h:193:57: note: initializing argument 1 of 'int zyn::PADnoteParameters::sampleGenerat
or(zyn::PADnoteParameters::callback, std::function<bool()>, unsigned int)'
193 | int sampleGenerator(PADnoteParameters::callback cb,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~
[ 84%] Building CXX object src/CMakeFiles/zynaddsubfx_core.dir/Params/PADnoteParameters.cpp.obj
make[2]: *** [src/CMakeFiles/zynaddsubfx_core.dir/build.make:525:src/CMakeFiles/zynaddsubfx_core.dir/Misc/MiddleWare.cpp.obj] error 1
make[2]: *** Waiting for unfinished tasks....
make[1]: *** [CMakeFiles/Makefile2:1354:src/CMakeFiles/zynaddsubfx_core.dir/all] error 2
make: *** [Makefile:149:all] error 2

This build script is so broken and needs to be fixed!

Master Volume not Restored under NSM

When running the built copy of zynaddsubfx under NSM (Non Session Manager), changes to the master volume are saved correctly when saving or closing a session. However, when opening a session, changes to the master volume are not restored as they should be.

software envelope goes to 25 or 80 ms after closing the ardour session

As you use the synth to create a patch it goes all well.bt after closing the synth and ardour daw ,wen you reopen the project .the values of envelope release goes to 25 MSEC .and when you try to save the patch the software crashes along with the daw.

terminal output after tring to save the patch and subsequently crash
musicarch@Narch-Music ~]$ ardour5
bind txt domain [gtk2_ardour5] to /usr/share/ardour5/locale
Ardour5.12.0 (built using 5.12 and GCC version 9.2.1 20200130)
ardour: [INFO]: Your system is configured to limit Ardour to only 524288 open files
ardour: [INFO]: Loading system configuration file /etc/ardour5/system_config
ardour: [INFO]: Loading user configuration file /home/musicarch/.config/ardour5/config
ardour: [INFO]: CPU vendor: GenuineIntel
ardour: [INFO]: AVX-capable processor
ardour: [INFO]: CPU brand: Intel(R) Core(TM) i7-3840QM CPU @ 2.80GHz
ardour: [INFO]: Using SSE optimized routines
ardour: [INFO]: Loading default ui configuration file /etc/ardour5/default_ui_config
ardour: [INFO]: Loading user ui configuration file /home/musicarch/.config/ardour5/ui_config

(process:4413): Gtk-WARNING **: 19:34:41.756: Locale not supported by C library.
Using the fallback 'C' locale.
Color shuttle bg not found
ardour: [INFO]: Loading color file /usr/share/ardour5/themes/dark-ardour.colors
ardour: [INFO]: Loading ui configuration file /etc/ardour5/clearlooks.rc
ardour: [INFO]: Loading ui configuration file /etc/ardour5/clearlooks.rc
Found 1 along /home/musicarch/.config/ardour5/templates:/usr/share/ardour5/templates
run dialog
error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_tyu.lv2/manifest.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_tyu.lv2/manifest.ttl' lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_tyu.lv2/manifest.ttl error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_Chors1.lv2/manifest.ttl (No such file or directory) lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_Chors1.lv2/manifest.ttl'
lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_Chors1.lv2/manifest.ttl
error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_tryty4.lv2/manifest.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_tryty4.lv2/manifest.ttl' lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_tryty4.lv2/manifest.ttl error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_Chords_1.lv2/manifest.ttl (No such file or directory) lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_Chords_1.lv2/manifest.ttl'
lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_Chords_1.lv2/manifest.ttl
error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_try_2.lv2/manifest.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_try_2.lv2/manifest.ttl' lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_try_2.lv2/manifest.ttl error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_mel.lv2/manifest.ttl (No such file or directory) lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_mel.lv2/manifest.ttl'
lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_mel.lv2/manifest.ttl
error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_Chords_2.lv2/manifest.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_Chords_2.lv2/manifest.ttl' lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_Chords_2.lv2/manifest.ttl error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_yui.lv2/manifest.ttl (No such file or directory) lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_yui.lv2/manifest.ttl'
lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_yui.lv2/manifest.ttl
error: failed to open file /usr/lib/lv2/gx_colwah.lv2/manifest.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file file:///usr/lib/lv2/gx_colwah.lv2/manifest.ttl' lilv_world_load_bundle(): error: Error reading file:///usr/lib/lv2/gx_colwah.lv2/manifest.ttl Scanning folders for bundled LV2s: /usr/lib/ardour5/LV2 error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_tyu.lv2/manifest.ttl (No such file or directory) lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_tyu.lv2/manifest.ttl'
lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_tyu.lv2/manifest.ttl
error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_Chors1.lv2/manifest.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_Chors1.lv2/manifest.ttl' lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_Chors1.lv2/manifest.ttl error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_tryty4.lv2/manifest.ttl (No such file or directory) lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_tryty4.lv2/manifest.ttl'
lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_tryty4.lv2/manifest.ttl
error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_Chords_1.lv2/manifest.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_Chords_1.lv2/manifest.ttl' lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_Chords_1.lv2/manifest.ttl error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_try_2.lv2/manifest.ttl (No such file or directory) lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_try_2.lv2/manifest.ttl'
lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_try_2.lv2/manifest.ttl
error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_mel.lv2/manifest.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_mel.lv2/manifest.ttl' lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_mel.lv2/manifest.ttl error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_Chords_2.lv2/manifest.ttl (No such file or directory) lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_Chords_2.lv2/manifest.ttl'
lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_Chords_2.lv2/manifest.ttl
error: failed to open file /home/musicarch/.lv2/ZynAddSubFX_yui.lv2/manifest.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file file:///home/musicarch/.lv2/ZynAddSubFX_yui.lv2/manifest.ttl' lilv_world_load_bundle(): error: Error reading file:///home/musicarch/.lv2/ZynAddSubFX_yui.lv2/manifest.ttl error: failed to open file /usr/lib/lv2/gx_colwah.lv2/manifest.ttl (No such file or directory) lilv_world_load_file(): error: Error loading file file:///usr/lib/lv2/gx_colwah.lv2/manifest.ttl'
lilv_world_load_bundle(): error: Error reading file:///usr/lib/lv2/gx_colwah.lv2/manifest.ttl
error: failed to open file /usr/lib/lv2/gx_wah.lv2/gx_colwah.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file file:///usr/lib/lv2/gx_wah.lv2/gx_colwah.ttl' lilv_plugin_get_name(): warning: Plugin <http://guitarix.sourceforge.net/plugins/gx_colwah_#_colwah_> has no (mandatory) doap:name error: failed to expand CURIE xsd:float'
Set cursor set to default
lo server running on 12255
lo server running on 17398
error: failed to open file /usr/lib/lv2/ZynAddSubFX.lv2/presets.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file file:///usr/lib/lv2/ZynAddSubFX.lv2/presets.ttl' error: failed to open file /usr/lib/lv2/ZynAddSubFX.lv2/presets.ttl (No such file or directory) lilv_world_load_file(): error: Error loading file file:///usr/lib/lv2/ZynAddSubFX.lv2/presets.ttl'
error: failed to open file /usr/lib/lv2/ZynAddSubFX.lv2/presets.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file file:///usr/lib/lv2/ZynAddSubFX.lv2/presets.ttl' WARNING: this host does not send sample-rate information for LV2 UIs, using 44100 as fallback (this could be wrong) [INFO] Opened the zynaddsubfx UI... [INFO] Ready to run [INFO:Zyn] zest_open() [INFO:Zyn] zest_open(osc.udp://127.0.0.1:17398) [INFO:Zyn] Found Assets at /opt/zyn-fusion/ [INFO:Zyn] Starting Zyn-Fusion [INFO:Zyn] Thanks for supporting the development of this project [INFO:Zyn] Creating MRuby Interpreter... [debug] parsing json file [debug] json parsed succesfully Time for a fast load is 5.511ms load(0.016) class(0.005) spawn(5.49)... making reverse graph[1091]<1.166 ms> [INFO:Zyn] zest_setup(osc.udp://127.0.0.1:17398) [INFO:Zyn] zest_close() [INFO] Closing MRuby Application... [INFO] UV UDP Stopped [INFO] UV Loop Stopped [INFO] Opened the zynaddsubfx UI... [INFO] Ready to run [INFO:Zyn] zest_open() [INFO:Zyn] zest_open(osc.udp://127.0.0.1:17398) [INFO:Zyn] Found Assets at /opt/zyn-fusion/ [INFO:Zyn] Starting Zyn-Fusion [INFO:Zyn] Thanks for supporting the development of this project [INFO:Zyn] Creating MRuby Interpreter... [debug] parsing json file [debug] json parsed succesfully Time for a fast load is 5.141ms load(0.014) class(0.004) spawn(5.123)... making reverse graph[1091]<0.9610000000000001 ms> [INFO:Zyn] zest_setup(osc.udp://127.0.0.1:17398) Unknown address<BACKEND:online> '/part0/kit0/adpars/GlobalPar/AmpEnvelope/out:' Unknown path '/part0/kit0/adpars/GlobalPar/AmpEnvelope/out:' Unknown address<BACKEND:online> '/part0/kit0/adpars/GlobalPar/FreqEnvelope/out:' Unknown path '/part0/kit0/adpars/GlobalPar/FreqEnvelope/out:' error: failed to open file /usr/lib/lv2/ZynAddSubFX.lv2/presets.ttl (No such file or directory) lilv_world_load_file(): error: Error loading file file:///usr/lib/lv2/ZynAddSubFX.lv2/presets.ttl'
error: failed to open file /usr/lib/lv2/ZynAddSubFX.lv2/presets.ttl (No such file or directory)
lilv_world_load_file(): error: Error loading file `file:///usr/lib/lv2/ZynAddSubFX.lv2/presets.ttl'
Segmentation fault (core dumped)

Standalone version outperforms LV2 plugin big time

When doing a bit of stresstesting, sending lots of midi notes from supercollider (800bpm, why not :) ) into 3 parts in Zynaddsubfx, the standalone version gives me 0 xruns, where the LV2 plugin goes over >5000 xruns. Very high DSP load in both Carla and Jalv.

Zyn-fusion build from git. Debian Testing (well performing system).

Permission Problems

Ubuntu Linux 64 bit.

Permission issue when running the installer as either user, sudo or root.
The script is not asking for sudo password at any point.

Update Build Pipeline

  • alpine docker for mingw zynaddsubfx
  • alpine docker for mingw zest
  • alpine docker for zynaddsubfx
  • alpine docker for zest
  • ubuntu docker for zynaddsubfx
  • ubuntu docker for zest
  • arch docker for zynaddsubfx
  • arch docker for zest
  • no network arch docker for zynaddsubfx
  • no network arch docker for zest
  • full pipeline to produce demo image for windows via docker
  • full pipeline to produce demo image for linux via docker
  • virtualbox setup for testing windows
  • unknown-platform ardour docker test image
  • nightly build setup
  • new macOS build/testing setup TBD

Windows build cannot open patch

while building zest i got this error

error: can't open patch '../../../mruby-dir-glob-no-process.patch': No such file or directory

Failed Building for Windows in MinGW64 and Lubuntu

Solution by Zlau92: #38 (comment)

Hello I tried building it for Windows and neither on Windows or Linux it would work. I tried many Workarounds found here in the issues tab but none worked.
I don't need both variants to work as my only Goal is to get a working VST for using in Ableton Live

error
error2

Windows Build

I spent a few hours now trying to build this on Windows with mingw.
I already fixed a lot of errors of the build process, but now I'm at the point of patching.
At first it didn't work cause of the file not existing, I tried a different branch of the mruby-zest-build repo, but now I get patch does not apply.
So I wanted to ask if it's even possible to build this on Windows at the moment, before I spend more hours? And when yes, what would/could be the next step?
Thank You!

Docker build fails

I'm trying to build a Docker container using docker build https://github.com/zynaddsubfx/zyn-fusion-build.git

Partway through the build I get this:

make setup
cd deps && wget -4 http://dist.libuv.org/dist/v1.9.1/libuv-v1.9.1.tar.gz && tar xvf libuv-v1.9.1.tar.gz
/bin/sh: 1: wget: not found
Makefile:66: recipe for target 'deps/libuv-v1.9.1' failed

Does this mean wget isn't included in the base image?

'Load .scl' and 'Load .kbm' function inconsistently

https://sourceforge.net/p/zynaddsubfx/bugs/168/

I've encountered the same bug as sourceforge #168. Certain directories of .scl files will display their contents sometimes and some have never displayed their contents. I've considered all responses to sourceforge #168 none of which are relevant. Any expertise related to the functions in question would be welcomed!

This belongs in the mruby-zest repository, so i'm going to close this issue and move it there.

Building for Windows

Hello,
I'm trying to bulid Zyn-fusion like a win-VST on Ubuntu 16.04 and 14.04 but I get this error:

`zlib-1.2.7.tar.gz 100%[=============================================================================================================================================>] 547,22K 593KB/s za 0,9s

2018-01-16 09:51:41 (593 KB/s) – „zlib-1.2.7.tar.gz“ uloženo [560351/560351]

tar: zlib-1.2.7: Funkce read selhala: je adresářem
tar: Páska na začátku, končím
tar: Error is not recoverable: exiting now
Building static library libz.a version 1.2.7 with x86_64-w64-mingw32-gcc.
Checking for off64_t... Yes.
Checking for fseeko... Yes.
Checking for strerror... Yes.
Checking for unistd.h... Yes.
Checking for stdarg.h... Yes.
Checking whether to use vs[n]printf() or s[n]printf()... using vs[n]printf().
Checking for vsnprintf() in stdio.h... Yes.
Checking for return value of vsnprintf()... Yes.
Checking for attribute(visibility) support... No.
./ztest30865: 1: ./ztest30865: MZ����@���: not found
./ztest30865: 2: ./ztest30865: Syntax error: word unexpected (expecting ")")
Looking for a four-byte integer type... Not found.
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -I. -c -o example.o test/example.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o adler32.o adler32.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o crc32.o crc32.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o deflate.o deflate.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o infback.o infback.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o inffast.o inffast.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o inflate.o inflate.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o inftrees.o inftrees.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o trees.o trees.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o zutil.o zutil.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o compress.o compress.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o uncompr.o uncompr.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o gzclose.o gzclose.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o gzlib.o gzlib.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o gzread.o gzread.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -c -o gzwrite.o gzwrite.c
ar rc libz.a adler32.o crc32.o deflate.o infback.o inffast.o inflate.o inftrees.o trees.o zutil.o compress.o uncompr.o gzclose.o gzlib.o gzread.o gzwrite.o
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o example example.o -L. libz.a
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -I. -c -o minigzip.o test/minigzip.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o minigzip minigzip.o -L. libz.a
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -I. -D_FILE_OFFSET_BITS=64 -c -o example64.o test/example.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o example64 example64.o -L. libz.a
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -I. -D_FILE_OFFSET_BITS=64 -c -o minigzip64.o test/minigzip.c
x86_64-w64-mingw32-gcc -O3 -D_LARGEFILE64_SOURCE=1 -o minigzip64 minigzip64.o -L. libz.a
cp libz.a /home/nemesis/zyn-fusion-build/zlib-1.2.7/../pkg//lib
chmod 644 /home/nemesis/zyn-fusion-build/zlib-1.2.7/../pkg//lib/libz.a
cp zlib.3 /home/nemesis/zyn-fusion-build/zlib-1.2.7/../pkg//share/man/man3
chmod 644 /home/nemesis/zyn-fusion-build/zlib-1.2.7/../pkg//share/man/man3/zlib.3
cp zlib.pc /home/nemesis/zyn-fusion-build/zlib-1.2.7/../pkg//lib/pkgconfig
chmod 644 /home/nemesis/zyn-fusion-build/zlib-1.2.7/../pkg//lib/pkgconfig/zlib.pc
cp zlib.h zconf.h /home/nemesis/zyn-fusion-build/zlib-1.2.7/../pkg//include
chmod 644 /home/nemesis/zyn-fusion-build/zlib-1.2.7/../pkg//include/zlib.h /home/nemesis/zyn-fusion-build/zlib-1.2.7/../pkg//include/zconf.h
cp ./libwinpthread* ./pkg/bin/
cp: nelze získat informace o './libwinpthread*': Adresář nebo soubor neexistuje
ERROR: 'cp ./libwinpthread* ./pkg/bin/' failed
`
Building for Linux works very well...

Build fails for libzynaddsubfx_dssi

On Ubuntu 16.04, with libfftw3-dev : 3.3.4-2ubuntu1

[ 60%] Linking CXX shared library libzynaddsubfx_dssi.so
/usr/bin/ld: /usr/local/lib/libfftw3.a(apiplan.o): relocation R_X86_64_32S against `.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libfftw3.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
src/CMakeFiles/zynaddsubfx_dssi.dir/build.make:202: recipe for target 'src/libzynaddsubfx_dssi.so' failed
make[2]: *** [src/libzynaddsubfx_dssi.so] Error 1
CMakeFiles/Makefile2:1598: recipe for target 'src/CMakeFiles/zynaddsubfx_dssi.dir/all' failed
make[1]: *** [src/CMakeFiles/zynaddsubfx_dssi.dir/all] Error 2
Makefile:138: recipe for target 'all' failed
make: *** [all] Error 2
ERROR: 'make' failed

new bank browser can be confusing

When I search for a bank, it doesn't find anything. Type in rhodes... nothing, that's because I've selected a certain bank collection I guess.

Maybe add a entry to the lists, 'All' or something. That would make it a bit more clear probably.

Just a quick thought, but at least it can be somewhat confusing. If and how you want to solve it, is up to you of course, you know the application best.

MinGW64 Zest mrbgem.rake error.

Pardon, I'm a bit new to this. Is there something I should look out for?

---------Getting Zest---------------------
Cloning into 'mruby-zest-build'...
remote: Enumerating objects: 39, done.
remote: Counting objects: 100% (39/39), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 39 (delta 0), reused 21 (delta 0), pack-reused 0
Receiving objects: 100% (39/39), 52.74 KiB | 8.79 MiB/s, done.
Submodule 'deps/mruby-complex' (https://github.com/pbosetti/mruby-complex) registered for path 'deps/mruby-complex'
Submodule 'deps/mruby-dir' (https://github.com/iij/mruby-dir) registered for path 'deps/mruby-dir'
Submodule 'deps/mruby-dir-glob' (https://github.com/gromnitsky/mruby-dir-glob) registered for path 'deps/mruby-dir-glob'
Submodule 'deps/mruby-errno' (https://github.com/iij/mruby-errno) registered for path 'deps/mruby-errno'
Submodule 'deps/mruby-file-stat' (https://github.com/ksss/mruby-file-stat) registered for path 'deps/mruby-file-stat'
Submodule 'deps/mruby-glew' (https://github.com/IceDragon200/mruby-glew) registered for path 'deps/mruby-glew'
Submodule 'deps/mruby-glfw3' (https://github.com/IceDragon200/mruby-glfw3) registered for path 'deps/mruby-glfw3'
Submodule 'deps/mruby-io' (https://github.com/iij/mruby-io) registered for path 'deps/mruby-io'
Submodule 'deps/mruby-nanovg' (https://github.com/mruby-zest/mruby-nanovg) registered for path 'deps/mruby-nanovg'
Submodule 'deps/mruby-process' (https://github.com/iij/mruby-process) registered for path 'deps/mruby-process'
Submodule 'deps/mruby-regexp-pcre' (https://github.com/iij/mruby-regexp-pcre) registered for path 'deps/mruby-regexp-pcre'
Submodule 'deps/mruby-set' (https://github.com/yui-knk/mruby-set) registered for path 'deps/mruby-set'
Submodule 'deps/mruby-sleep' (https://github.com/matsumoto-r/mruby-sleep) registered for path 'deps/mruby-sleep'
Submodule 'deps/nanovg' (https://github.com/memononen/nanovg) registered for path 'deps/nanovg'
Submodule 'deps/pugl' (https://github.com/mruby-zest/pugl.git) registered for path 'deps/pugl'
Submodule 'deps/rtosc' (https://github.com/fundamental/rtosc) registered for path 'deps/rtosc'
Submodule 'mruby' (https://github.com/mruby/mruby) registered for path 'mruby'
Submodule 'src/mruby-qml-parse' (https://github.com/mruby-zest/mruby-qml-parse) registered for path 'src/mruby-qml-parse'
Submodule 'src/mruby-qml-spawn' (https://github.com/mruby-zest/mruby-qml-spawn) registered for path 'src/mruby-qml-spawn'
Submodule 'src/mruby-zest' (https://github.com/mruby-zest/mruby-zest) registered for path 'src/mruby-zest'
Submodule 'deps/osc-bridge' (https://github.com/mruby-zest/osc-bridge) registered for path 'src/osc-bridge'
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-complex'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-dir'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-dir-glob'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-errno'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-file-stat'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-glew'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-glfw3'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-io'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-nanovg'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-process'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-regexp-pcre'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-set'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/mruby-sleep'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/nanovg'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/pugl'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/deps/rtosc'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/mruby'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/src/mruby-qml-parse'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/src/mruby-qml-spawn'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/src/mruby-zest'...
Cloning into '/c/Users/dmixh/Documents/Gits/zyn-fusion-build/mruby-zest-build/src/osc-bridge'...
Submodule path 'deps/mruby-complex': checked out '4f57a1ef9f968e9d5eef53667c7960a2e98c9750'
Submodule path 'deps/mruby-dir': checked out '89dceefa1250fb1ae868d4cb52498e9e24293cd1'
Submodule path 'deps/mruby-dir-glob': checked out '334c040a2e2c4c2689f8c3440168011f64d57ada'
Submodule path 'deps/mruby-errno': checked out 'b4415207ff6ea62360619c89a1cff83259dc4db0'
Submodule path 'deps/mruby-file-stat': checked out 'aa474589f065c71d9e39ab8ba976f3bea6f9aac2'
Submodule path 'deps/mruby-glew': checked out '6849202f885516b381406e799dcdb430065e19cf'
Submodule path 'deps/mruby-glfw3': checked out '0eeee012fd4bbd6544dd34f17ce2b476ad71d86b'
Submodule path 'deps/mruby-io': checked out '1c4428880b2f0f0fcd81ea2debc5f4459a7ed53c'
Submodule path 'deps/mruby-nanovg': checked out 'd7d4e1ce434131babb5fd6026201011f5b0b50ea'
Submodule path 'deps/mruby-process': checked out 'fe171fbe2a6cc3c2cf7d713641bddde71024f7c8'
Submodule path 'deps/mruby-regexp-pcre': checked out 'a961225c0953dd2bd987111f0836821573616de2'
Submodule path 'deps/mruby-set': checked out '68334311ac7386eef84f3034a256e7135a87625d'
Submodule path 'deps/mruby-sleep': checked out '263d70351a4f75a875f2a35ab9a9128d1ef5da90'
Submodule path 'deps/nanovg': checked out 'b83cf926525e7cea8d2483da2a75852b8c7b6d28'
Submodule path 'deps/pugl': checked out 'd87062625ed652df9455bd6f60ea89c53515c43a'
Submodule path 'deps/rtosc': checked out '6a65b24469068a8f334567b72a3125bd1d7fd1b1'
Submodule path 'mruby': checked out '7e229c470ae7aa2187b0fe9d3b66ac20943cd2b8'
Submodule path 'src/mruby-qml-parse': checked out '3e2c32cc55c60027e6406eca89bf1ae5301aa16b'
Submodule path 'src/mruby-qml-spawn': checked out 'ff5a0417bb37c72967e1c551c9f39c2e47a2b503'
Submodule path 'src/mruby-zest': checked out '586ef1a92b9805b204365c80f80494904959b5ae'
Submodule path 'src/osc-bridge': checked out '2816cacae0346ba363080b4a352037a06088889c'
error: patch failed: mrbgem.rake:8
error: mrbgem.rake: patch does not apply

Troubles when building for Windows

So, I installed Ubuntu 18.04 VM to build Zyn-Fusion for Windows (had less luck with building using build-mingw64.sh).

Cloned the repository, ran ruby build-windows.rb.

the first trouble:

The building process failed:

Changing directory to deps/mruby-dir-glob
git apply ../../../mruby-dir-glob-no-process.patch
Changing directory to ../mruby-io
git apply ../../../mruby-io-libname.patch
Changing directory to ../../mruby
git apply ../../mruby-float-patch.patch
error: patch failed: src/backtrace.c:209
error: src/backtrace.c: patch does not apply
ERROR: 'git apply ../../mruby-float-patch.patch' failed

So, I tried to patch backtrace.c myself, by just adding the char superhack[1024*20]; and removed all signs of backtrace.c from mruby-float-patch.patch. Reran ruby build-windows.rb.

the second trouble:

The building process failed:
LD    build/host/bin/mirb 
/usr/bin/ld: cannot find -lWs2_32
collect2: error: ld returned 1 exit status
/usr/bin/ld: cannot find -lWs2_32
collect2: error: ld returned 1 exit status
rake aborted!
Command failed with status (1): [gcc -LC:/Windows/system -o /home/zyn-build...]
/home/zyn-builder/building/zyn-fusion-build/mruby-zest-build/mruby/lib/mruby/build/command.rb:31:in `_run'
/home/zyn-builder/building/zyn-fusion-build/mruby-zest-build/mruby/lib/mruby/build/command.rb:36:in `rescue in _run'
/home/zyn-builder/building/zyn-fusion-build/mruby-zest-build/mruby/lib/mruby/build/command.rb:32:in `_run'
/home/zyn-builder/building/zyn-fusion-build/mruby-zest-build/mruby/lib/mruby/build/command.rb:210:in `run'
/home/zyn-builder/building/zyn-fusion-build/mruby-zest-build/mruby/Rakefile:79:in `block (4 levels) in <top (required)>'

Caused by:
Command failed with status (1): [gcc -LC:/Windows/system -o /home/zyn-build...]
/home/zyn-builder/building/zyn-fusion-build/mruby-zest-build/mruby/lib/mruby/build/command.rb:33:in `_run'
/home/zyn-builder/building/zyn-fusion-build/mruby-zest-build/mruby/lib/mruby/build/command.rb:210:in `run'
/home/zyn-builder/building/zyn-fusion-build/mruby-zest-build/mruby/Rakefile:79:in `block (4 levels) in <top (required)>'
Tasks: TOP => default => all => /home/zyn-builder/building/zyn-fusion-build/mruby-zest-build/mruby/bin/mirb => /home/zyn-builder/building/zyn-fusion-build/mruby-zest-build/mruby/build/host/bin/mirb
(See full trace by running task with --trace)
Makefile:37: recipe for target 'windows' failed
make: *** [windows] Error 1
ERROR: 'make windows' failed
My question is: how to avoid these troubles?

How to build the new UI?

Hi,

I cannot find any information whatsoever about how to build the new UI. I always get the old UI... is there some possibly undocumented flag for the build to actually build the new UI?

Build on Linux Mint 19.2 Fail during installation step

Hello to all, i try to build zynfusion to use it in ardour. My system is linux mint 19.2. But it seems to crash at the end of the process.

Hope somebody could help me : )

Tks

uname - a : Linux user-pc 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

HERE IS THE TRACE :

Making a package in demo mode

Changing directory to build-zynaddsubfx-demo
sudo make install
[ 4%] Built target rtosc
[ 9%] Built target rtosc-cpp
[ 10%] Built target test-automation
[ 10%] Built target path-collapse
[ 11%] Built target undo-test
[ 12%] Built target test-walker
[ 13%] Built target typed-template-test
[ 14%] Built target headerlib
[ 15%] Built target test-midi-mapper
[ 16%] Built target liblo
[ 17%] Built target test-arg-iter
[ 18%] Built target fat-message
[ 19%] Built target default-value
[ 20%] Built target osc-spec
[ 21%] Built target patterns
[ 22%] Built target metadata
[ 23%] Built target nested-bundles
[ 23%] Built target util
[ 24%] Built target bundles
[ 25%] Built target message-alignment
[ 26%] Built target arg-val-cmp
[ 27%] Built target pretty-format
[ 28%] Built target arg-val-math
[ 29%] Built target sugar
[ 30%] Built target simple-messages
[ 31%] Built target version
[ 32%] Built target null-messages
[ 32%] Built target empty-strings
[ 60%] Built target zynaddsubfx_core
[ 67%] Built target zynaddsubfx_nio
[ 69%] Built target zynaddsubfx_gui_bridge
[ 70%] Built target zynaddsubfx
[ 71%] Built target lv2-ttl-generator
[ 73%] Built target ZynAlienWah_vst
[ 74%] Built target ZynAlienWah_lv2
[ 75%] Built target ZynChorus_vst
[ 76%] Built target ZynChorus_lv2
[ 77%] Built target ZynDistortion_vst
[ 79%] Built target ZynDistortion_lv2
[ 81%] Built target ZynDynamicFilter_vst
[ 82%] Built target ZynDynamicFilter_lv2
[ 83%] Built target ZynEcho_vst
[ 84%] Built target ZynEcho_lv2
[ 85%] Built target ZynPhaser_vst
[ 87%] Built target ZynPhaser_lv2
[ 88%] Built target ZynReverb_vst
[ 90%] Built target ZynReverb_lv2
[ 93%] Built target ZynAddSubFX_lv2_ui
[ 95%] Built target ZynAddSubFX_lv2
[100%] Built target ZynAddSubFX_vst
Install the project...
-- Install configuration: ""
-- Installing: /usr/share/doc/zynaddsubfx/AUTHORS.txt
-- Installing: /usr/share/doc/zynaddsubfx/COPYING
CMake Error at cmake_install.cmake:41 (file):
file INSTALL cannot find
"/home/user/zyn-fusion-build/zynaddsubfx/HISTORY.txt".

Makefile:128: recipe for target 'install' failed
make: *** [install] Error 1
ERROR: 'sudo make install' failed

Builds into demo mode, exe files broken

I tried building with mingw64 and it was supposedly built successfully in release mode. All relevant directory names ended with “release.” However, the sound cuts out at 10 minutes and the exe files do not work (opens a black window).

Add package fluid as dependency in wiki

Hello, thanks for the good job ! Something I noticed while running the ruby script for linux.

CMake Error at rtosc/cmake/ColorMessage.cmake:53 (_message):
  The imported target "fluid" references the file
     "/usr/bin/fluid"
  but this file does not exist.  Possible reasons include:
  * The file was deleted, renamed, or moved to another location.
  * An install or uninstall procedure did not complete successfully.
  * The installation package was faulty and contained
     "/usr/lib/fltk/FLTK-Targets.cmake"
  but not all the files it references.

Fixed by (on ubuntu 16.04) : sudo apt install fluid

broken symbolic link

  • I get this error:

-- Installing: /usr/lib/lv2/ZynAddSubFX.lv2presets
CMake Error at cmake_install.cmake:71 (file):
file INSTALL cannot make directory "/usr/lib/lv2/ZynAddSubFX.lv2presets":
Too many levels of symbolic links

Makefile:128: recipe for target 'install' failed
make: *** [install] Error 1
ERROR: 'sudo make install' failed

  • I enquire about it and discover...

file /usr/lib/lv2/ZynAddSubFX.lv2presets
/usr/lib/lv2/ZynAddSubFX.lv2presets: broken symbolic link to /opt/zyn-fusion/ZynAddSubFX.lv2presets

  • I proceed to fix it quick and dirty

sudo rm /usr/lib/lv2/ZynAddSubFX.lv2presets

  • then I can build again

ruby build-linux.rb

Problem on Archlinux

Hello,
Many thanks for your impressive work on this GUI.
I had no problem building the package on Arch following your detailed instructions. But upon launching the standalone version I get:

[noel@HP zyn-fusion]$ zynaddsubfx

ZynAddSubFX - Copyright (c) 2002-2013 Nasca Octavian Paul and others
                Copyright (c) 2009-2017 Mark McCurry [active maintainer]
This program is free software (GNU GPL v2 or later) and 
it comes with ABSOLUTELY NO WARRANTY.

Try 'zynaddsubfx --help' for command-line options.

Sample Rate = 		44100
Sound Buffer Size = 	256 samples
Internal latency = 	5.8 ms
ADsynth Oscil.Size = 	1024 samples
lo server running on 17262
[INFO] Nio::start()
Starting Audio: JACK
Jack buffer resized
Audio Started
Starting MIDI: ALSA
MIDI Started
[INFO] exec-after-init
[INFO] startup OSC
[INFO] UI calbacks
[INFO] OSC replay
[INFO] auto_save setup
[INFO] NSM Stuff
[INFO] LASH Stuff
[INFO] Launching Zyn-Fusion...
[INFO] Main Loop...
[INFO:Zyn] setup_pugl()
X Error of failed request:  BadValue (integer parameter out of range for operation)
  Major opcode of failed request:  155 (GLX)
  Minor opcode of failed request:  3 (X_GLXCreateContext)
  Value in failed request:  0x0
  Serial number of failed request:  19
  Current serial number in output stream:  20
Deactivating and closing JACK client

Any idea about what is going on? I have all dependencies listed installed (and in particular glu).
Thank you very much in advance for your help.
Yvonnick

Add license

A license file and README notice should be added to this repository to clarify which license it is released under.

zyn-fusion doesn't respond on velocity / amp changes as old zynaddsubfx

I did build this zyn-fusion-build, removed my old zynaddsubfx from Debian testing.

But in the exact same session, the new zyn-fusion doesn't seems to respond to the \amp message via supercollider, whereas the older one clearly did. That's odd. I don't think it responds at all actually.

\amp
Not formally defined as a special parameter, but this is typically used for Synth amplitude. The SynthDef should have an amp argument and use it to control volume. \amp is optionally calculated from \db.

https://doc.sccode.org/Tutorials/A-Practical-Guide/PG_08_Event_Types_and_Parameters.html

m = MIDIOut.new(0);
(
Pbindef(\midiout,
\type, \midi,
\midicmd, \noteOn,
\midiout, m,
\chan, 0,
\midinote, Pshuf([0, 4, 7, 8, 12, 10, 7, 4, 0, 12, 4,5,6,7]+50, inf),
\amp, Pexprand(50, 100, inf)/127,
\sustain, 0.2,
\dur, Pshuf([1/4], inf),
).play
);

lo/lo_types.h: No such file or directory

Hello,
Thanks for the hardwork for the great UI!
I'm trying to compile into windows version using Linux Mint 18.1 64bit (Ubuntu 16.04), but I got this error. Anyway to fix this?
/home/damar/zyn-fusion-build/zynaddsubfx/rtosc/include/rtosc/port-checker.h:36:25: fatal error: lo/lo_types.h: No such file or directory compilation terminated. rtosc/CMakeFiles/rtosc-cpp.dir/build.make:263: recipe for target 'rtosc/CMakeFiles/rtosc-cpp.dir/src/cpp/port-checker.cpp.obj' failed make[2]: *** [rtosc/CMakeFiles/rtosc-cpp.dir/src/cpp/port-checker.cpp.obj] Error 1 CMakeFiles/Makefile2:539: recipe for target 'rtosc/CMakeFiles/rtosc-cpp.dir/all' failed make[1]: *** [rtosc/CMakeFiles/rtosc-cpp.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 ERROR: 'make' failed

When building, incorrect files are sought resulting in build failure.

Script calls for libuv.a when it should be libuv-win.a. Script calls for libuv-win.a when it should be libuv.a. As a test, I renamed files during build and the build was successful. It is going to the right directory but is requesting the incorrect file. Libuv.a and libuv-win.a are mixed up.

Here is the original output before renaming the files as a workaround to fix the incorrect file names in the build script:

gcc.exe: error: C:/msys64/home/sec6/zyn-fusion-build/mruby-zest-build/mruby/../deps/libuv.a: No such file or directory
gcc.exe: error: C:/msys64/home/sec6/zyn-fusion-build/mruby-zest-build/mruby/../deps/libuv.a: No such file or directory
rake aborted!
Command failed with status (1): [gcc -L"/home/sec6/zyn-fusion-build/mruby-z...]
/home/sec6/zyn-fusion-build/mruby-zest-build/mruby/tasks/mruby_build_commands.rake:31:in _run' /home/sec6/zyn-fusion-build/mruby-zest-build/mruby/tasks/mruby_build_commands.rake:36:in rescue in _run'
/home/sec6/zyn-fusion-build/mruby-zest-build/mruby/tasks/mruby_build_commands.rake:32:in _run' /home/sec6/zyn-fusion-build/mruby-zest-build/mruby/tasks/mruby_build_commands.rake:183:in run'
/home/sec6/zyn-fusion-build/mruby-zest-build/mruby/rakefile:72:in block (4 levels) in <top (required)>' Command failed with status (1): ["gcc" -L"/home/sec6/zyn-fusion-build/mruby...] /home/sec6/zyn-fusion-build/mruby-zest-build/mruby/tasks/mruby_build_commands.rake:33:in _run'
/home/sec6/zyn-fusion-build/mruby-zest-build/mruby/tasks/mruby_build_commands.rake:183:in run' /home/sec6/zyn-fusion-build/mruby-zest-build/mruby/rakefile:72:in block (4 levels) in <top (required)>'
Tasks: TOP => default => all => /home/sec6/zyn-fusion-build/mruby-zest-build/mruby/build/w64/bin/mruby.exe
(See full trace by running task with --trace)
make: *** [Makefile:42: windows] Error 1

[DUPLICATE] Failed to build zyn for windows : patch failed to apply

I run an ubuntu container to compile some softwares on my fedora 31 distro. Linux-build is ok but not windows build.
I have an error when git apply a patch... Here the result of the manual command :
root@XXX:zyn-fusion/mruby-zest-build/mruby # git apply -v ../../mruby-float-patch.patch

Checking patch include/mruby.h...
Hunk #2 succeeded at 39 (offset 1 line).
Hunk #3 succeeded at 55 (offset 1 line).
Checking patch src/backtrace.c...
error: while searching for:

#ifndef MRB_DISABLE_STDIO

static void
print_backtrace(mrb_state *mrb, mrb_value backtrace)
{
  int i, n;
  FILE *stream = stderr;

  fprintf(stream, "trace:\n");


error: patch failed: src/backtrace.c:209
error: src/backtrace.c: patch does not apply
Checking patch src/fmt_fp.c...
Hunk #1 succeeded at 38 (offset 2 lines). 

I need to make correction on ruby script ?

(minor change) flag -a (append) in build-linux.rb

I propose to use the flag append otherwise the content will be of a single line in place of 3 lines... ;)

cmd "echo 'Version #{CurrentVersion}' | sudo tee -a /opt/zyn-fusion/VERSION"
cmd "echo 'Build on'                  | sudo tee -a /opt/zyn-fusion/VERSION"
cmd "echo `date`                      | sudo tee -a /opt/zyn-fusion/VERSION"

try it as I did... ;)

Zyn fusion exe files do not run GUI correctly

DLL files work correctly, but exe files on both demo and release versions do not open the interface correctly. Running an exe file opens a terminal and GUI window. The GUI window starts at a black screen. Dragging the GUI window off the screen refreshes the part of the GUI window that was hidden, displaying it correctly until dragged off again. Keyboard and mouse inputs work correctly. Sound works normally.

Terminal window debug information seems to be normal.
Sample release version terminal info:

ZynAddSubFX - Copyright (c) 2002-2013 Nasca Octavian Paul and others
                Copyright (c) 2009-2017 Mark McCurry [active maintainer]
This program is free software (GNU GPL v2 or later) and
it comes with ABSOLUTELY NO WARRANTY.

Try 'zynaddsubfx --help' for command-line options.

Sample Rate =           44100
Sound Buffer Size =     256 samples
Internal latency =      5.8 ms
ADsynth Oscil.Size =    1024 samples
lo server running on 19146
[INFO] Nio::start()
Starting Audio: PA
Audio Started
Starting MIDI: NULL
MIDI Started
[INFO] exec-after-init
[INFO] No Windows MIDI Device At id 0
[INFO] No Windows MIDI Device At id 1
[INFO] No Windows MIDI Device At id 2
[INFO] No Windows MIDI Device At id 3
[INFO] No Windows MIDI Device At id 4
[INFO] No Windows MIDI Device At id 5
[INFO] No Windows MIDI Device At id 6
[INFO] No Windows MIDI Device At id 7
[INFO] No Windows MIDI Device At id 8
[INFO] No Windows MIDI Device At id 9
[INFO] startup OSC
[INFO] UI calbacks
[INFO] OSC replay
[INFO] auto_save setup
[INFO] NSM Stuff
[INFO] LASH Stuff
[INFO] Launching Zyn-Fusion...
[INFO] starting subprocess via <zyn-fusion.exe osc.udp://127.0.0.1:19146/>
[INFO] Main Loop...
[INFO:Zyn] setup_pugl()
[INFO:Zyn] zest_tick()
[INFO:Zyn] zest_open()
[INFO:Zyn] Found Assets at C:\Users\strea\Documents\zyn-fusion\zyn-fusion-build-master\zyn-fusion-build-master\zyn-fusion-windows-64bit-release\
[INFO:Zyn] Starting Zyn-Fusion
[INFO:Zyn] Thanks for supporting the developement of this project
[INFO:Zyn] Creating MRuby Interpreter...
[debug] parsing json file
[debug] json parsed succesfully
[INFO:Zyn] zest_setup()
[DEBUG:Zyn] setting up animation fps
[INFO:Zyn] zest_close()
[INFO] Closing MRuby Application...
[INFO] UV UDP Stopped
[Warning] UV Loop Cannot be closed [-4082] (UV_EBUSY=-4082)
[INFO:Zyn] Destroying pugl view

Sample demo mode terminal info:

ZynAddSubFX - Copyright (c) 2002-2013 Nasca Octavian Paul and others
                Copyright (c) 2009-2017 Mark McCurry [active maintainer]
This program is free software (GNU GPL v2 or later) and
it comes with ABSOLUTELY NO WARRANTY.

Try 'zynaddsubfx --help' for command-line options.

Sample Rate =           44100
Sound Buffer Size =     256 samples
Internal latency =      5.8 ms
ADsynth Oscil.Size =    1024 samples
lo server running on 19417
[INFO] Nio::start()
Starting Audio: PA
Audio Started
Starting MIDI: NULL
MIDI Started
[INFO] exec-after-init
[INFO] No Windows MIDI Device At id 0
[INFO] No Windows MIDI Device At id 1
[INFO] No Windows MIDI Device At id 2
[INFO] No Windows MIDI Device At id 3
[INFO] No Windows MIDI Device At id 4
[INFO] No Windows MIDI Device At id 5
[INFO] No Windows MIDI Device At id 6
[INFO] No Windows MIDI Device At id 7
[INFO] No Windows MIDI Device At id 8
[INFO] No Windows MIDI Device At id 9
[INFO] startup OSC
[INFO] UI calbacks
[INFO] OSC replay
[INFO] auto_save setup
[INFO] NSM Stuff
[INFO] LASH Stuff
[INFO] Launching Zyn-Fusion...
[INFO] starting subprocess via <zyn-fusion.exe osc.udp://127.0.0.1:19417/>
[INFO] Main Loop...
[INFO:Zyn] setup_pugl()
[INFO:Zyn] zest_tick()
[INFO:Zyn] zest_open()
[INFO:Zyn] Found Assets at C:\Users\strea\Documents\zyn-fusion\zyn-fusion-build-master\zyn-fusion-build-master\zyn-fusion-windows-64bit-demo\
[INFO:Zyn] Starting Zyn-Fusion Demo...
[INFO:Zyn] Creating MRuby Interpreter...
[debug] parsing json file
[debug] json parsed succesfully
[INFO:Zyn] zest_setup()
[DEBUG:Zyn] setting up animation fps
[INFO:Zyn] zest_close()
[INFO] Closing MRuby Application...
[INFO] UV UDP Stopped
[Warning] UV Loop Cannot be closed [-4082] (UV_EBUSY=-4082)
[INFO:Zyn] Destroying pugl view

Desktop files not installed

The desktop files are installed during the build (with the ruby scripts)
(they are in zynaddsubfx/)
but the install bash script from the created tarball does not even try to install them

Only works once after restarting Ubuntu

The first time I open Zyn, everything works properly. However, when I close it and open it again, it is completely silent. I was loading it with alsa, since it has never worked with jack. Here is the output:

[INFO] Nio::start()
Starting Audio: ALSA
unable to open pcm device: Device or resource busy
ERROR: The default audio output failed to open!
Starting MIDI: ALSA
MIDI Started
[INFO] exec-after-init
[INFO] startup OSC
[INFO] UI calbacks
[INFO] OSC replay
[INFO] auto_save setup
[INFO] NSM Stuff
[INFO] LASH Stuff
[INFO] Launching Zyn-Fusion...
[INFO] Main Loop...
[INFO:Zyn] setup_pugl()
[INFO:Zyn] zest_tick()
[INFO:Zyn] zest_open()
[INFO:Zyn] Found Assets at /opt/zyn-fusion/
[INFO:Zyn] Starting Zyn-Fusion
[INFO:Zyn] Thanks for supporting the developement of this project
[INFO:Zyn] Creating MRuby Interpreter...
[debug] parsing json file
[debug] json parsed succesfully
Time for a fast load is 1.318ms load(0.008) class(0.001) spawn(1.309)...
making reverse graph[1091]<1.905 ms>
[INFO:Zyn] zest_setup()
[DEBUG:Zyn] setting up animation fps

This is running on Ubuntu 18.04 by the way. Let me know if you need more information, thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.