|
| function | audioManager (in varargin) |
| |
| function | open (in me) |
| | open
|
| |
| function | setup (in me) |
| | setup
|
| |
| function | loadSamples (in me) |
| | setup
|
| |
| function | play (in me, in when) |
| |
|
| |
| function | waitUntilStopped (in me) |
| |
|
| |
| function | beep (in me, in freq, in durationSec, in fVolume) |
| |
| function | run (in me) |
| |
|
| |
| function | reset (in me) |
| | Reset.
|
| |
| function | close (in me) |
| | Close.
|
| |
| function | delete (in me) |
| | Close.
|
| |
| function | optickaCore (in varargin) |
| | Class constructor.
|
| |
| function get | fullName (in me) |
| |
| function | getALF (in me, in subject, in sessionPrefix, in lab, in create) |
| |
| function | findAttributes (in me, in attrName, in attrValue) |
| |
| function | findAttributesandType (in me, in attrName, in attrValue, in type) |
| | find properties of object with specific attributes, for example all properties whose GetAcccess attribute is public and type is logical.
|
| |
| function | findPropertyDefault (in me, in propName) |
| |
| function | clone (in me) |
| | Use this syntax to make a deep copy of the object, i.e. OBJ_OUT has the same field values, but will not behave as a handle-copy of me anymore.
|
| |
| function | checkSuperclasses (in List) |
| |
| function | editProperties (in me, in properties) |
| | method to modify a set of properties
|
| |
| function | setProp (in me, in property, in value) |
| | method to fast change a particular value. This is useful for use in anonymous functions, like in the state machine.
|
| |
| function | initialiseGlobals (in me, in doReset, in doOpen) |
| |
| function | initialiseSaveFile (in me) |
| | Initialise Save prefix.
|
| |
| function | checkPaths (in me) |
| | checks the paths are valid
|
| |
|
| Property | device |
| |
| Property | fileName |
| |
| Property | numChannels |
| |
| Property | frequency |
| |
| Property | lowLatency |
| |
| Property | latencyLevel |
| |
| Property | silentMode |
| | this allows us to be used even if no sound is attached
|
| |
| Property | chainSnd |
| | chain snd() function to use psychportaudio?
|
| |
| Property | verbose |
| |
| Property | name |
| | object name
|
| |
| Property | comment |
| | comment
|
| |
| Property | verbose |
| | verbose logging, subclasses must assign this. This is normally logical true/false
|
| |
| Property | dateStamp |
| | clock() dateStamp set on construction
|
| |
| Property | uuid |
| | universal ID
|
| |
| Property | paths |
| | storage of various paths
|
| |
| Property | fullName |
| | The fullName is the object name combined with its uuid and class name.
|
| |
|
| function | checkFiles (in me) |
| | findFiles
|
| |
| function | findFiles (in me) |
| | findFiles
|
| |
| function | parseArgs (in me, in args, in allowedProperties) |
| | Sets properties from a structure or normal arguments pairs, ignores invalid or non-allowed properties.
|
| |
| function | addArgs (in me, in args) |
| |
| function | setPaths (in me) |
| | Sets properties from a structure or normal arguments pairs, ignores invalid or non-allowed properties.
|
| |
| function | getFonts (in me) |
| | set paths for object
|
| |
| function | toStructure (in me) |
| | Converts properties to a structure.
|
| |
| function | getType (in me, in in) |
| |
| function | logOutput (in me, in in, in message, in override) |
| | Give a metaproperty return the likely property class.
|
| |
| function | salutation (in me, in varargin) |
| | Prints messages dependent on verbosity.
|
| |
|
| static function | makeArgs (in args) |
| | Converts cell args to structure array.
|
| |
| static function | addDefaults (in args, in defs) |
| | add default options to arg input
|
| |
| static function | hasKey (in in, in key) |
| | check if a struct / object has a propery / field
|
| |
| static function | getKeys (in device) |
| | PTB Get key presses, stops key bouncing.
|
| |
| Property | cloning |
| | are we cloning this from another object
|
| |
| Property | mversion |
| | Matlab version number, this is transient so it is not saved.
|
| |
| Property | sansFont |
| | sans font
|
| |
| Property | monoFont |
| | monoFont
|
| |
| Property | className |
| | class name
|
| |
| Property | savePrefix |
| | save prefix generated from clock time
|
| |
| Property | fullName_ |
| | cached full name
|
| |
◆ audioManager()
| function audioManager::audioManager |
( |
in |
varargin | ) |
|
◆ beep()
| function audioManager::beep |
( |
in |
me, |
|
|
in |
freq, |
|
|
in |
durationSec, |
|
|
in |
fVolume |
|
) |
| |
◆ checkFiles()
| function audioManager::checkFiles |
( |
in |
me | ) |
|
|
protected |
◆ close()
| function audioManager::close |
( |
in |
me | ) |
|
◆ delete()
| function audioManager::delete |
( |
in |
me | ) |
|
◆ findFiles()
| function audioManager::findFiles |
( |
in |
me | ) |
|
|
protected |
◆ loadSamples()
| function audioManager::loadSamples |
( |
in |
me | ) |
|
◆ open()
| function audioManager::open |
( |
in |
me | ) |
|
◆ play()
| function audioManager::play |
( |
in |
me, |
|
|
in |
when |
|
) |
| |
◆ reset()
| function audioManager::reset |
( |
in |
me | ) |
|
◆ run()
| function audioManager::run |
( |
in |
me | ) |
|
◆ setup()
| function audioManager::setup |
( |
in |
me | ) |
|
◆ waitUntilStopped()
| function audioManager::waitUntilStopped |
( |
in |
me | ) |
|
◆ chainSnd
| Property audioManager::chainSnd |
chain snd() function to use psychportaudio?
◆ device
| Property audioManager::device |
◆ fileName
| Property audioManager::fileName |
◆ frequency
| Property audioManager::frequency |
◆ latencyLevel
| Property audioManager::latencyLevel |
◆ lowLatency
| Property audioManager::lowLatency |
◆ numChannels
| Property audioManager::numChannels |
◆ silentMode
| Property audioManager::silentMode |
this allows us to be used even if no sound is attached
◆ verbose
| Property audioManager::verbose |
The documentation for this class was generated from the following file: