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:



Spectrum Analyzer

Signal Generator

(Absolutely FREE!)


Pitch Tracker


DaqMusiq Generator
(Free Music... Forever!)

Engine Simulator

LCR Meter

Remote Operation

DC Measurements

True RMS Voltmeter

Sound Level Meter

Frequency Counter
    Spectral Event

    MHz Frequencies

Data Logger

Waveform Averager


Post-Stimulus Time
Histogram (PSTH)

THD Meter

IMD Meter

Precision Phase Meter

Pulse Meter

Macro System

Multi-Trace Arrays

Trigger Controls


Spectral Peak Track

Spectrum Limit Testing

Direct-to-Disk Recording



Frequency response

Distortion measurement

Speech and music

Microphone calibration

Loudspeaker test

Auditory phenomena

Musical instrument tuning

Animal sound

Evoked potentials

Rotating machinery


Product test

Contact us about
your application!

Save MIDI Setup

Controls: Sgram/PT Dialog >> Pitch-to-MIDI >> Save Setup
Macro: SaveDQM

The Save Setup button is near the bottom of the Pitch-to-MIDI dialog. You can activate this at any time to save the current MIDI setup to a named .DQM file.

A MIDI setup file includes all information from the Pitch-to-MIDI dialog and its children, plus Track Limits, Pitch Hysteresis, and +/-Octaves settings from the Pitch Track Toolbox. But it does not include main Daqarta settings such as Trigger controls or Trace Update interval, which can have a large effect on Pitch-to-MIDI behavior.

However, it does include the main Daqarta Notes text, which you can enter before saving the setup, to serve as a reminder to yourself (or someone you exchange the setup with) about important settings.

Note: The current values of all Pitch-to-MIDI settings are saved automatically when Daqarta exits, and restored upon start, just as if you had manually saved and loaded them as a MIDI Setup.

Macro Notes:

The SaveDQM= macro has no effect if any File Open or Save As dialog is already active.

SaveDQM= without a name will open the Save As dialog showing all .DQM files, with the default set to MIDIset or the most recent .DQM name.

SaveDQM="MyFile" will open the Save As dialog with the default name set to MyFile. (Note that quotes are needed around all filenames in macros.) If you accept this by hitting Enter or the Save button in that dialog, Daqarta will assume you want to save a file named MyFile.DQM. If that file already exists, you will be prompted to replace it.

After either of the above commands, you may use IF.Posn?f=0 to see if the user has hit Cancel instead of choosing a file name. This allows your macro to exit gracefully or take other action.

A.SaveDQM="MyFile" will save MyFile.DQM directly, without any Save As dialog. Note that if the file already exists, it will be overwritten without any confirmation prompt.

SaveDQM can use string variables and expressions. For example, SaveDQM=Field1 will use the contents of Field1 as the default file name, and A.SaveDQM=Field1 will save a file with that name directly.

Similarly, if the Macro Variable Var0 holds a value of 12, then SaveDQM="Test"+Var0 will set a default file name of Test12. If you expect to use a large series of files, you can use SaveDQM="Test"+Var0(3) (for example) to set the decimal format to 3 integer places to get Test012. This will allow proper sorting by file name.

See also MIDI Setup Files, Load MIDI Setup, Pitch-to-MIDI dialog, Pitch Track Toolbox - Overview, Spectrogram / Pitch Track Controls, Spectrogram / Pitch Track (Sgram/PT)


Questions? Comments? Contact us!

We respond to ALL inquiries, typically within 24 hrs.
Over 35 Years of Innovative Instrumentation
© Copyright 2007 - 2023 by Interstellar Research
All rights reserved