drum replacement ladspa plugins?

41 replies [Last post]
carter
User offline. Last seen 6 years 2 weeks ago. Offline
Joined: 2007-01-22
Posts:

are there any ladspa plugins out there that act like the drumagog vst? i want to be able to replace snare bass or tom hits easily with midi samples.

sampo
User offline. Last seen 10 weeks 1 day ago. Offline
Joined: 2006-03-16
Posts:

There is none at the moment that I know of. I might convince myself that writing one would be a good idea.

nowhiskey
User offline. Last seen 3 weeks 6 days ago. Offline
Joined: 2006-09-30
Posts:

hi,
perhaps it is worth of trying the "smack" which is a part of the om-synth.
it is a kind of drum sythesizer, praised to be 100% sample-free.
for me, it sounds very good, i got it running in connection with "gneutronica"!
have a look at jackaudio.org/applications, there you will find the links to the sites of
om/gneutronica.

cheers,
doc

hpp3
User offline. Last seen 6 years 50 weeks ago. Offline
Joined: 2007-04-06
Posts:

jackbeat.
http://www.samalyse.com/jackbeat/

Not exactly a plugin, but it works with the jack and therefore easily controlled and recorded with Ardour.

toersi
User offline. Last seen 1 year 15 weeks ago. Offline
Joined: 2007-03-04
Posts:

I have written a LADSPA plugin that could be simular to your needs. It's a simple trigger plugin, that replace the orginal sound with samples from a wave file. I didn't have it published yet, but if you are interested I can start a new project at soureforge.

carter
User offline. Last seen 6 years 2 weeks ago. Offline
Joined: 2007-01-22
Posts:

i am very interested in this. is there any way i could get this?

toersi
User offline. Last seen 1 year 15 weeks ago. Offline
Joined: 2007-03-04
Posts:

Ok, here we go:

I created a new project on sourceforge.net with the name "LADSPA Trigger Plugin". You can go to: http://sourceforge.net/projects/ladspa-trigger/ and download the archive. You have to compile and install it (make && make install). But it's quite simple. I hope it's useful.

carter
User offline. Last seen 6 years 2 weeks ago. Offline
Joined: 2007-01-22
Posts:

thank you for creating this but i am new to linux and dont know how to compile and install. my dad who usually would help me do this isnt around. could you help me out?

toersi
User offline. Last seen 1 year 15 weeks ago. Offline
Joined: 2007-03-04
Posts:

Normally its no problem. Download the archive from the download page and do the following, if you haven't done already:

Change in the directory you downloaded it, than type:

tar -jxf ladspa-trigger-20070411.tar.bz2
cd ladspa-trigger/
make
sudo make install

That will be all. If you want to use your own samples put it into the samples directory before "make install". At the moment only 5 samples are used and have to be named "sample1.wav" to "sample5.wav".

carter
User offline. Last seen 6 years 2 weeks ago. Offline
Joined: 2007-01-22
Posts:

im having some trouble with this.

when i run make i get this

cc1. error: unrecognized command line option "-fnu-stack-protector"

also maybe i do not have this in the right directory. where should plugins be located.

ilostmyfiles
User offline. Last seen 5 years 10 weeks ago. Offline
Joined: 2006-08-26
Posts:

That should be "-fno-stack-protector", and gcc is complaining about what appears to be a typo in the Makefile. Oddly enough, I just downloaded what I believe is the same archive and the typo isn't in there. Anyway, you should be able to open and hand-edit the Makefile; it's in the line that starts with CFLAGS.

carter
User offline. Last seen 6 years 2 weeks ago. Offline
Joined: 2007-01-22
Posts:

excuse me it is “-fno-stack-protector”

what do i need to change in the make file to have it work?

carter
User offline. Last seen 6 years 2 weeks ago. Offline
Joined: 2007-01-22
Posts:

excuse me it is “-fno-stack-protector”

what do i need to change in the make file to have it work?

ilostmyfiles
User offline. Last seen 5 years 10 weeks ago. Offline
Joined: 2006-08-26
Posts:

Ahh... that explains it. Actually you could remove the phrase altogether from the CFLAGS, since you must be using a version of gcc that predates that functionality. Or you could upgrade gcc, which is a bit harder and often fraught with peril. You may want to talk with your dad about upgrading the entire system, as it seems to be using a significantly old compiler-- not a good sign. I could be wrong, though... what distribution/version do you have there?

carter
User offline. Last seen 6 years 2 weeks ago. Offline
Joined: 2007-01-22
Posts:

i use agnula.

if i remove that phrase altogether, will the plugin still work?

ilostmyfiles
User offline. Last seen 5 years 10 weeks ago. Offline
Joined: 2006-08-26
Posts:

Yes, it'll still work. That option simply tells (a newer) gcc not to include a certain security measure in the compiled code. And I don't know anything specific about AGNULA... someone else care to advise?

carter
User offline. Last seen 6 years 2 weeks ago. Offline
Joined: 2007-01-22
Posts:

ok. i have gotten through make and install but when i open ardour and update the plugins list i get this error message.

error. cannot load module "/usr/lib/ladspa/trigger.so" (/usr/lib/ladspa/trigger.so: undefined symbol: stat)

carter
User offline. Last seen 6 years 2 weeks ago. Offline
Joined: 2007-01-22
Posts:

also, about your previous question.
im running Debian 4.0.2-2
linux version 2.6.14-1-multimedia-386

