Commit f15e517d authored by Pat David's avatar Pat David

Merge branch 'testing'

parents b120d36e 63d5ac48
......@@ -80,9 +80,9 @@ related code went into the babl library.
Much like CIE LAB, this color space is a derivative of CIE XYZ. The *Y* channel
separates luminance information from chromaticity information in the *x* and
*y* channels. You might be (unknowingly) familiar with this color space if you
ever looked at a [horsehoe diagram of an ICC profile](https://ninedegreesbelow.com/photography/all-the-colors.html).
ever looked at a [horseshoe diagram of an ICC profile](https://ninedegreesbelow.com/photography/all-the-colors.html).
CIE xyY is useful to explore varios color-related topics like the
CIE xyY is useful to explore various color-related topics like the
[Abney effect](https://en.wikipedia.org/wiki/Abney_effect). See
[this Pixls.us thread](https://discuss.pixls.us/t/what-are-the-lch-and-jch-values-for-the-srgb-blue-primary/8796)
for an example of what people do with this kind of information.
......@@ -191,7 +191,7 @@ when a [2-year old feature request for Mozilla Firefox got closed as
"FIXED"](https://bugzilla.mozilla.org/show_bug.cgi?id=1294490). This
will be available for Firefox 65.
Therefore, we sure hope web platforms will take this new format into consideration,
Therefore, we surely hope web platforms will take this new format into consideration,
and that everyone will stop creating GIF images now that there are actual
alternatives in most browsers!
......@@ -241,7 +241,7 @@ filter.
Given quickly approaching winter holidays and all the busy time that comes with it,
we can't 100% guarantee another stable release this year, but we'll do our best
to keep'em coming regularly!
to keep 'em coming regularly!
## Conclusion
......
......@@ -6,11 +6,17 @@ Author: Pat David
## What?
Since version 2.2, GIMP comes with a module that allows to control it using MIDI devices. Currently this is only supported on GNU/Linux with either the OSS or the ALSA sound drivers. It might work on other platforms as well if there is a way to access the raw MIDI stream by opening a device.
Since version 2.2, GIMP comes with a module that allows to control it using MIDI
devices. Currently this is only supported on GNU/Linux with either the OSS or
the ALSA sound drivers. It might work on other platforms as well if there is a
way to access the raw MIDI stream by opening a device.
## Enabling the MIDI Module
To make the UI of GIMP's MIDI controller visible you need to edit a configuration file when GIMP is not running. Open <tt>~/.gimp-2.2/controllerrc</tt> in an editor and add the following lines to the end of the file:
To make the UI of GIMP's MIDI controller visible you need to edit a
configuration file when GIMP is not running. Open
<tt>~/.config/GIMP/2.10/controllerrc</tt> in a text editor and add the following
lines to the end of the file:
:::
(GimpControllerInfo "MIDI"
......@@ -21,29 +27,49 @@ To make the UI of GIMP's MIDI controller visible you need to edit a configuratio
(channel -1))
(mapping))
Then start GIMP from a shell (so that you can see textual output we need later), open the preferences, go to the "Input Controllers" page in the "Input Devices" section and select the newly appeared "MIDI" Tab.
Then start GIMP from a shell (so that you can see textual output we need later),
open the preferences, go to the "Input Controllers" page in the "Input Devices"
section and select the newly appeared "MIDI" Tab.
## Configuring the MIDI Source
### ALSA:
Enter "alsa" in the "Device" entry in the configuration. GIMP then sets up an Alsa-Output-Port (check with "<tt>aconnect -lo</tt>"). You can then use your preferred tool to configure Alsa to connect a MIDI source to GIMP. When your MIDI device e.g. provides an Input-Port 72:0 and GIMP provides the Output-Port 128:0 you can connect the two Ports with "<tt>aconnect 72:0 128:0</tt>".
Enter "alsa" in the "Device" entry in the configuration. GIMP then sets up an
Alsa-Output-Port (check with "<tt>aconnect -lo</tt>"). You can then use your
preferred tool to configure Alsa to connect a MIDI source to GIMP. When your
MIDI device e.g. provides an Input-Port 72:0 and GIMP provides the Output-Port
128:0 you can connect the two Ports with "<tt>aconnect 72:0 128:0</tt>".
### OSS:
The Open Sound System provides a device file for the raw MIDI events. You need to enter the name of this device file into the "Device" entry in the configuration (e.g. "/dev/midi00").
The Open Sound System provides a device file for the raw MIDI events. You need
to enter the name of this device file into the "Device" entry in the
configuration (e.g. "/dev/midi00").
### The MIDI channel
Each MIDI source sends events on a specific "Channel" (0 to 15, sometimes also referred as 1 to 16). You can configure if GIMP should listen to all channels (-1) or to just a specific channel.
Each MIDI source sends events on a specific "Channel" (0 to 15, sometimes also
referred as 1 to 16). You can configure if GIMP should listen to all channels
(-1) or to just a specific channel.
If your MIDI setup works correctly and the "Dump events from this controller" is enabled as well as "Enable this controller" you should see some text scrolling by when you hit some keys or turn some controllers on your midi device, describing the Event that just happened.
If your MIDI setup works correctly and the "Dump events from this controller" is
enabled as well as "Enable this controller" you should see some text scrolling
by when you hit some keys or turn some controllers on your midi device,
describing the Event that just happened.
## Assigning Actions to Events
You can now use this information to map MIDI Events to Actions in GIMP. At the bottom of the configuration page is a list with all events that GIMP can recognize. Scroll to the event that you want to assign an action to and doubleclick its entry. Then select an Action from the dialog that pops up and doubleclick its entry. Now this action gets invoked when the specific MIDI event happens.
You can now use this information to map MIDI Events to Actions in GIMP. At the
bottom of the configuration page is a list with all events that GIMP can
recognize. Scroll to the event that you want to assign an action to and
double-click its entry. Then select an Action from the dialog that pops up and
double-click its entry. Now this action gets invoked when the specific MIDI
event happens.
Please note that some actions fit perfectly to some MIDI Events: Actions like "context-background-blue-set" can immediately use the numerical value provided by midi controller events.
Please note that some actions fit perfectly to some MIDI Events: Actions like
"context-background-blue-set" can immediately use the numerical value provided
by midi controller events.
Have fun.
......@@ -266,7 +266,7 @@
</p>
{% endif %}
<p>
These links download the official GIMP installer for Windows (~140-150 MB).
These links download the official GIMP installer for Windows (~200 MB).
The installer contains both 32-bit and 64-bit versions of GIMP, and will automatically use the appropriate one.
<!-- The installer contains the 64-bit version of GIMP. -->
</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment