Qsynth, Carla sf2 strange vibrato....

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

Post Reply
krilosax
Established Member
Posts: 9
Joined: Fri Jan 27, 2023 11:20 am

Qsynth, Carla sf2 strange vibrato....

Post by krilosax »

Hi all, i'm new in this forum.
I'm a amateur musician, but have various years using ubuntu and creating music.

the problem:
i have a midi controller (novation impulse 61), really likes me.

when i connect it to qsynth or carla to use a sf2 the sound is bad, like a vibrato, like the modwheel (midi CC #1) is on 127.
but testing with vmpk sound good, till use my midi controller

via qtractor with calf fluidsynth lv2 or fluidsynth-dssi no problem, only happen with carla and qsynth.

somebody know why?, Need more info to help me?.

P.D: Sorry for my bad english

User avatar
LAM
Established Member
Posts: 992
Joined: Thu Oct 08, 2020 3:16 pm
Has thanked: 140 times
Been thanked: 348 times

Re: Qsynth, Carla sf2 strange vibrato....

Post by LAM »

krilosax wrote: Fri Jan 27, 2023 11:37 am

when i connect it to qsynth or carla to use a sf2 the sound is bad, like a vibrato, like the modwheel (midi CC #1) is on 127.

First thing to check if that's really the case of your MIDI controller sending CC#1 value of 127. You can use a MIDI monitor application like gmidimonitor or plugin like Sherlock MIDI Inspector and connect your MIDI controller to it.

in mix, nobody can hear your screen

krilosax
Established Member
Posts: 9
Joined: Fri Jan 27, 2023 11:20 am

Re: Qsynth, Carla sf2 strange vibrato....

Post by krilosax »

the qsynth message show me midi signal, the modwheel is in 0, when i move it more vibrato

krilosax
Established Member
Posts: 9
Joined: Fri Jan 27, 2023 11:20 am

Re: Qsynth, Carla sf2 strange vibrato....

Post by krilosax »

LAM wrote: Fri Jan 27, 2023 12:12 pm
krilosax wrote: Fri Jan 27, 2023 11:37 am

when i connect it to qsynth or carla to use a sf2 the sound is bad, like a vibrato, like the modwheel (midi CC #1) is on 127.

First thing to check if that's really the case of your MIDI controller sending CC#1 value of 127. You can use a MIDI monitor application like gmidimonitor or plugin like Sherlock MIDI Inspector and connect your MIDI controller to it.

checked and not this, as i say calf fluidsynth plugin work perfectly.

must be a midi signal from my keyboard, but i don't know...

may be would be a good idea restore the fluidsynth engine config, but i don't know how

krilosax
Established Member
Posts: 9
Joined: Fri Jan 27, 2023 11:20 am

Re: Qsynth, Carla sf2 strange vibrato....

Post by krilosax »

Here an example of my problem, please listen the audio.

the diference in midi signal is this:

with the keyboard (impulse 61) i got this message:
"fluidsynth: channelpressure 0 109"

with vmpk no.

Attachments
impulse_cc1_127.mp3
With impulse 61 modwhell in 127
(87.21 KiB) Downloaded 40 times
impulse_cc1_0.mp3
With impulse 61 modwheel in 0
(132.04 KiB) Downloaded 41 times
vmpk.mp3
with vmpk good sound
(94.28 KiB) Downloaded 37 times
User avatar
LAM
Established Member
Posts: 992
Joined: Thu Oct 08, 2020 3:16 pm
Has thanked: 140 times
Been thanked: 348 times

Re: Qsynth, Carla sf2 strange vibrato....

Post by LAM »

krilosax wrote: Fri Jan 27, 2023 3:35 pm

with the keyboard (impulse 61) i got this message:
"fluidsynth: channelpressure 0 109"

Nice, you found the culprit. :)
Channel Pressure

in mix, nobody can hear your screen

User avatar
Impostor
Established Member
Posts: 1337
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 138 times
Been thanked: 346 times

Re: Qsynth, Carla sf2 strange vibrato....

Post by Impostor »

To play with fluidsynth without GUI (works on Linux Mint. Maybe you need to adjust certain things on other distro):

Turn on the midi keyboard.
Copy script below, adjust it to your situation*, save it somewhere in your home folder. Call it fluid.sh. Right-click, tick allow running as executable. Right-click containing folder: open in terminal. Run

Code: Select all

./fluid.sh

Now you should be able to play. Now, in terminal, with command aseqdump -p mn:k, with mn:k the actual port of your midi keyboard (again find out with aconnect -o), like 24:0 or something, you can see all midi commands sent by your keyboard.


*Do change path-to-your-soundfont.sf2 to your actual path, and change keyboard-identifier to a string which identifies with your midi keyboard (you can find out in a terminal with the command "aconnect -o", maybe something like novation or impulse?).

SCRIPT:

Code: Select all

#!/bin/bash

fluidsynth --server --no-shell --audio-driver=pulseaudio -o audio.period-size=512 -r 48000 -g 1.0 path-to-your-soundfont.sf2 &>/tmp/fluidsynth.out &

sleep 2

keyboard=$(aconnect -i | grep -i "keyboard-identifier" | head -1 | cut -d ' ' -f 2)0
fluidsynth=$(aconnect -o | grep -i "fluid" | head -1 | cut -d ' ' -f 2)0
aconnect $keyboard $fluidsynth

Edit: removed the killswitch which isn't necessary for you.

Last edited by Impostor on Fri Jan 27, 2023 4:12 pm, edited 1 time in total.
krilosax
Established Member
Posts: 9
Joined: Fri Jan 27, 2023 11:20 am

Re: Qsynth, Carla sf2 strange vibrato....

Post by krilosax »

LAM wrote: Fri Jan 27, 2023 3:39 pm
krilosax wrote: Fri Jan 27, 2023 3:35 pm

with the keyboard (impulse 61) i got this message:
"fluidsynth: channelpressure 0 109"

Nice, you found the culprit. :)
Channel Pressure

Good, any idea how can i fix it?

krilosax
Established Member
Posts: 9
Joined: Fri Jan 27, 2023 11:20 am

Re: Qsynth, Carla sf2 strange vibrato....

Post by krilosax »

Impostor wrote: Fri Jan 27, 2023 3:56 pm

To play with fluidsynth without GUI (works on Linux Mint. Maybe you need to adjust certain things on other distro):

Turn on the midi keyboard.
Copy script below, adjust it to your situation*, save it somewhere in your home folder. Call it fluid.sh. Right-click, tick allow running as executable. Right-click containing folder: open in terminal. Run

Code: Select all

./fluid.sh

Now you should be able to play.


*Do change path-to-your-soundfont.sf2 to your actual path, and change keyboard-identifier to a string which identifies with your midi keyboard (you can find out in a terminal with the command "aconnect -o", maybe something like novation or impulse?).

SCRIPT:

Code: Select all

#!/bin/bash

fluidsynth --server --no-shell --audio-driver=pulseaudio -o audio.period-size=512 -r 48000 -g 1.0 path-to-your-soundfont.sf2 &>/tmp/fluidsynth.out &

sleep 2

keyboard=$(aconnect -i | grep -i "keyboard-identifier" | head -1 | cut -d ' ' -f 2)0
fluidsynth=$(aconnect -o | grep -i "fluid" | head -1 | cut -d ' ' -f 2)0
aconnect $keyboard $fluidsynth

Edit: removed the killswitch which isn't necessary for you.

Thanks, but i need a gui, for many reason...

User avatar
Impostor
Established Member
Posts: 1337
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 138 times
Been thanked: 346 times

Re: Qsynth, Carla sf2 strange vibrato....

Post by Impostor »

krilosax wrote: Fri Jan 27, 2023 4:07 pm

Thanks, but i need a gui, for many reason...

Yes, but I gave the option for troubleshooting purposes..

User avatar
Impostor
Established Member
Posts: 1337
Joined: Wed Aug 17, 2022 1:55 pm
Has thanked: 138 times
Been thanked: 346 times

Re: Qsynth, Carla sf2 strange vibrato....

Post by Impostor »

krilosax wrote: Fri Jan 27, 2023 4:06 pm

Nice, you found the culprit. :)
Channel Pressure

