Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-31 Thread Ceresa Jean-Jacques
odulators . Anyway at the end, the right way would be to add theses required modulators in the soundfont.   Have a good aftertouch !   jjc       > Message du 30/05/17 21:10 > De : "Marcus Weseloh" > A : "FluidSynth mailing list" > Copie à : > Objet : Re:

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-30 Thread Marcus Weseloh
2017-05-30 19:24 GMT+02:00 Kjetil Matheussen : > Great! The patch + hack works perfectly as far as I can see (except [1]). > Applied like this: > > patch -p1 < polyphonic_pressure.v1.patch > patch -p1 < poly_to_att_hack.patch > patch -p1 < lower_boundary_check.patch > Excellent, thanks a lot for

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-30 Thread Kjetil Matheussen
On Wed, May 24, 2017 at 1:22 AM, Marcus Weseloh wrote: > Hi all, > > I've added a test MIDI file and soundfont to the ticket: > https://sourceforge.net/p/fluidsynth/tickets/50/#b976 > > And Kjetil: if you really want to use the key pressure as volume control > by default in a non-standard way, yo

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-25 Thread Marcus Weseloh
Hello again, while doing more testing with the key pressure patch I noticed a small bug in the fluid_voice_get_lower_boundary_for_attenuation function: https://sourceforge.net/p/fluidsynth/tickets/165/ So if you want to test or use the key pressure patch to control the volume (initial attenuation

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-23 Thread Aere Greenway
All: You can easily map one control message to a different control message, using a MIDI router, such as qmidiroute. - Aere On 05/23/2017 05:22 PM, Marcus Weseloh wrote: Hi all, I've added a test MIDI file and soundfont to the ticket: https://sourceforge.net/p/fluidsynth/tickets/50/#b976

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-23 Thread Marcus Weseloh
Hi all, I've added a test MIDI file and soundfont to the ticket: https://sourceforge.net/p/fluidsynth/tickets/50/#b976 And Kjetil: if you really want to use the key pressure as volume control by default in a non-standard way, you could always hack the modulator into your fluidsynth copy. A patch

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-23 Thread Marcus Weseloh
Hi Aere, 2017-05-23 16:47 GMT+02:00 Aere Greenway : > > I have been using FluidSynth for years, by way of the Qsynth GUI > interface, with a synthesizer having aftertouch (which it actually does by > sending Channel Pressure MIDI control messages). > > It has always had the same effect as the mod

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-23 Thread Aere Greenway
On 05/23/2017 06:33 AM, Marcus Weseloh wrote: 2017-05-23 14:00 GMT+02:00 Kjetil Matheussen >: So when fluidsynth receives these bytes: 0xa0 0x60 0x10 0x90 0x60 0x70 Is the note played with a volume value of 0x10? That depends on the modulato

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-23 Thread Kjetil Matheussen
On Tue, May 23, 2017 at 2:59 PM, Marcus Weseloh wrote: > > 2017-05-23 14:43 GMT+02:00 Kjetil Matheussen : > >> Thanks for the explanation! It seems seems like polyphonic aftertouch >> is a more advanced feature than I though, and you know a lot more >> about this than me. I thought polyphonic aft

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-23 Thread Marcus Weseloh
2017-05-23 14:43 GMT+02:00 Kjetil Matheussen : > Thanks for the explanation! It seems seems like polyphonic aftertouch > is a more advanced feature than I though, and you know a lot more > about this than me. I thought polyphonic aftertouch was just a way to > change the individual volume of singl

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-23 Thread Kjetil Matheussen
On Tue, May 23, 2017 at 2:33 PM, Marcus Weseloh wrote: > > 2017-05-23 14:00 GMT+02:00 Kjetil Matheussen : > >> So when fluidsynth receives these bytes: >> >> 0xa0 0x60 0x10 >> 0x90 0x60 0x70 >> >> Is the note played with a volume value of 0x10? >> > > That depends on the modulators on the instrum

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-23 Thread Marcus Weseloh
2017-05-23 14:00 GMT+02:00 Kjetil Matheussen : > So when fluidsynth receives these bytes: > > 0xa0 0x60 0x10 > 0x90 0x60 0x70 > > Is the note played with a volume value of 0x10? > That depends on the modulators on the instrument. Polyphonic aftertouch is not one of the standard modulators, so it

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-23 Thread Kjetil Matheussen
On Tue, May 23, 2017 at 1:32 PM, Marcus Weseloh wrote: > Hi, > > 2017-05-23 13:07 GMT+02:00 Kjetil Matheussen : > >> Great work! I've been meaning to implement this myself for many years but >> never got started. I'm going to apply your patch to the fluidsynth in >> Radium, since it has good supp

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-23 Thread Marcus Weseloh
Hi, 2017-05-23 13:07 GMT+02:00 Kjetil Matheussen : > Great work! I've been meaning to implement this myself for many years but > never got started. I'm going to apply your patch to the fluidsynth in > Radium, since it has good support for polyphonic aftertouch, and see how it > works. If it works

Re: [fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-23 Thread Kjetil Matheussen
Great work! I've been meaning to implement this myself for many years but never got started. I'm going to apply your patch to the fluidsynth in Radium, since it has good support for polyphonic aftertouch, and see how it works. If it works, I'm going to keep it in the next release of Radium. I've a

[fluid-dev] New patch: polyphonic key pressure (aftertouch)

2017-05-22 Thread Marcus Weseloh
Hi all, I need polyphonic aftertouch for a project of mine and noticed that FluidSynth doesn't support it yet. So I've created a patch that adds that functionality. I have tested it with command line MIDI rendering and via the alsa_raw and the alsa_seq inputs. It does seem to work as expected. How