spec: "1.0" id: "com.grooveforge.riff" name: "Riff" version: "1.0.0" type: instrument # Riff: a guitar simulated string by string (native_audio/gf_riff.h) rather # than played from recordings: an electric, or a folk or classical acoustic. It is an instrument played from MIDI — # a keyboard, MIDI FX or the looper — and is usually cabled into the Amp. # # The guitar is native only (gfpa_riff.cpp behind the GFPA DSP handle): the # knobs below travel the same path as an effect's, so they are saved with the # project and can be put on CC like any effect's. Every one of them acts on # strings that are already ringing, so a pedal or a ribbon can play them. # ─── Parameters ──────────────────────────────────────────────────────────── # Physical units throughout; the host converts from the normalised knob # position before sending them to the native DSP. The native side matches # them by id (gfpa_riff_slot_set_param), so do not rename them. parameters: # ── Picking hand ── # How hard the side of the picking hand rests on the strings: from ringing # freely to the tight "chug" of metal rhythm parts. - id: palm_mute paramId: 0 name: "Palm mute" min: 0.0 max: 100.0 default: 0.0 unit: "%" # Where the string is picked: near the bridge (thin, snappy) to over the # neck (round, warm). - id: pick_pos paramId: 1 name: "Pick position" min: 0.0 max: 100.0 default: 35.0 unit: "%" # From a soft fingertip to a hard pick. - id: attack paramId: 2 name: "Attack" min: 0.0 max: 100.0 default: 70.0 unit: "%" # ── Guitar ── # Which guitar: an electric heard through its pickups, or an acoustic heard # through its wooden body, with steel (Folk) or nylon (Classical) strings. # Order matches gf_riff_guitar in native_audio/gf_riff.h. - id: guitar paramId: 21 name: "Guitar" min: 0.0 max: 2.0 default: 0.0 type: selector options: ["Electric", "Folk", "Classical"] # Acoustic guitars: how much of the body is heard, from the bridge alone # (an under-saddle pickup) to a full, booming body (a microphone close to # it). - id: body paramId: 22 name: "Body" min: 0.0 max: 100.0 default: 60.0 unit: "%" # ── Pickups ── # Order matches gf_riff_pickup in native_audio/gf_riff.h. - id: pickup paramId: 3 name: "Pickup" min: 0.0 max: 3.0 default: 2.0 type: selector options: ["Neck", "Middle", "Bridge", "Neck+Bridge"] - id: pickup_type paramId: 4 name: "Pickup type" min: 0.0 max: 1.0 default: 1.0 type: selector options: ["Single coil", "Humbucker"] # The guitar's own tone knob: dark to bright. On an acoustic guitar, how # bright its top sounds. - id: tone paramId: 5 name: "Tone" min: 0.0 max: 100.0 default: 70.0 unit: "%" # ── Strings ── # How long the strings ring: about 2 s on the low E at 0, 20 s at 100. - id: sustain paramId: 6 name: "Sustain" min: 0.0 max: 100.0 default: 70.0 unit: "%" # Semitones a full pitch-bend reaches. 2 is a whole-tone bend. - id: bend_range paramId: 7 name: "Bend range" min: 1.0 max: 12.0 default: 2.0 unit: "st" display: value # ── Fretting hand ── # Hammer-ons and pull-offs: while on, a note played on its own close to the # last one slurs on the same string instead of being picked again. Meant to # be held on a pad (CC, absolute mode: pressed = on); a pad sending MIDI # CC 68, the standard legato pedal, works without any mapping. - id: legato paramId: 9 name: "Legato" min: 0.0 max: 1.0 default: 0.0 type: toggle # Keyboard legato: a note whose key goes down while the previous one, alone, # is still held slurs on its string; a note played detached is picked. Needs # no pad, as on most guitar instruments (Shreddage, Ample, Strum). - id: legato_overlap paramId: 10 name: "Overlap legato" min: 0.0 max: 1.0 default: 0.0 type: toggle # Fret-hand mute: the fretting hand rests on the strings without pressing # them, and every note is a dead note, the short "chk" of funk rhythm # playing. Turning it on also stops what rings. Meant for a pad, like the # palm mute's switch. - id: fret_mute paramId: 15 name: "Fret mute" min: 0.0 max: 1.0 default: 0.0 type: toggle # Ghost notes: keys played softer than this velocity are dead notes, struck # firmly; harder keys ring. Funk on a keyboard with no pad. 0 = off. - id: ghost_velocity paramId: 16 name: "Ghost note velocity" min: 0.0 max: 127.0 default: 0.0 display: value # How much longer the strings ring while the sustain pedal is down than # when the keys are only held: x1 at 0 (the pedal just holds released # strings), about x6 at 50, x40 at 100 (endless, a sustainer). - id: pedal_sustain paramId: 11 name: "Pedal sustain" min: 0.0 max: 100.0 default: 50.0 unit: "%" # ── Feedback ── # The amp's sound driving the strings back (larsen): a held string's # harmonic blooms in about a second and holds while the note is held or # pedalled. Damped by the palm mute and by letting go. Meant for a CC # slider or an expression pedal. - id: feedback paramId: 12 name: "Feedback" min: 0.0 max: 100.0 default: 0.0 unit: "%" # Which harmonic blooms. Order matches k_fb_harm in native_audio/gf_riff.c. - id: fb_harmonic paramId: 13 name: "Feedback harmonic" min: 0.0 max: 3.0 default: 1.0 type: selector options: ["Root", "Octave", "Oct+5th", "2 Oct"] # ── Noises ── # The pick's own noises on every picked note: the click as the string # slips off it, its scrape along the string (a whine on the wound strings) # and, on a string still ringing, the rattle against it. 0 = none. # Hammer-ons and pull-offs never have them, which is what makes a slur # sound slurred. - id: pick_noise paramId: 14 name: "Pick noise" min: 0.0 max: 100.0 default: 50.0 unit: "%" # Strings slapping the frets: a guitar with a low action, a worn neck, or # a clumsy hand. A little buzzes only hard notes at their attack; more # reaches softer notes and lasts longer. Each note's buzz fades as it dies # away. 0 = a well set-up guitar. - id: fret_buzz paramId: 17 name: "Fret buzz" min: 0.0 max: 100.0 default: 0.0 unit: "%" # The fretting hand's noises: the squeak of fingers sliding along the # wound strings as the hand moves to a new position, and the tick of a # finger lifting off a fretted note. 0 = none. - id: finger_noise paramId: 18 name: "Finger noise" min: 0.0 max: 100.0 default: 30.0 unit: "%" # The hand's position along the neck, for a ribbon or a slider: moving it # squeaks, louder and higher the faster it moves. A jump (a finger landing # on a ribbon) is silent. Scaled by Finger noise. - id: finger_slide paramId: 19 name: "Slide" min: 0.0 max: 100.0 default: 0.0 unit: "%" # The hand squeaks now and then on its own, once every key is let go # after a held fretted note on a wound string. Off: only the Slide # control squeaks. - id: slide_auto paramId: 20 name: "Slide auto" min: 0.0 max: 1.0 default: 1.0 type: toggle # Only the noises are heard: the strings are still played, silently, so # the pick, the fret buzz and the fingers follow the notes. A layer over a # sampled guitar (a soundfont) played from the same keyboard. - id: noises_only paramId: 23 name: "Noises only" min: 0.0 max: 1.0 default: 0.0 type: toggle # Plays the slides, finger noises and pick attacks recorded on a real # guitar instead of synthesizing them, once the Yamaha FG460s pack is # loaded (Preferences, Sound library). The rattle and the fret buzz stay # synthesized: they follow the string's own motion. Without the pack, the # synthesized noises play. - id: noise_samples paramId: 24 name: "Recorded noises" min: 0.0 max: 1.0 default: 0.0 type: toggle # Folk guitar only, once the Yamaha FG460s pack is loaded: the strings # are the pack's recorded notes, four velocity layers, played by Riff's # hands (bends, slides, hammer-ons and damping follow). The modelled # strings then only make their noises. Without the pack, or on another # guitar, the modelled strings play. - id: hd paramId: 25 name: "HD" min: 0.0 max: 1.0 default: 0.0 type: toggle # ── Output ── - id: level paramId: 8 name: "Level" min: -24.0 max: 12.0 default: 0.0 unit: "dB" display: value # ─── UI ──────────────────────────────────────────────────────────────────── ui: layout: lanes groups: - label: "Picking hand" controls: - type: knob param: palm_mute label: "Palm mute" size: small - type: knob param: pick_pos label: "Pick pos." size: small - type: knob param: attack label: "Attack" size: small - label: "Fretting hand" controls: - type: toggle param: legato label: "Legato" - type: toggle param: legato_overlap label: "Overlap" - type: toggle param: fret_mute label: "Fret mute" - type: knob param: ghost_velocity label: "Ghosts" size: small - type: knob param: bend_range label: "Bend" size: small - label: "Guitar" controls: - type: selector param: guitar label: "Guitar" - type: knob param: tone label: "Tone" size: small - type: toggle param: hd label: "HD" # Pickups count only on the electric guitar, the body only on the # acoustic ones: the other dims. - label: "Pickups" activeWhen: { param: guitar, atMost: 0 } controls: - type: selector param: pickup label: "Pickup" - type: selector param: pickup_type label: "Type" - label: "Body" activeWhen: { param: guitar, atLeast: 1 } controls: - type: knob param: body label: "Body" size: small - label: "Feedback" controls: - type: knob param: feedback label: "Feedback" size: small - type: selector param: fb_harmonic label: "Harmonic" - label: "Noises" controls: - type: knob param: pick_noise label: "Pick" size: small - type: knob param: fret_buzz label: "Buzz" size: small - type: knob param: finger_noise label: "Fingers" size: small - type: toggle param: slide_auto label: "Slide auto" - type: knob param: finger_slide label: "Slide" size: small - type: toggle param: noises_only label: "Noises only" - type: toggle param: noise_samples label: "Recorded" - label: "Strings" controls: - type: knob param: sustain label: "Sustain" size: small - type: knob param: pedal_sustain label: "Pedal sus." size: small - type: knob param: level label: "Level" size: small