Comments (6)
Too lazy to fork and do a PR right now, but there's the required change (inline as stupid GH doesn't allow me to attach a patch here):
diff --git a/fluidsynth/src/fluid_defsfont.h b/fluidsynth/src/fluid_defsfont.h
index 29f3fd9..50f987c 100644
--- a/fluidsynth/src/fluid_defsfont.h
+++ b/fluidsynth/src/fluid_defsfont.h
@@ -435,7 +435,7 @@ struct _fluid_defpreset_t
{
fluid_defpreset_t* next;
fluid_defsfont_t* sfont; /* the soundfont this preset belongs to */
- char name[21]; /* the name of the preset */
+ char name[22]; /* the name of the preset */
unsigned int bank; /* the bank number */
unsigned int num; /* the preset number */
fluid_preset_zone_t* global_zone; /* the global zone of the preset */
from gmsynth.lv2.
This patch will have to go upstream to fluidsynth.
see https://github.com/x42/gmsynth.lv2/blob/master/fluidsynth/README
from gmsynth.lv2.
sf.net is down, as usual.
from gmsynth.lv2.
Is this an issue anyway? Bank and preset have limted range in MIDI. "Bank,Preset" and terminating NULL is only 12 chars. The remaining 9 digits are more that sufficient for bank (two or 5 digits, up to 2^14) + preset (3 digits -- up to 2^7)
from gmsynth.lv2.
Yeah, it's probably just a theoretical possibility. So then it's just to make gcc happy and get rid of that warning. :)
from gmsynth.lv2.
upstream issue:
https://github.com/FluidSynth/fluidsynth/blob/768fa225db7a9bcb054a1ff300679baf31188468/src/sfloader/fluid_defsfont.h#L146
from gmsynth.lv2.
Related Issues (6)
- Please make a release, because 0.3.0 isn't compatible with fluidsynth 2.x HOT 6
- Note Names from Midnam
- [ERROR]: Found a reference to a plugin ("http://gareus.org/oss/lv2/gmsynth") that is unknown. HOT 7
- Allow SCL to MTS script to work with GM Synth HOT 1
- Build breaks: expr: not a decimal number: '11-eol-39629'
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gmsynth.lv2.