Re: Velocity with fvcurve

From: dan cunningham <dan_at_digitaldan.com>
Date: Thu Dec 27 2018 - 07:18:21 CET
Thank you for the reply!

Changing the volume channel (7) did indeed change the the resulting volume
when exporting to a file.  Unfortunately when I hooked it back up to the
Yamaha piano, the volume did not change,  This piano is fairly old, its a
Disklavier Grand Piano from circa 1990 and I'm guessing may not conform to
completely to midi standards.    I am going to keep poking at it to see
what the magic combination is, I know others have managed to adjust the
volume with commercial solutions.  One thing i was reading up on was
sending a sysex MIDI Master Volume message, i have no idea if this will
have any effect, but we will see.

On Tue, Dec 25, 2018 at 11:46 AM Alexandre Ratchov <alex@caoua.org> wrote:

> On Tue, Dec 25, 2018 at 10:26:30AM -0800, dan cunningham wrote:
> > Hi, I have midish running on a raspberry pi connected to a Yamaha player
> piano
> > via a USB midi cable.
> >
> > I can successfully import a midi file and play, stop and pause playback
> of the
> > midi file to the piano.  So far, so good.
> >
> > What I am now trying to do is change the output volume (velocity I
> believe) as
> > the piano is very loud at the default level.
> >
> > I have tried setting a filter as follows, but there does not seem to be
> any
> > adjustment to the output.
> > ----------------
> > dnew 0 "20:0" wo
> > fnew volume
> > fvcurve {} (-63)
> > import "/tmp/song.midi"
> > p
> > -----------------
> >
> > I'm wondering if the filter is being applied to the input file at all?
> Would
> > appreciate any help.
> >
>
> Hi,
>
> AFAIU, just need to set the volume of the piano channel, aka
> controller number 7.
>
> You've to figure out on which channel the piano is playing
> and add a controller event. For instance, if the piano is on
> channel 5, to set the volume to 100, do:
>
> import "/tmp/song.midi"
> onew piano {0 5}
> oaddev {ctl piano 7 100}
> p
>
> [...]
>
> FWIW, the velocity is curve filter rule is to adjust the sensitivity
> of the keyboard, it applies to notes played on a MIDI input only.
>
> HTH
>
> -- Alexandre
>
-- 
Sent from my mobile.
Received on Wed, 26 Dec 2018 22:18:21 -0800

This archive was generated by hypermail 2.1.8 : Fri Dec 28 2018 - 01:32:32 CET