Good, any idea how can i fix it?
[/quote]

I'd first reset the midi keyboard to its factory defaults.

krilosax
Established Member
Posts: 9
Joined: Fri Jan 27, 2023 11:20 am

Re: Qsynth, Carla sf2 strange vibrato....

Post by krilosax »

Impostor wrote: Fri Jan 27, 2023 5:03 pm
krilosax wrote: Fri Jan 27, 2023 4:06 pm

Nice, you found the culprit. :)
Channel Pressure

Good, any idea how can i fix it?

I'd first reset the midi keyboard to its factory defaults.
[/quote]

i do that before posting, may be the keyboard have the option, let me see...

User avatar
LAM
Established Member
Posts: 992
Joined: Thu Oct 08, 2020 3:16 pm
Has thanked: 140 times
Been thanked: 348 times

Re: Qsynth, Carla sf2 strange vibrato....

Post by LAM »

krilosax wrote: Fri Jan 27, 2023 5:38 pm
Impostor wrote: Fri Jan 27, 2023 5:03 pm
krilosax wrote: Fri Jan 27, 2023 4:06 pm

Nice, you found the culprit. :)
Channel Pressure

Good, any idea how can i fix it?

I'd first reset the midi keyboard to its factory defaults.

i do that before posting, may be the keyboard have the option, let me see...
[/quote]

In case you can't find a way to disable Channel Pressure directly in your MIDI controller you can use MIDI Event Filter to block it.

Attachments
2023-01-27_18.57.38.565.png
2023-01-27_18.57.38.565.png (52.41 KiB) Viewed 1032 times

in mix, nobody can hear your screen

krilosax
Established Member
Posts: 9
Joined: Fri Jan 27, 2023 11:20 am

Re: Qsynth, Carla sf2 strange vibrato....

Post by krilosax »

LAM wrote: Fri Jan 27, 2023 5:58 pm
krilosax wrote: Fri Jan 27, 2023 5:38 pm
Impostor wrote: Fri Jan 27, 2023 5:03 pm

Good, any idea how can i fix it?

I'd first reset the midi keyboard to its factory defaults.

i do that before posting, may be the keyboard have the option, let me see...

In case you can't find a way to disable Channel Pressure directly in your MIDI controller you can use MIDI Event Filter to block it.
[/quote]

Well a solution for carla, disabled channel pressure and its ok from my keyboard. i would like to know if there's a way to do the same in qsynth

Thanks a lot for your help

Attachments
Captura de pantalla_2023-01-27_14-16-59.png
Captura de pantalla_2023-01-27_14-16-59.png (157.81 KiB) Viewed 1019 times
krilosax
Established Member
Posts: 9
Joined: Fri Jan 27, 2023 11:20 am

Re: Qsynth, Carla sf2 strange vibrato.... (SOLVED)

Post by krilosax »

Finally, found the aftertouch option in my keyboard. everything work fine for now.

Post Reply