Help finding the right software
Moderators: MattKingUSA, khz
Help finding the right software
Hello,
I'm trying to convert my current Windows setup to a Linux one, for now without success. I need a sampler that triggers a file playback when it receive a MIDI Program Change (can't use notes, I am using a pedalboard that doesn't send them via MIDI).
Here's the chain I am currently using: Boss ES-8 sends a Program Change via MIDI. MIDI-OX converts Program Change to a certain note. TX16Wx plays the sample assigned to that note. Obviously there's a different file on every mapped note. I use that to trigger sound files while playing live.
I have tried different software samplers as qsampler, Petri-foo, Giada, but without success, for a reason or another. Does someone have a solution to do what I am trying to achieve in Linux?
Thanks!
I'm trying to convert my current Windows setup to a Linux one, for now without success. I need a sampler that triggers a file playback when it receive a MIDI Program Change (can't use notes, I am using a pedalboard that doesn't send them via MIDI).
Here's the chain I am currently using: Boss ES-8 sends a Program Change via MIDI. MIDI-OX converts Program Change to a certain note. TX16Wx plays the sample assigned to that note. Obviously there's a different file on every mapped note. I use that to trigger sound files while playing live.
I have tried different software samplers as qsampler, Petri-foo, Giada, but without success, for a reason or another. Does someone have a solution to do what I am trying to achieve in Linux?
Thanks!
- sysrqer
- Established Member
- Posts: 2527
- Joined: Thu Nov 14, 2013 11:47 pm
- Has thanked: 320 times
- Been thanked: 153 times
- Contact:
Re: Help finding the right software
Which part of the process is causing the problem? I'm sure you could do what you need with the samplers you mention. Another you could try is the LSP sampler but in your case I can't see what it would offer that the others can't do.
- bluebell
- Established Member
- Posts: 1927
- Joined: Sat Sep 15, 2012 11:44 am
- Location: Saarland, Germany
- Has thanked: 113 times
- Been thanked: 122 times
Re: Help finding the right software
In general you could load a sampler, say samplv1, into Carla and put a midi processing plugin in front of it.
I wanted to recommend the Midifilter plugins. But I can't find one that converts a program change to a note on while there is one that converts Controller Data (CC) to note on.
At least the problem can be redefined as "find a plugin that can convert program changes to note ons".
I read about a tool named midithings that can do whatever you want if you are willing to do some script-like programming. But I can't find it on the web.
EDIT: It's called mididings, see http://das.nasophon.de/mididings/
I wanted to recommend the Midifilter plugins. But I can't find one that converts a program change to a note on while there is one that converts Controller Data (CC) to note on.
At least the problem can be redefined as "find a plugin that can convert program changes to note ons".
I read about a tool named midithings that can do whatever you want if you are willing to do some script-like programming. But I can't find it on the web.
EDIT: It's called mididings, see http://das.nasophon.de/mididings/
- noedig
- Established Member
- Posts: 239
- Joined: Wed Feb 12, 2014 4:39 am
- Location: South Africa
- Has thanked: 9 times
- Been thanked: 54 times
Re: Help finding the right software
I second Mididings, it works very well.
QMidiRoute will also help you convert Program Change messages to notes.
Here's a video showing how to set it up with PetriFoo.
https://youtu.be/fkmR7CmREh0
QMidiRoute will also help you convert Program Change messages to notes.
Here's a video showing how to set it up with PetriFoo.
https://youtu.be/fkmR7CmREh0
Re: Help finding the right software
I would look at the pizmidi plugins. I think midiConverter3 placed in front of any decent linux sampler in a host. I used to use it to get rudimentary function of my eDrums hihat controller which was sending CC4 and converting that to a note. Available in KXStudio and AUR.
https://bitbucket.org/agraef/pizmidi
https://bitbucket.org/agraef/pizmidi
-
- Established Member
- Posts: 39
- Joined: Sat Aug 29, 2015 3:53 pm
- Has thanked: 9 times
- Been thanked: 6 times
Re: Help finding the right software
If you don't need a GUI you can do something like this in a few lines of bipscript:
bipscript site: http://www.bipscript.org
Code: Select all
local input = Midi.Input("input")
local output = Audio.StereoOutput("output1", "system:playback_1", "system:playback_2")
local clip = Audio.Clip("./test.wav")
input.onProgramChange(function (pc, pos) {
print("pc: " + pc.program() + "\n")
output.play(clip)
})
System.stayAlive()
Re: Help finding the right software
Sorry If I didn't answer back.VanHammen wrote:If you don't need a GUI you can do something like this in a few lines of bipscript:
bipscript site: http://www.bipscript.org
The solution you proposed is awesome. As a programmer, this is a very powerful tool. Your solution was spot on (I just changed onProgramChange to onControl). I didn't find in the documentation were is explained the "function(pc, pos)" part.
Thank you!
-
- Established Member
- Posts: 39
- Joined: Sat Aug 29, 2015 3:53 pm
- Has thanked: 9 times
- Been thanked: 6 times
Re: Help finding the right software
Thank you for the kind words and feedback, you are right the callback parameters need documentation.
Right now I can tell you "pc" is the program change message and "pos" is a time position object that tells when it was received, both of these types will be documented in an upcoming release.
Right now I can tell you "pc" is the program change message and "pos" is a time position object that tells when it was received, both of these types will be documented in an upcoming release.