GeekFunkLabs / fluidpatcher

A performance-oriented patch interface for FluidSynth
MIT License
124 stars 15 forks source link

RFE: adding all instruments from FluidR3_GM.sf2 #69

Closed zenfish closed 12 months ago

zenfish commented 1 year ago

First - thanks! The Squishbox works like a champ (may send notes of some minor issues, but for now, gr8) I'd just set up a raspberry with similar functionality, but your little box brings a much nicer physical interface to the metaphorical table.

Secondly - noticed you used the ubiquitous FluidR3_GM.sf2 sound font... there's an example at:

https://gist.github.com/albedozero/721442c1d112839c71fd8f7d9ce1a98b

It runs through the full number (close to 200 different instruments)... if you simply put the file (any reasonable file name ending in .yaml seems to work) in "SquishBox/banks", your basic "router_rules" at the top of the file, it works like a champ. You might consider putting it as one of your sample bank files, but of course YMMV... scrolling through even 200 patches doesn't take that long, and it's all the more impressive when kicking the tires of the squishbox.

You may have this somewhere in your notes/dox, but I didn't see it.

Tnx again!

Stooovie commented 1 year ago

No matter what I do, doesn't work for me. I did copy the router_rules section, and the init section on the bottom, i did put the proper filename into squishboxconf.yaml, yet upon reboot it just doesn't play. The file looks like this and produces no sound at all at any channel or patch number:


router_rules:
  - {type: cc, chan: 1=2-16, par1: 7}
  - {type: cc, chan: 1=2-6, par1: 1}
  - {type: cc, chan: 1=2-6, par1: 64}
  - {type: cc, chan: 1=2-6, par1: 91}
  - {type: pbend, chan: 1=2-6}

