Page History: MIDI Input Element
Compare Page Revisions
Page Revision: 2012/10/07 16:21
|
MIDI Input
|
Info |
Category: |
Behavior Control |
|
AddIn: |
Base Elements |
Creator: |
OkazoLab Team |
|
Scope: |
Parent Event |
Owns Snippets: |
Trigger |
|
Usage: |
Snippets |
The element is capable of reading the input of various
MIDI devices connected to a PC. MIDI is a commonly-accepted protocol for communication with digital musical instruments, like MIDI keyboard. The MIDI Input element can record a instrumental music played in real-time as a sequence of
notes.
Description
On onset of the parent event the MIDI input element starts to reads real-time input of a MIDI Device and record a sequence of received notes.The information about each note includes the MIDI channel number, note name, playback start time, duration, octave number, note's sound frequency and press velocity (or volume). The element can also detect events of pressing the control buttons, e.g. program change. The recorded notes and events can be easily accessed and logged.
The element is design to be used in experiments, where participants' input is produced by playing a music with MIDI instrument.
Snapshots
Snapshot 1
| Snapshot 2 |
Practical Use
Technique 1
- Step 1
- Step 2
Technique 2
- Step 1
- Step 2
// Check the trial outcome. Result and RT just other user variables
// insert code snippet here..
Element actions aligned with different epochs of the parent event
Epoche | Actions |
---|
Initialized |
Rendered |
Activating |
Activated |
Running |
Deactivated |
Deinitialized |
Notes
Insert Notes here..
Properties
Generic Properties
Name | Description | Attributes | Value Type | Proxy Reflex |
---|
Category Name |
MIDI Device | Fill it | Fill it | enum | Fill it |
Fill it | Fill it | Fill it | Fill it | Fill it |
+=== Properties inherited from clElement ===
Inherited properties of clElement
Name | Description | Constraints | Value Type | Upon Change |
---|
Control |
Is Enabled | If set to false the element is completely omitted when the experiment is run. | | Boolean |
|
Title | Title of the element. | | String |
|