Daqarta
Data AcQuisition And Real-Time Analysis
Scope - Spectrum - Spectrogram - Signal Generator
Software for Windows
Science with your Sound Card!
The following is from the Daqarta Help system:

Features:

Oscilloscope

Spectrum Analyzer

8-Channel
Signal Generator

(Absolutely FREE!)

Spectrogram

Pitch Tracker

Pitch-to-MIDI

DaqMusiq Generator
(Free Music... Forever!)

Engine Simulator

LCR Meter

Remote Operation

DC Measurements

True RMS Voltmeter

Sound Level Meter

Frequency Counter
    Period
    Event
    Spectral Event

    Temperature
    Pressure
    MHz Frequencies

Data Logger

Waveform Averager

Histogram

Post-Stimulus Time
Histogram (PSTH)

THD Meter

IMD Meter

Precision Phase Meter

Pulse Meter

Macro System

Multi-Trace Arrays

Trigger Controls

Auto-Calibration

Spectral Peak Track

Spectrum Limit Testing

Direct-to-Disk Recording

Accessibility

Applications:

Frequency response

Distortion measurement

Speech and music

Microphone calibration

Loudspeaker test

Auditory phenomena

Musical instrument tuning

Animal sound

Evoked potentials

Rotating machinery

Automotive

Product test

Contact us about
your application!

Pattern Key

Controls: Sgram/PT Dialog >> Pitch-to-MIDI >> Setup
Changes: Yv=n, YPv=n

Pattern Key is used to transpose Note Pattern entries, and for some other special purposes.

The Pattern Key control accepts a value that is a MIDI note number from 0 to 127. The corresponding musical note and octave are shown in bold to the left of the control. The default is MIDI note 60, which is C4 (middle C).

The effect of Pattern Key is different depending on the state of the Tempo Mode button in the same Voice Setup. If it is set to Percussion (button selected), then Pattern Key is the note that will actually be played wherever a 'C' character appears in the Note Pattern. All the other notes in the pattern use this as a reference. For example, the characters 'CdDeEFgGaAbB' form a 12-note octave starting from the Pattern Key note. If you set Pattern Key to a C in any octave, then these notes will be played as named, in the specified octave.

If you set Pattern Key to, say, D4 then the same Note Pattern letters will play notes shifted up two semitones: 'C' will now play D4, 'D' will play E4, etc. This allows you to easily transpose a Note Pattern to another key for performance, though it will appear unchanged.

If you have copied a song with a given key signature into the Note Pattern, you can use Pattern Key to transpose it to a different key signature. For example, if you have two or more songs that you want to play at the same time, you can transpose all of them into C so they don't clash with each other. To do that, first look up the original key signature in the list below. Then find the signature that is across from it and set that as the Pattern Key instead of the default C. Note that you can go up or down from C to find the target key.

    F  <--> G
    Bb <--> D
    Eb <--> A
    Ab <--> E
    C# <--> B
    F# <--> F#

To do this without a table, start at C and scroll up or down to find the key you are starting with, keeping track of how many semitone steps it takes. Then go back to C and go the same number of steps in the other direction. For example, if your song is in F you could scroll from the default C4 = 60 up to F4 = 65, which is 5 steps up. Then go back to 60 and scroll 5 steps down to G3 = 55.

Alternatively, you could scroll down from C4 to F3 = 53. Then scroll back up to C4 = 60, which is 7 steps, and keep going up to 7 more steps G4 = 67.

If you want to convert to some other key than C you can use a similar approach. Suppose your song is in F and you want to convert it to G. First scroll to F and use that as your starting point instead of C. Then count how many semitones it takes to get to G. If you started from F4 = 65 you could scroll up to G4 = 67, which is 2 steps. Now go back to C4 = 60 and scroll down 2 steps to A#3 = 58. The F song will now be in G.


If the Note Pattern contains numeral or symbol characters, they are interpreted as relative to the Pattern Key. That makes them effectively equivalent to letters, but needlessly difficult to use when setting the Note Pattern to play a predefined melody.

When the Tempo Mode button is set to Voice (unselected), then Pattern Key has the same effect on Note Pattern letters (but not numerals or symbols). In addition, the +/-Note value is added to get the played note. The input note stream is completely ignored here.

In this Tempo Voice mode, a numeral or symbol (or an empty space) in Note Pattern is relative to the input note. The Pattern Key note is normally completely ignored.

However, Pattern Key is used in special cases: If the Key Pivot option is selected via the YP Changes script command (see below), then the Pattern Key note is the "pivot note". In this case, incoming notes above Pattern Key become notes the same distance below it, and vice-versa. (See Buffer Pivot for an analogous operation on buffer data.)

Also, when the Note PreScale option is active, the incoming note has +/-Note added to it before the Scale operation instead of afterwards. Scale assumes that a 'C' is the root or tonic of the scale, but if PreScale is active then Pattern Key can be set to any other scale root. This is done internally by adding the difference between the Pattern Key note and 60 (Middle C) before the Scale operation.


MIDI Changes Script:

Yv=n sets Voice v Pattern Key to the value of n, which may be any unsigned integer or expression, including current MIDI control values, random values, current computer keyboard states or mouse position, input or buffered notes, or oscillators. The value will be limited to the range of 0 to 127. (Middle C = 60.)

YPv=n sets Voice v Key Pivot state to the value n. If n is zero, the Pivot state is off; any other value sets it on.

Alternatively, you can use x instead of a value to toggle the current state. For example, YP2=x toggles the current Key Pivot state for Voice 2.

Any of the above can use "voice" 9 to set the same value or state to all 8 voices via a single command.


See also MIDI Voice Setup Dialogs, Pitch-to-MIDI dialog, Pitch Track Toolbox - Overview

GO:

Questions? Comments? Contact us!

We respond to ALL inquiries, typically within 24 hrs.
INTERSTELLAR RESEARCH:
Over 30 Years of Innovative Instrumentation
© Copyright 2007 - 2017 by Interstellar Research
All rights reserved