[yoshimi] Re: On a bit of a roll now :)

  • From: Will Godfrey <willgodfrey@xxxxxxxxxxxxxxx>
  • To: yoshimi@xxxxxxxxxxxxx
  • Date: Fri, 25 Mar 2016 13:29:03 +0000

On Thu, 24 Mar 2016 16:53:10 -0400
Chris Ahlstrom <ahlstromcj@xxxxxxxxx> wrote:

Can you show a couple of examples (for the manual)?

Thanks!


How about this:

An example to set up vectors from the command line:
Assuming we want just a single axis on channel 1 (2 in the GUI)

First we need to make sure we have enough parts available:

yoshimi> set available 32
Available parts set to 32

Then:

yoshimi > set vector 1 x cc 14
Vector channel set to 1

This command must aways the first as everthing esle hangs on it. It the command
that enables vector control. cc is the incoming sweep CC that will vary the
features you set.

There are 4 features available
1 is fixed as volume
2 is pan by default
3 is brightness by default
4 is modulation by default

We'll select panning for this example so:

yoshimi Vect Ch 1 X > set features 2 enable.
Set X features 2 en

Now you need the set the instruments that will be used. These can only be the
ones in the current bank, so, assuming we are in Will Godfrey Companion

yoshimi Vect Ch 1 X > set program left 20
Loaded 20 "Bubbles" to Part 1

yoshimi Vect Ch 1 X > set program right 120
Loaded 120 "Ghost Ensemble" to Part 16

If you now sweep the the controller assigned to 14 the sound will morph between
these two instruments.

To go on to using the other axis as well you need to have 64 parts set so:

yoshimi Vect Ch 1 X > set available 64
Available parts set to 64

Then:

yoshimi > set vector y cc 15
Vector 1 Y CC set to 15

Well use panning for this vector so:

yoshimi Vect Ch 1 Y > set features 2 enable
Set Y features 1 en  2 en

yoshimi Vect Ch 1 Y > set program down 107
Loaded 107 "Angel Harp" to Part 32

yoshimi Vect Ch 1 Y > set program up 78
Loaded 78 "Brassy Flutter" to Part 48

Notice that the directions left,right,up,down match a traditional joystick.

Now you can save your ultimate vector sound:

yoshimi Vect Ch 1 Y > save vector CoolSound
Saved channel 1 Vector to CoolSound

At any time you can reload this.
yoshimi> load vector channel 0 CoolSound
Loaded Vector CoolSound to channel 0

If you don't give a channel then it will be loaded to the same channel as it
was saved from:

yoshimi> load vector CoolSound
Loaded Vector CoolSound to source channel

The file extension we use is .xvy but this will be added automatically.

-- 
Will J Godfrey
http://www.musically.me.uk
Say you have a poem and I have a tune.
Exchange them and we can both have a poem, a tune, and a song.
Yoshimi source code is available from either: 
http://sourceforge.net/projects/yoshimi
Or: https://github.com/Yoshimi/yoshimi
Our list archive is at: https://www.freelists.org/archive/yoshimi
To post, email to yoshimi@xxxxxxxxxxxxx

Other related posts: