Skip to main content

SoundInSet

SoundInSet [/Z] [gain=g, agc=a ]

SoundInSet is used to setup the input device for recording.

Parameters

SoundInSet can accept multiple keyword =value parameters on one line.

agc=aTurns automatic gain control mode on (a =1) or off (a =0). Will generate an error if device does not support setting agc. Use SoundInStatus to check or use /Z flag to make errors nonfatal.
note

This is not supported and V_SoundInAGC from the SoundInStatus command always returns -1.

gain=gSets input gain, 0 is lowest gain and 1 is highest. Will generate an error if device does not support setting gain. Use SoundInStatus to check or use /Z flag to make errors nonfatal.
note

SoundInSet attempts to adjust the master gain of the sound input device but not all sound cards have a master gain. If V_SoundInGain from the SoundInStatus command returns -1, you will have to use your sound card software to adjust the input gain for the particular input source your are using. On some cards there are separate line-in and microphone-in sources.

Flags

/ZPrevents errors from being fatal. V_flag is set to zero if no error, else nonzero if error.

Details

SoundInSet requires a computer with sound inputs. Several sample experiments using sound inputs are in your Igor Pro Folder in the Examples folder.

See Also

SoundInStatus, SoundInRecord, SoundInStartChart