patches:
  Yamaha Grand Piano:
    1: FluidR3_GM.sf2:000:000
  Bright Yamaha Grand:
    1: FluidR3_GM.sf2:000:001
  Electric Piano:
    1: FluidR3_GM.sf2:000:002
  Honky Tonk:
    1: FluidR3_GM.sf2:000:003
  Rhodes EP:
    1: FluidR3_GM.sf2:000:004
  Legend EP 2:
    1: FluidR3_GM.sf2:000:005
  Harpsichord:
    1: FluidR3_GM.sf2:000:006
  Clavinet:
    1: FluidR3_GM.sf2:000:007
  Celesta:
    1: FluidR3_GM.sf2:000:008
  Glockenspiel:
    1: FluidR3_GM.sf2:000:009
  Music Box:
    1: FluidR3_GM.sf2:000:010
  Vibraphone:
    1: FluidR3_GM.sf2:000:011
  Marimba:
    1: FluidR3_GM.sf2:000:012
  Xylophone:
    1: FluidR3_GM.sf2:000:013
  Tubular Bells:
    1: FluidR3_GM.sf2:000:014
  Dulcimer:
    1: FluidR3_GM.sf2:000:015
  DrawbarOrgan:
    1: FluidR3_GM.sf2:000:016
  Percussive Organ:
    1: FluidR3_GM.sf2:000:017
  Rock Organ:
    1: FluidR3_GM.sf2:000:018
  Church Organ:
    1: FluidR3_GM.sf2:000:019
  Reed Organ:
    1: FluidR3_GM.sf2:000:020
  Accordian:
    1: FluidR3_GM.sf2:000:021
  Harmonica:
    1: FluidR3_GM.sf2:000:022
  Bandoneon:
    1: FluidR3_GM.sf2:000:023
  Nylon String Guitar:
    1: FluidR3_GM.sf2:000:024
  Steel String Guitar:
    1: FluidR3_GM.sf2:000:025
  Jazz Guitar:
    1: FluidR3_GM.sf2:000:026
  Clean Guitar:
    1: FluidR3_GM.sf2:000:027
  Palm Muted Guitar:
    1: FluidR3_GM.sf2:000:028
  Overdrive Guitar:
    1: FluidR3_GM.sf2:000:029
  Distortion Guitar:
    1: FluidR3_GM.sf2:000:030
  Guitar Harmonics:
    1: FluidR3_GM.sf2:000:031
  Acoustic Bass:
    1: FluidR3_GM.sf2:000:032
  Fingered Bass:
    1: FluidR3_GM.sf2:000:033
  Picked Bass:
    1: FluidR3_GM.sf2:000:034
  Fretless Bass:
    1: FluidR3_GM.sf2:000:035
  Slap Bass:
    1: FluidR3_GM.sf2:000:036
  Pop Bass:
    1: FluidR3_GM.sf2:000:037
  Synth Bass 1:
    1: FluidR3_GM.sf2:000:038
  Synth Bass 2:
    1: FluidR3_GM.sf2:000:039
  Violin:
    1: FluidR3_GM.sf2:000:040
  Viola:
    1: FluidR3_GM.sf2:000:041
  Cello:
    1: FluidR3_GM.sf2:000:042
  Contrabass:
    1: FluidR3_GM.sf2:000:043
  Tremolo:
    1: FluidR3_GM.sf2:000:044
  Pizzicato Section:
    1: FluidR3_GM.sf2:000:045
  Harp:
    1: FluidR3_GM.sf2:000:046
  Timpani:
    1: FluidR3_GM.sf2:000:047
  Strings:
    1: FluidR3_GM.sf2:000:048
  Slow Strings:
    1: FluidR3_GM.sf2:000:049
  Synth Strings 1:
    1: FluidR3_GM.sf2:000:050
  Synth Strings 2:
    1: FluidR3_GM.sf2:000:051
  Ahh Choir:
    1: FluidR3_GM.sf2:000:052
  Ohh Voices:
    1: FluidR3_GM.sf2:000:053
  Synth Voice:
    1: FluidR3_GM.sf2:000:054
  Orchestra Hit:
    1: FluidR3_GM.sf2:000:055
  Trumpet:
    1: FluidR3_GM.sf2:000:056
  Trombone:
    1: FluidR3_GM.sf2:000:057
  Tuba:
    1: FluidR3_GM.sf2:000:058
  Muted Trumpet:
    1: FluidR3_GM.sf2:000:059
  French Horns:
    1: FluidR3_GM.sf2:000:060
  Brass Section:
    1: FluidR3_GM.sf2:000:061
  Synth Brass 1:
    1: FluidR3_GM.sf2:000:062
  Synth Brass 2:
    1: FluidR3_GM.sf2:000:063
  Soprano Sax:
    1: FluidR3_GM.sf2:000:064
  Alto Sax:
    1: FluidR3_GM.sf2:000:065
  Tenor Sax:
    1: FluidR3_GM.sf2:000:066
  Baritone Sax:
    1: FluidR3_GM.sf2:000:067
  Oboe:
    1: FluidR3_GM.sf2:000:068
  English Horn:
    1: FluidR3_GM.sf2:000:069
  Bassoon:
    1: FluidR3_GM.sf2:000:070
  Clarinet:
    1: FluidR3_GM.sf2:000:071
  Piccolo:
    1: FluidR3_GM.sf2:000:072
  Flute:
    1: FluidR3_GM.sf2:000:073
  Recorder:
    1: FluidR3_GM.sf2:000:074
  Pan Flute:
    1: FluidR3_GM.sf2:000:075
  Bottle Chiff:
    1: FluidR3_GM.sf2:000:076
  Shakuhachi:
    1: FluidR3_GM.sf2:000:077
  Whistle:
    1: FluidR3_GM.sf2:000:078
  Ocarina:
    1: FluidR3_GM.sf2:000:079
  Square Lead:
    1: FluidR3_GM.sf2:000:080
  Saw Wave:
    1: FluidR3_GM.sf2:000:081
  Calliope Lead:
    1: FluidR3_GM.sf2:000:082
  Chiffer Lead:
    1: FluidR3_GM.sf2:000:083
  Charang:
    1: FluidR3_GM.sf2:000:084
  Solo Vox:
    1: FluidR3_GM.sf2:000:085
  Fifth Sawtooth Wave:
    1: FluidR3_GM.sf2:000:086
  Bass & Lead:
    1: FluidR3_GM.sf2:000:087
  Fantasia:
    1: FluidR3_GM.sf2:000:088
  Warm Pad:
    1: FluidR3_GM.sf2:000:089
  Polysynth:
    1: FluidR3_GM.sf2:000:090
  Space Voice:
    1: FluidR3_GM.sf2:000:091
  Bowed Glass:
    1: FluidR3_GM.sf2:000:092
  Metal Pad:
    1: FluidR3_GM.sf2:000:093
  Halo Pad:
    1: FluidR3_GM.sf2:000:094
  Sweep Pad:
    1: FluidR3_GM.sf2:000:095
  Ice Rain:
    1: FluidR3_GM.sf2:000:096
  Soundtrack:
    1: FluidR3_GM.sf2:000:097
  Crystal:
    1: FluidR3_GM.sf2:000:098
  Atmosphere:
    1: FluidR3_GM.sf2:000:099
  Brightness:
    1: FluidR3_GM.sf2:000:100
  Goblin:
    1: FluidR3_GM.sf2:000:101
  Echo Drops:
    1: FluidR3_GM.sf2:000:102
  Star Theme:
    1: FluidR3_GM.sf2:000:103
  Sitar:
    1: FluidR3_GM.sf2:000:104
  Banjo:
    1: FluidR3_GM.sf2:000:105
  Shamisen:
    1: FluidR3_GM.sf2:000:106
  Koto:
    1: FluidR3_GM.sf2:000:107
  Kalimba:
    1: FluidR3_GM.sf2:000:108
  BagPipe:
    1: FluidR3_GM.sf2:000:109
  Fiddle:
    1: FluidR3_GM.sf2:000:110
  Shenai:
    1: FluidR3_GM.sf2:000:111
  Tinker Bell:
    1: FluidR3_GM.sf2:000:112
  Agogo:
    1: FluidR3_GM.sf2:000:113
  Steel Drums:
    1: FluidR3_GM.sf2:000:114
  Woodblock:
    1: FluidR3_GM.sf2:000:115
  Taiko Drum:
    1: FluidR3_GM.sf2:000:116
  Melodic Tom:
    1: FluidR3_GM.sf2:000:117
  Synth Drum:
    1: FluidR3_GM.sf2:000:118
  Reverse Cymbal:
    1: FluidR3_GM.sf2:000:119
  Fret Noise:
    1: FluidR3_GM.sf2:000:120
  Breath Noise:
    1: FluidR3_GM.sf2:000:121
  Sea Shore:
    1: FluidR3_GM.sf2:000:122
  Bird Tweet:
    1: FluidR3_GM.sf2:000:123
  Telephone:
    1: FluidR3_GM.sf2:000:124
  Helicopter:
    1: FluidR3_GM.sf2:000:125
  Applause:
    1: FluidR3_GM.sf2:000:126
  Gun Shot:
    1: FluidR3_GM.sf2:000:127
  Detuned EP 1:
    1: FluidR3_GM.sf2:008:004
  Detuned EP 2:
    1: FluidR3_GM.sf2:008:005
  Coupled Harpsichord:
    1: FluidR3_GM.sf2:008:006
  Church Bell:
    1: FluidR3_GM.sf2:008:014
  Detuned Organ 1:
    1: FluidR3_GM.sf2:008:016
  Detuned Organ 2:
    1: FluidR3_GM.sf2:008:017
  Church Organ 2:
    1: FluidR3_GM.sf2:008:019
  Italian Accordion:
    1: FluidR3_GM.sf2:008:021
  Ukulele:
    1: FluidR3_GM.sf2:008:024
  12 String Guitar:
    1: FluidR3_GM.sf2:008:025
  Hawaiian Guitar:
    1: FluidR3_GM.sf2:008:026
  Funk Guitar:
    1: FluidR3_GM.sf2:008:028
  Feedback Guitar:
    1: FluidR3_GM.sf2:008:030
  Guitar Feedback:
    1: FluidR3_GM.sf2:008:031
  Synth Bass 3:
    1: FluidR3_GM.sf2:008:038
  Synth Bass 4:
    1: FluidR3_GM.sf2:008:039
  Slow Violin:
    1: FluidR3_GM.sf2:008:040
  Orchestral Pad:
    1: FluidR3_GM.sf2:008:048
  Synth Strings 3:
    1: FluidR3_GM.sf2:008:050
  Brass 2:
    1: FluidR3_GM.sf2:008:061
  Synth Brass 3:
    1: FluidR3_GM.sf2:008:062
  Synth Brass 4:
    1: FluidR3_GM.sf2:008:063
  Sine Wave:
    1: FluidR3_GM.sf2:008:080
  Taisho Koto:
    1: FluidR3_GM.sf2:008:107
  Castanets:
    1: FluidR3_GM.sf2:008:115
  Concert Bass Drum:
    1: FluidR3_GM.sf2:008:116
  Melo Tom 2:
    1: FluidR3_GM.sf2:008:117
  808 Tom:
    1: FluidR3_GM.sf2:008:118
  Burst Noise:
    1: FluidR3_GM.sf2:009:125
  Mandolin:
    1: FluidR3_GM.sf2:016:025
  Standard:
    1: FluidR3_GM.sf2:128:000
  Standard 1:
    1: FluidR3_GM.sf2:128:001
  Standard 2:
    1: FluidR3_GM.sf2:128:002
  Standard 3:
    1: FluidR3_GM.sf2:128:003
  Standard 4:
    1: FluidR3_GM.sf2:128:004
  Standard 5:
    1: FluidR3_GM.sf2:128:005
  Standard 6:
    1: FluidR3_GM.sf2:128:006
  Standard 7:
    1: FluidR3_GM.sf2:128:007
  Room:
    1: FluidR3_GM.sf2:128:008
  Room 1:
    1: FluidR3_GM.sf2:128:009
  Room 2:
    1: FluidR3_GM.sf2:128:010
  Room 3:
    1: FluidR3_GM.sf2:128:011
  Room 4:
    1: FluidR3_GM.sf2:128:012
  Room 5:
    1: FluidR3_GM.sf2:128:013
  Room 6:
    1: FluidR3_GM.sf2:128:014
  Room 7:
    1: FluidR3_GM.sf2:128:015
  Power:
    1: FluidR3_GM.sf2:128:016
  Power 1:
    1: FluidR3_GM.sf2:128:017
  Power 2:
    1: FluidR3_GM.sf2:128:018
  Power 3:
    1: FluidR3_GM.sf2:128:019
  Electronic:
    1: FluidR3_GM.sf2:128:024
  TR-808:
    1: FluidR3_GM.sf2:128:025
  Jazz:
    1: FluidR3_GM.sf2:128:032
  Jazz 1:
    1: FluidR3_GM.sf2:128:033
  Jazz 2:
    1: FluidR3_GM.sf2:128:034
  Jazz 3:
    1: FluidR3_GM.sf2:128:035
  Jazz 4:
    1: FluidR3_GM.sf2:128:036
  Brush:
    1: FluidR3_GM.sf2:128:040
  Brush 1:
    1: FluidR3_GM.sf2:128:041
  Brush 2:
    1: FluidR3_GM.sf2:128:042
  Orchestra Kit:
    1: FluidR3_GM.sf2:128:048

init:
  messages: [cc:4:37:60, cc:4:65:127, cc:4:68:127,
             cc:5:71:0, cc:5:73:0, cc:5:74:0, cc:5:78:40, cc:5:79:40, cc:5:80:80, cc:5:81:127, cc:5:82:80, 
             cc:5:71:0, cc:5:73:0, cc:5:74:0, cc:5:78:40, cc:5:79:40, cc:5:80:80, cc:5:81:127, cc:5:82:80, 
             cc:6:100:0, cc:6:101:0, cc:6:6:12, cc:6:38:0]

I don't see any functional difference to the default bank#.yaml files, yet those play and this doesn't. Any clues?

albedozero commented 1 year ago

see my comment on #78

albedozero commented 12 months ago

I know it's been a bit but trying to clean up some issues. The ability to scroll through all the presets in FluidR3_GM.sf2 - or any soundfont you have loaded on to the SquishBox - is provided by the "Open Soundfont" option in the menu. Further, you can "Add as Patch" any of the presets in the font as you scroll through presets, providing a nice way to try out sounds and build up a bank without even having to do any text file editing.

If more functionality is desired feel free to reopen.