|
MasterScan
Lab_Matlab_control Master Branch
|

Properties and Events | |
| Property | frequency |
| by M.Kabir (kabir.naim@gmail.com), using superclass by Ben Heasly and amplitude-envelope concept by Chris Glaze More... | |
Properties and Events inherited from dotsPlayable | |
| Property | isAudible = true |
| true or false, whether this object should play() sonds | |
| Property | intensity = 1 |
| scale factor to apply to waveform during playback | |
| Property | sampleFrequency = 44100 |
| frequency in Hz of sound samples stored in waveform | |
| Property | bitsPerSample = 16 |
| bit-depth of each sound sample in waveform | |
| Property | duration |
| duration of the sound to play (may be set automatically) | |
| Property | soundsPath |
| system path to locate sound files | |
| Property | waveform |
| mXn double matrix of sound samples (arbitrary units, 0-1) More... | |
| Property | side = '' |
| If a sound should only play in the left side or right side. More... | |
| Property | playBlocking = false |
| Should we block until done? | |
Protected Properties | |
| Property | player |
| Psychtoolbox audioplayer object. | |
Protected Properties inherited from dotsPlayable | |
| Property | lastPlayTime |
| timestamp from the last time this object was play()ed | |
Methods | |
| self | dotsPlayableNote () |
| Constructor takes no arguments. | |
| prepareToPlay (self) | |
| Compute a waveform to play. | |
| play (self) | |
| Play the waveform. | |
| stop (self) | |
| Stop the waveform. | |
Methods inherited from dotsPlayable | |
| self | dotsPlayable () |
| Constructor takes no arguments. | |
| mayPlayNow (self) | |
| play() or not, depending on isAudible and possibly other factors. | |
| prepareToPlay (self) | |
| Do any pre-play setup. | |
| play (self) | |
| Subclass must redefine play() to play a sound. | |
| stopPlaying (self, waitForEndOfPlayback) | |
| Subclass must redefine stopPlaying() to stop playing a sound. | |
| unMute (self) | |
| Shorthand to set isAudible=true. | |
| mute (self) | |
| Shorthand to set isAudible=false. | |
Additional Inherited Members | |
Static Methods inherited from dotsPlayable | |
| static | playSound (playableList, indices) |
| Pick a sound! | |
| Property frequency |
by M.Kabir (kabir.naim@gmail.com), using superclass by Ben Heasly and amplitude-envelope concept by Chris Glaze
frequency of the sinusoid (Hz)
1.8.15