Coder Social home page Coder Social logo

x42 / avldrums.lv2 Goto Github PK

View Code? Open in Web Editor NEW
38.0 10.0 10.0 194.84 MB

Dedicated AVLDrumkits LV2 Plugin

Home Page: http://x42-plugins.com/x42/x42-avldrums

License: GNU General Public License v2.0

Makefile 0.04% C 99.96%
lv2 drums plugin synth fluidsynth

avldrums.lv2's People

Contributors

falktx avatar snd1 avatar spotlightkid avatar trofi avatar x42 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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

avldrums.lv2's Issues

License confusion

The AVL Drumkits site states that it's CC-BY-SA 3.0 licensed, but this repo is GPL-licensed. Which license is relevant to me when I want to use AVL Drums in my own works? Is there a difference to Harrison Mixbus users?

Thanks for your help.

Please fix clang40 warnings

c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
c++: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
sf2/Black_Pearl_4_LV2.sf2 -> build/Black_Pearl_4_LV2.sf2
sf2/Red_Zeppelin_4_LV2.sf2 -> build/Red_Zeppelin_4_LV2.sf2
fluidsynth/src/fluid_iir_filter.c:284:8: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  if ((abs (fres - iir_filter->last_fres) > 0.01))
       ^
fluidsynth/src/fluid_iir_filter.c:284:8: note: use function 'fabs' instead
  if ((abs (fres - iir_filter->last_fres) > 0.01))
       ^~~
       fabs
