Welcome, Guest
Username: Password: Remember me

TOPIC: key switch with Poyphone/af2

key switch with Poyphone/af2 3 years 10 months ago #1

  • reduciVV
  • reduciVV's Avatar
  • Offline
  • New Member
  • Posts: 3
With SoundFont in Sfz format it is possible to use key switching.
I see no possibility with sf2 files, is it right? Or there are maybe other ways?
The administrator has disabled public write access.

key switch with Poyphone/af2 3 years 8 months ago #2

  • Davy
  • Davy's Avatar
  • Offline
  • Administrator
  • Organ enthusiast and creator of Polyphone
  • Posts: 397
  • Thank you received: 89
This is indeed not possible with the sf2 format and there is no way to introduce random signal to select one sample or another...
If you absolutely need to use the sf2 format you would need to add an extra layer between the keyboard and the sound generator: a layer that processes midi signals and introduces a change in the preset number for instance.
The administrator has disabled public write access.

key switch with Poyphone/af2 1 week 2 days ago #3

  • alawab
  • alawab's Avatar
  • Offline
  • New Member
  • Posts: 13
Davy wrote:
This is indeed not possible with the sf2 format and there is no way to introduce random signal to select one sample or another...
If you absolutely need to use the sf2 format you would need to add an extra layer between the keyboard and the sound generator: a layer that processes midi signals and introduces a change in the preset number for instance.

Hi Davy,

I know this is an old topic, but I really want to figure it out.

How I suppose to do exactly to make midi cc able to change the bank preset number of SF2? I am really suffer from this articulation triggering problem :(

And I really like this open source format and software, thank you a lot for doing this good job!
The administrator has disabled public write access.

key switch with Poyphone/af2 3 days 7 hours ago #4

  • Davy
  • Davy's Avatar
  • Offline
  • Administrator
  • Organ enthusiast and creator of Polyphone
  • Posts: 397
  • Thank you received: 89
The soundfont format doesn't allow a program change based on a CC value. You will need to use either another format such as sfz with key switches or conditional starts, or if you want to stick with the sf2 format you will need an extra processing layer between the MIDI source and the sound engine that reads the soundfont.

The only system I know is jOrgan that redirects / processes / filters MIDI signals before they arrive to their destination, which is Fluidsynth in this configuration (Fluidsynth is a sound engine using soundfonts). But jOrgan might not be the simplest solution since its purpose is to create an organ interface. Its learning curve is quite steep.
The administrator has disabled public write access.
Time to create page: 0.049 seconds
Cron Job Starts