Coder Social home page Coder Social logo

gmsynth.lv2's People

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

gmsynth.lv2's Issues

Note Names from Midnam

Currently GMSynth uses Midnam to display patch names.

When used in combination with Ardour there is also the ability to display Note Names associated with the patch name.

Untuned Percussion is a great target to contain Midnam Note Names, and to give the user a clear understanding of what sound any MIDI note will create.

Build breaks: expr: not a decimal number: '11-eol-39629'

gmake[2]: Entering directory '/disk-samsung/freebsd-ports/audio/gmsynth-lv2/work/gmsynth.lv2-0.5.1'
Version: 11-eol-39629 -> 11-eol-39629 11-eol-39629 11-eol-39629 11-eol-39629
expr: not a decimal number: '11-eol-39629'
git2lv2.mk:37: *** "Cannot extract required LV2 minor-version parameter".  Stop.

[ERROR]: Found a reference to a plugin ("http://gareus.org/oss/lv2/gmsynth") that is unknown.

Hi.

I'm not sure if this is the right place to ask about this error, I'm really new in this community so please don't kill me :)

I tried to import a tutorial session that uses the gmsynth plugin in a fresh install of Ardour6 (again new to me..) and I get the above error.

I did a bit of research and found that this error could be related to some kind of unique URI that is used to identify a LV2 plugin.. (again not sure I'm using the right words)

Anyways, I landed on the homepage of this project (https://x42-plugins.com/x42/x42-gmsynth) which led me to the source..
I skip the details... I noticed that the URI defined in the source (GFS_URN "http://gareus.org/oss/lv2/gmsynth") was different from the homepage...So my (naive) guess was that the reference to the plugin changed(?) and that it would be the reason I get the error ?

I then tried to change the URI in the source, I also had to change the name of some files to be able to make the project.

Here is What I tried so far :

I defined the URI like so: GFS_URN "https://x42-plugins.com/x42/x42-gmsynth"
I rename the gmsynth.c file to x42-gmsynth.c
I renamed gmsynth.ttl.in to x42-gmsynth.ttl.in
And changed to URL accordingly everywhere I could find it...

Right now you may have understood that the above didn't work at all.. Hence my presence here and this post that looks like a stackoverflow post... My bad :/

Anyhow, do you have any idea what might be wrong and why Ardour can't use the plugin ?

I feel stuck as I tried what I could with the knowledge I have (I'm not a C developer, and this is the first time I install a DAW )
Thanks for reading!

Edit: I forgot to mention that I've defined my LV2_PATH= $HOME/.lv2 and even tried the system-wide approach and placed the plugin in /usr/lib/lv2. So I guess the Ardour finds the plugin ? I'm obviously missing something...

gcc compiler warning about potential buffer overflow

Hi Robin, my students pointed me to this plugin as an easier-to-use, no-fuzz alternative of Ardour's a-Fluid Synth, which got a lot of use in my Ardour course this semester. It's nice indeed, I think I'll ask David to package it up for Arch now that he's the multimedia overlord there. :)

Anyway, gcc 7.2.1 spits out this warning during make:

fluidsynth/src/fluid_defsfont.c: In function ‘fluid_defpreset_import_sfont’:
fluidsynth/src/fluid_defsfont.c:1047:49: warning: ‘sprintf’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
     FLUID_SPRINTF(preset->name, "Bank%d,Preset%d", sfpreset->bank, sfpreset->prenum);
                                                 ^
In file included from fluidsynth/src/fluid_defsfont.h:29:0,
                 from fluidsynth/src/fluid_defsfont.c:25:
fluidsynth/src/fluidsynth_priv.h:240:38: note: ‘sprintf’ output between 14 and 22 bytes into a destination of size 21
 #define FLUID_SPRINTF                sprintf
fluidsynth/src/fluid_defsfont.c:1047:5: note: in expansion of macro ‘FLUID_SPRINTF’
     FLUID_SPRINTF(preset->name, "Bank%d,Preset%d", sfpreset->bank, sfpreset->prenum);
     ^~~~~~~~~~~~~

Which, if you do the math (11 bytes text, 1 NUL byte + 2*5 bytes for the two short values) does make sense, although I doubt that the issue will arise in practice as you're shipping with a preconfigured soundfont. Might be a good idea to fix that buffer size anyway, though.

(Also, if this also is in the upstream fluidsynth source, that might explain some of the seemingly random crashes I had with various fluidsynth-based LV2 plugins in the past.)

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.