1 warning generated.
fluidsynth/src/fluid_defsfont.c:1044:18: warning: comparison of array 'sfpreset->name' not equal to a null pointer is always true [-Wtautological-pointer-compare]
  if ((sfpreset->name != NULL) && (FLUID_STRLEN(sfpreset->name) > 0)) {
       ~~~~~~~~~~^~~~    ~~~~
fluidsynth/src/fluid_defsfont.c:1445:16: warning: comparison of array 'sfinst->name' not equal to a null pointer is always true [-Wtautological-pointer-compare]
  if ((sfinst->name != NULL) && (FLUID_STRLEN(sfinst->name) > 0)) {
       ~~~~~~~~^~~~    ~~~~
2 warnings generated.
fluidsynth/src/fluid_voice.c:1544:12: warning: use of unary operator that may be intended as compound assignment (-=)
      peak =- peak_min;
           ^~
1 warning generated.
strip -s build/avldrumsUI_gl.so
fluidsynth/src/fluid_sys.c:891:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((c == '\n'))
         ~~^~~~~~~
fluidsynth/src/fluid_sys.c:891:12: note: remove extraneous parentheses around the comparison to silence this warning
    if ((c == '\n'))
        ~  ^      ~
fluidsynth/src/fluid_sys.c:891:12: note: use '=' to turn this equality comparison into an assignment
    if ((c == '\n'))
           ^~
           =

Image association with the note

I think it would be useful in the GUI images when pressing something to see for which note is mapped, something like: Snare Edge (E2), Closed Hit-hat (F2#). It would be easier to find the instruments when MIDI editing.

This awesome plugin isn't displaying entire GUI from within MuSE 3.0.2

Fresh install of the latest Ubuntu Studio here running MuSE 3.02

MuSE has been compiled with LV2 support enabled and I've been able to view/use a few of them. I'm new to the platform and apps so don't have much experience to go on. However, despite unzipping the latest 64 bit .zip into ~/.lv2, here's what I see when I attempt to "show native gui" from within MuSE

Screenshot

Extending the window borders does not show the missing menus I believe should exist (going by the youtube videos I've watched). Same thing goes for the Red Zepplin Kit. I'm going to reach out to the MuSE side of things as well but am curious what feedback I'll see from this end.

I also ran the muse3 binary with debugging enabled hoping I'd see some clue when firing up the plugin's GUI. Curiously, no error or interesting debug information is output when I take that action.

I will see if I can reproduce this situation in another DAW and will report back.

Thank you

AVL Drums LV2 plugin not responding at all in MusE

Hello! Tim from the MusE sequencer project here.
I am reaching out for help on some bizarre issues. I am trying to figure out where the problem lies.
Normally I'm very tenacious but I'm spending way too much time with individual plugins ;-) Help!

AVLD's ui opens, but does not seem to respond to left-clicks at all.

Right-click works (Text vs. Tips etc.) and mouse wheel volume works.

There is no animation at all of the drum 'hits' in MusE.
Yet in QTractor it works fine.
On my machine it will not even play the notes we send to it from our pianoroll editor,
drum editor, or piano keyboard or drum list.
But another user says that last bit does work for him but he also does not get the animations !

I verified that lilv_instance_activate() is called, and that lilv_instance_deactivate() is not, too soon.

Is it my understanding that we should be receiving something on the plugin's midi out port?
I get absolutely nothing.
I verified lilv_instance_connect_port() is called on the output port.
I examined the actual memory buffer that we connect the midi out port to.
Seems absolutely nothing being sent to us on that midi out port.

And on receiving such an event, are we to send it to the UI or something?
Could that be why the animations aren't triggered?
(I know that for example, with DSSI we had to send them back to the UI,
but with DSSI-VST it was a very different, very complicated ballgame since the
plugin did that by itself.)

The other user that I mentioned said this, maybe it means something:

It may be a very remote chance that your version of mesa or libinput may have an issue
if you're building it with the latest qt 5.12 on an Ubuntu LTS, I had a similar issue
a while back in Ubuntu 16.04 after compiling Qtractor and not being able to get sound
out of certain plugins when using qt 5.9.

Appreciate any help.
Thanks.

Red Zeppelin LV2 causes Reaper to crash with pipewire on arch linux

I am running arch linux and using the linux native version of reaper. Loading the red zeppelin plugin will often cause the entire project to crash (even with "run as dedicated process" enabled).

I am using pipewire (pw-jack) and this is the output when red zeppelin is loaded without crashing reaper, It does not seem to give any output when it crashes.

the crash often happens when i right click and replace black pearl with red zeppelin.
I am unsure whether it happens the other way around with black pearl as well.
I have only used the 2 out versions of the plugins.

jack: created client
jack: setting TIME_CRITICAL = 81
LC_NUMERIC / LANG is set to 'en_GB.UTF-8', overriding LC_NUMERIC environment to POSIX
jack: activated client
ALSA lib pcm_dsnoop.c:600:(snd_pcm_dsnoop_open) unable to open slave
ALSA lib pcm_dmix.c:1035:(snd_pcm_dmix_open) unable to open slave
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5599:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.hdmi.0:CARD=0,AES0=4,AES1=130,AES2=0,AES3=2'
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5599:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM hdmi
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.modem.0:CARD=0'
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5599:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.modem.0:CARD=0'
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5599:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.modem.0:CARD=0'
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5599:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM phoneline
ALSA lib confmisc.c:1369:(snd_func_refer) Unable to find definition 'cards.0.pcm.modem.0:CARD=0'
ALSA lib conf.c:5111:(_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:5599:(snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2660:(snd_pcm_open_noupdate) Unknown PCM phoneline
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib confmisc.c:160:(snd_config_get_card) Invalid field card
ALSA lib pcm_usb_stream.c:482:(_snd_pcm_usb_stream_open) Invalid card 'card'
ALSA lib pcm_dmix.c:1035:(snd_pcm_dmix_open) unable to open slave
fluidsynth: warning: No preset found on channel 9 [bank=128 prog=0]

I don't entirely understand what is happening but the lines ALSA lib pcm_oss.c:397:(_snd_pcm_oss_open) Cannot open device /dev/dsp and fluidsynth: warning: No preset found on channel 9 [bank=128 prog=0] seem to be different than the rest of the lines which seem to just be alsa going through all the sound devices.

Warnings that seem to be potentially harmful

clang-6 prints these warnings. Please consider fixing.

fluidsynth/src/fluid_iir_filter.c:284:8: warning: using integer absolute value function 'abs' when argument is of floating point type [-Wabsolute-value]
  if ((abs (fres - iir_filter->last_fres) > 0.01))
       ^
fluidsynth/src/fluid_iir_filter.c:284:8: note: use function 'fabs' instead
  if ((abs (fres - iir_filter->last_fres) > 0.01))
       ^~~
       fabs
1 warning generated.
fluidsynth/src/fluid_defsfont.c:1044:18: warning: comparison of array 'sfpreset->name' not equal to a null pointer is always true [-Wtautological-pointer-compare]
  if ((sfpreset->name != NULL) && (FLUID_STRLEN(sfpreset->name) > 0)) {
       ~~~~~~~~~~^~~~    ~~~~
fluidsynth/src/fluid_defsfont.c:1445:16: warning: comparison of array 'sfinst->name' not equal to a null pointer is always true [-Wtautological-pointer-compare]
  if ((sfinst->name != NULL) && (FLUID_STRLEN(sfinst->name) > 0)) {
       ~~~~~~~~^~~~    ~~~~
2 warnings generated.
fluidsynth/src/fluid_voice.c:1544:12: warning: use of unary operator that may be intended as compound assignment (-=)
      peak =- peak_min;
           ^~
1 warning generated.
fluidsynth/src/fluid_sys.c:891:12: warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
    if ((c == '\n'))
         ~~^~~~~~~
fluidsynth/src/fluid_sys.c:891:12: note: remove extraneous parentheses around the comparison to silence this warning
    if ((c == '\n'))
        ~  ^      ~
fluidsynth/src/fluid_sys.c:891:12: note: use '=' to turn this equality comparison into an assignment
    if ((c == '\n'))
           ^~
           =
1 warning generated.

FreeBSD 11.2

Please add avldrum to x42-plugins

Hi,

would it be possible to add this plugin to the x42-plugins repository? This way the AVL drums would quickly be in the Debian package -- or do you think they should be separate?

Cheers,

Bastian

armv7l and aarch64 linux build

i just wanted to let you know that i successfully built avldrums.lv2 on armv7l and aarch64 (ubuntu 18.04) and it works well (tested on both platforms with reaper via carla) ... here are the notes and the patch from my build try: https://github.com/hexdump0815/avldrums-arm-build ... under releases one can find an example build

best wishes and keep up this cool project - hexdump

Add Red Zeppelin 5 kit

The current distribution of AVLDrums also contains a version of the Red Zeppelin Kit with samples of an additional floor tom (instead of the 16" floor tom edge, I believe), called "Red Zeppelin 5".

It would be nice to add variant of the LV2 plugin for this kit too.

This would make a new UI necessary (new picture and new hit map) and maybe even a few changes to the structure of the plugin to support multiple different midnams and text overlays in the UI.

LV2 midnam model string is corrupt

Hello again. This is the output from calling model() and midnam():

LV2 plugin midnam model: 0x10c98730ts-LV2
LV2 plugin midnam XML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE MIDINameDocument PUBLIC "-//MIDI Manufacturers Association//DTD
MIDINameDocument 1.0//EN" "http://www.midi.org/dtds/MIDINameDocument10.dtd">
<MIDINameDocument>
<Author>Glen MacArthur
<MasterDeviceNames>
<Manufacturer>AVL-Drumkits
<Model>0x10c98730ts-LV2
...

This looks broken:

static char*
mn_model (LV2_Handle instance)
{
AVLSynth* self = (AVLSynth*)instance;
char inst[13];
char* rv = malloc (17 * sizeof (char));
sprintf (rv, "AVL-Drumkits-LV2");
snprintf (inst, 12, "%p", self);
memcpy (rv, inst, strlen(inst));
return rv;
}

Also this too, seems there's no extra space inserted for the pointer string,
so it overwrites as seen in the output above:

static char*
mn_file (LV2_Handle instance)
{
#include "midnam.h"
AVLSynth* self = (AVLSynth*)instance;
char* mn = strdup (AVL_Drumkits_midnam);
char inst[13];
snprintf (inst, 12, "%p", self);
memcpy (&mn[0x142], inst, strlen(inst));
return mn;
}

Thanks.
Tim. MusE sequencer project.

AVL Drumkits crash Ardour when using x42-eq (fil4.lv2)

Hi,
Combination of this two plugins causes the LV2 host (ardour nightly and latest release and selfbuild , mixbus) to crash on windows(Win7 64) (cannot check this on linux).

It has something to do with GUI's.

Steps to reproduce:

  1. Insert LV2 Black Pearl or Red Zeppelin on track
  2. Insert x42-eq on the same or another track
  3. Open both GUI's -> crash

error in module suil_win_in_gtk2.dll

Cheers.
Damian

Ardour-debug.log

Update1. : I've downloaded latest binary from site and:

  1. intalled them in CommonFiles/LV2
  2. moved them to Ardour/lib/Ardour6/LV2 overwriting old versions

In both cases they crash Ardour.

Update2. : On Fedora in VMware they are working so it seems this is only windows build issue.

Soundfonts questions

Hi

As 'packager' for embedded devices (currently my main target is Raspi3) I am at avldrums.lv2. In my environment I have already the soundfonts from http://www.bandshed.net/avldrumkits/ and would like to avoid redundancies by just creating some links in avldrums.lv2

Now my questions:

  • The fonts shipped here have different size than those from avldrumkits. Are the original ones compatible to those shipped here?
  • If yes: In the avldrumkits there are Black_Pearl_4A-1.1.sf2 and Black_Pearl_4B-1.1.sf2. Which one do you suggest?

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.