OpenMusic Reference
volume

volume
(midi module) -- sends a MIDI volume message
Syntax
volume vol chans &optional port
Inputs
| name | data type(s) | comments | 
|---|---|---|
| vol | an integer | defaults to 100 | 
| chans | an integer or list thereof | defaults to 1 | 
| port | an integer or list thereof | The MIDI port(s) to send on | 
Output
output| data type(s)| comments
—|—|—
first| nil| This output will always return nil; the volume message is sent out
anyway.
Description
This module sends a midi volume message out on the channel (or channels, if chans is a list) specified. The midi volume message has a range of 0 to 127.
The optional input port allows you to specify which MIDI port the message(s) will go out on.
![]()  | 
      OM and MIDI | 
|---|---|
OM can be configured to communicate with any MIDI device. See the chapter on configuring Midishare for more information.
| Prev | Home | Next | 
|---|---|---|
| third | Up | x-append | 