toersi
User offline. Last seen 1 year 15 weeks ago. Offline
Joined: 2007-03-04
Posts:

ilostmyfiles is right. I added this option for the newer version of gcc. You don't need this, if you use gcc older than version 4.1.2 I think. But you have to remove only the "-fno-stack-protector". Not the whole line.

If it doesn't work, please give your gcc version. "gcc --version" give this.

toersi
User offline. Last seen 1 year 15 weeks ago. Offline
Joined: 2007-03-04
Posts:

By the way, you have to "make clean" before you can recompile it with "make". Otherwise it won't have an effect.

ilostmyfiles
User offline. Last seen 5 years 10 weeks ago. Offline
Joined: 2006-08-26
Posts:

That's a relief. Thanks for that, toersi... I was close to correcting myself for assuming too much about carter's toolchain, maybe I still should.

At any rate, I was able to install this plugin and it went without a hitch-- loaded right up in jack-rack. carter, I'm pretty sure that error means it failed linking to glibc, and it'll probably be related to Debian's ways... so now I'm out of my league-- if not already ;)

carter
User offline. Last seen 6 years 2 weeks ago. Offline
Joined: 2007-01-22
Posts:

i got it working. i love it. thanks toersi. and again for you and ilostmyfiles helping to install.

ilostmyfiles
User offline. Last seen 5 years 10 weeks ago. Offline
Joined: 2006-08-26
Posts:

Ah, sweet.

Way to go there... and you're welcome. I see (hear) now what it does... nice one, toersi.

toersi
User offline. Last seen 1 year 15 weeks ago. Offline
Joined: 2007-03-04
Posts:

Thanks! I wrote it a couple of months ago and was surpried how simple it is. But I think I have to do further development on it. If there are any suggestions how to improve it, let me hear!

carter
User offline. Last seen 6 years 2 weeks ago. Offline
Joined: 2007-01-22
Posts:

1) is there any way you could make the treshold and the hold time more independent of each other? somtimes while recording kick drums i have a problem where the double bass is fast and soft and the plugin doesnt want to pick it up. and when it goes back to slow and harder hits it seems to work fine. the opposite is true when i apply the the settings for fast and soft hits, the hard hits dont come through right.

2) this may be more work than it is actually worth, but would there be any way to edit/add or subtract more samples within the plugin itsself without having to install it again? i dont know if this is even possible because i have not tried to replace any of the samples i have uploaded anyways.

slackwarebilly
User offline. Last seen 3 years 24 weeks ago. Offline
Joined: 2006-12-21
Posts:

Woohoo. This is an awesome plugin and it has dymanics!!!! :-O I am free of windoze replacer plugins. All I ask is support for more samples.

Thanks for the plugin!

toersi
User offline. Last seen 1 year 15 weeks ago. Offline
Joined: 2007-03-04
Posts:

I got the time to do some updating and fixing on the trigger-plugin. There was a little bug in the hold-time calculation. Additionally I updated the trigger-engine. I tried to find a good solution for the fast and soft double bass problem, but I couldn't find any. Edit/add or subtract samples will be a good improvement. But LADSPA don't have an interface for file selection. The only possible way I know at the time, will be a config-file in which the paths for the file will be stored.

For testing the new version - download it from SourceForge: http://sourceforge.net/projects/ladspa-trigger/

carter
User offline. Last seen 6 years 2 weeks ago. Offline
Joined: 2007-01-22
Posts:

hey guys. i recently downloaded the 2nd version of this plugin and am having some trouble getting it to work. i have successfully compiled and installed it, however when i go into ardour and hit the update button where the plugin list is it gives me this error message

[ERROR]: LADSPA: cannot load module "/usr/lib/ladspa/trigger.so" (/usr/lib/ladspa/trigger.so: undefined symbol: stat)

can anyone help me out?

toersi
User offline. Last seen 1 year 15 weeks ago. Offline
Joined: 2007-03-04
Posts:

I don't know why the stat() function is not available on all systems. But I just released a new version without this function. So try the beta3 on the sourceforge side (shown above). I hope this will do for you.

Btw. I'm working on a new version where you can manage the loaded samples. Maybe this will available soon.

efti
User offline. Last seen 2 years 14 weeks ago. Offline
Joined: 2008-04-05
Posts:

Hi! I tried the plugin, it compiled and worked perfectly. (I had to manually create the /usr/share/ladspa/samples directory, you may wish to add this step to make install).

The "mode" switch is not immediately obvious to me though. I can see in the source that you call them like this:

1. Normal mode
2. Additional mode
3. Switch mode

To me this implies that in mode 1, only the sample is played, in 2, the original sound and the sample are summed (both are played together) and in 3, the sample either overrides the original sound while it is played, while normal sound is played at other times. Do I get the right idea?

I have one problem as well. There is a noticeable and very annoying click (clip sound) at the end of each sample played (well, kick and snare anyway, not sure about the toms). I have no idea why this occurs, as the samples seem to start and finish on or close to zero and the click even occurs in "normal mode" where nothing else could be introducing any DC offset that could cause this. I tried to edit the samples with Audacity and fade out the end of each sample but it didn't help. Any idea how this could be fixed?

Again, thanks for the plugin, it's great!

Cheers,
Vik

tuttlecr
User offline. Last seen 4 years 47 weeks ago. Offline
Joined: 2009-01-14
Posts:

try replacing the samples all together. I built the plugin with my own samples (I didn't like the originals) and never had this problem.
that is all I can think of.