Code Monkey home page Code Monkey logo

csladspa's Introduction

Csound LADSPA Plugin

This is the Csound plugin for LADSPA.

Building

CsLasdpa requires Csound to be installed in the system, as well as CMake. With that in place, to build the plugin you do

$ mkdir build
$ cd build
$ cmake ..
$ make

csladspa's People

Contributors

vlazzarini avatar kunstmusik avatar jpffitch avatar fsateler avatar gogins avatar titola avatar

Stargazers

Bocke avatar Ed Cashin avatar

Watchers

James Cloos avatar  avatar  avatar  avatar Oskar Wallgren avatar  avatar

Forkers

rorywalsh

csladspa's Issues

csladspa cannot open corrsponding csd-files

After cloning csladspa repos and building csladspa, testing fails with the included example CSOUNDladspa csd files, giving the message:
attempting to load plugin index: 0
PLUGIN NOT LOADED: probably missing csLADSPA section
no more csLADSPA plugins

$ echo $LADSPA_PATH
/usr/lib/ladspa

$ ls -1 /usr/lib/ladspa/
[snip]
csladspa64.so
CSOUNDladspaGain.csd
[snip]

$ analyseplugin csladspa64
attempting to load plugin index: 0
PLUGIN NOT LOADED: probably missing csLADSPA section
no more csLADSPA plugins

$ uname -r
5.9.0-4-amd64

/usr/lib/ladspa/csladspa.so calls free() on something it shouldn't

If I have the cslapspa package installed on 18.04 (this has been reported on 17.10 as well) it causes many apps to crash (Hydrogen, LMMS, Non-Mixer, Ardour, etc) with this message:

free(): invalid pointer
Aborted (core dumped)

Looking at the corefile stacktrace I see this:

#0  0x00007f608bd5ae97 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f608bd5c801 in __GI_abort () at abort.c:79
#2  0x00007f608bda5897 in __libc_message (action=action@entry=do_abort, fmt=fmt@entry=0x7f608bed2b9a "%s\n")
    at ../sysdeps/posix/libc_fatal.c:181
#3  0x00007f608bdac90a in malloc_printerr (str=str@entry=0x7f608bed0d88 "free(): invalid pointer") at malloc.c:5350
#4  0x00007f608bdb3e1c in _int_free (have_lock=0, p=0x7ffe225dfa1e, av=0x7f608c107c40 <main_arena>) at malloc.c:4157
#5  0x00007f608bdb3e1c in __GI___libc_free (mem=0x7ffe225dfa2e) at malloc.c:3124
#6  0x00007f605ecdc320 in  () at /usr/lib/ladspa/csladspa.so
#7  0x00007f605ecdc542 in ladspa_descriptor () at /usr/lib/ladspa/csladspa.so
#8  0x000000000054787e in H2Core::Effects::getPluginList() ()
#9  0x0000000000548a8f in H2Core::Effects::Effects() ()
#10 0x0000000000548afb in H2Core::Effects::create_instance() ()
#11 0x000000000056d864 in H2Core::audioEngine_init() ()
#12 0x000000000056dd10 in H2Core::Hydrogen::Hydrogen() ()
#13 0x000000000056deb5 in H2Core::Hydrogen::create_instance() ()
#14 0x000000000046d2cb in main ()

So it looks like ladspa_descriptor() is to blame.

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.