[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [fluid-dev] bank offset for channels command
From: |
Josh Green |
Subject: |
Re: [fluid-dev] bank offset for channels command |
Date: |
Wed, 28 Dec 2005 12:18:37 -0800 |
On Sat, 2005-12-24 at 11:43 -0700, Dave Serls wrote:
> A small mod to the 'channels' command of fluidsynth would allow the -verbose
> version to display bank offsets (useful for me, at least).
>
> 507a508
> > int offset;
> 517c518,521
> < else fluid_ostream_printf(out, "chan %d, sfont %d, bank %d, preset %d,
> %s\n", i,
> ---
> > else {
> >
> > offset = fluid_synth_get_bank_offset( synth, fluid_sfont_get_id(
> > preset->sfont) );
> > fluid_ostream_printf(out, "chan %d, sfont %d, bank %d, preset %d,
> > %s\n", i,
> 519c523
> < fluid_preset_get_banknum(preset),
> ---
> > fluid_preset_get_banknum(preset) + offset,
> 521a526
> > }
>
>
Sounds like a good patch, will apply to CVS when I get back from the
holidays. Best regards,
Josh Green