Todo¶
- auto check the working port
- two screen or online report : flask server html ajax
- Format text draw method
- abstract every methods in the beginning - to speed up the startup
0.9.13.9¶
- Fixed an important issue that sleeping interval in
waitForResponse()is 0.1s so that the result could be strongly biased!
0.9.13.8¶
- Added method
button() - Fixed an issue in
ClickRange()
0.9.13.7¶
- Now the parameter
w,h,x,yingetPos()can be set as int or float indepently. - Set the default text 'Please enter the subject ID:' for
getSubjectID()
0.9.13.6¶
- Fixed an issue that
clean_screen=Falsedoesn't work inshow()
0.9.13.5¶
- Fixed an issue of
saveResult() - Fixed an issue that the program won't actually stop after pressing "ESC"
- Now
log()supports the multiple parameters
0.9.13.4¶
- Fixed an issue of
stop_signal - Fixed an issue of
log() - Fixed an issue of
restTime()
0.9.13.3¶
- Now
getInput()support the numbers on keypad.
0.9.13.2¶
- Fixed an issue of
stop_signal - Fixed the issue of parameter
background_imagein a lot of methods - Added paramter
background_imagein methodrestTime() - [beta] Added paramter
background_musicin methodrestTime()
0.9.13¶
- Added the external control of precedure via network. You can set parameter
stop_signalin methodshow()
0.9.12¶
- Changed the default value of paramter
diagandangelinstart()to 15 and 1.6 - Changed the default value of paramter
vsyncinstart()to True
0.9.11.5¶
- Added the default value to parameter
textof methodinstruction()
0.9.11.4¶
- Fixed an issue that the graph cannot be remained on the screen sometimes
0.9.11.3¶
- Added method
getTrigger() - Modify method
sendTrigger(), supported more str input and bytes input - [beta] Added parameter
triggerto the stimulus display methods - [beta] Added method
port_watcher()to shared.py
0.9.11.2¶
- Fixed an issue that
filldidn't work indrawRect() - Added return values (width, height) in
drawText() - Changed the definition of "sys.path" in all test files
0.9.11.1¶
- Fixed an issue that
filldidn't show color indrawCircle()
0.9.11¶
- Changed the parameter
displayofdrawXXXtoshow_now - Fixed an issue of sending trigger to the parallel port
- Fixed an issue of
anchor_xandanchor_y - Fixed an issue that F12 can't recover the screen
0.9.10.3¶
- [Beta]
vsync=Falsein methodstart - [Beta] Added parameter
timeitto all method of sound playing and figure displaying - [Beta] Changed the executing order of flip() and sendTrigger() for the parameter
trigger
0.9.10.2¶
- Added a test for measuring time delay (
time_delay.py) - The program will print the path of current Expy
0.9.10.1¶
- Added method
changeOnTracks - Renamed the method
mono2stereototoStereoArray - Renamed the method
change_volumetochangeVolume - Added parameter
stereo_array_formattoloadSound,loadManySound,makeBeep, andmakeNoise. - Renamed method
normal_proceduretonormalProcedure - Renamed method
playSoundtoplayBusySound. - New a method named
playSound, its parameterbusydetermines the run ofplayBusySoundorplayFreeSound - Added parameter
vsyncto methodstart - [Beta] Added parameter
triggerto all method of sound playing and figure displaying
0.9.9¶
- Fixed possible issues of reading setting file
- Automaticly create setting file if it doesn't exist
- Changed default value of parameter
portto '' in methodstart - Added plug-in method
normalProcedure - Added method
getSubjectID - Added method
playAlterableSound - Readded method
makeNoise - Separate method
playSoundby the parameterblocking. Now theblocking=Trueversion is named asplaySound, and theblocking=Falseversion is named asplayFreeSound
0.9.8.1¶
- Fixed an cruical issue of suspend method
- Fixed an issue of serial port
0.9.8¶
- [Important] Unified the units of time. Now we use SECONDs in all methods.
- Added parameter
saveastosaveResult. Now thesaveResultsupport Excel file. - Now
saveResultsupported update the result. - Fixed an issue of
restTime
0.9.7.7¶
- Fixed an issue of reading setting file.
0.9.7.6¶
- Fixed issues of closing method on MacOSX
- Fixed an issue of suspending
- Added method
makeNoise - Exchanged the parameter locations of out_time and allowed_keys in
alert,alertAndGo,alertAndQuit
0.9.7.5¶
- Added method
logthat can record current event and its time from onset. - Added method
whilePressingthat allow something keeping while pressing. - Added parameter
action_while_pressingtowaitForResponse. NowwaitForResponsesupported action while pressing and could record the pressed duration. - Added parameter
allowed_clickstowaitForResponse. NowwaitForResponsesupported mouse events.
0.9.7.4¶
- Fixed the
clear - Added position parameters for
textSlideandtextSlidebased methods.
0.9.7.3¶
- Fixed the display issue of default font under MacOSX
0.9.7.2¶
- Removed parllel port module in Linux and MacOSX
- Time unit changed to millisecond in
recordSound
0.9.7.1¶
- Fixed bugs
0.9.7¶
- [Important] Changed the backend! Rewrite all the code!
- Added the controller method
shared.changeState(idx, value) - Coordinate change: (0, 0) means lower-left at screen
- The change of position benchmark definition in
drawXXX:- [old way] anchor="upper_left"
- [new_way] anchor_x='left',anchor_y='top'
- Added video support
- Method
loadVideo: it supports a lot of video format if you installed AVbin (http://avbin.github.io/AVbin/Download.html) - Method
playVideo: you can control the play stream
- Method
environmentNoise- Now
environmentNoisemeasures zero-crossing rate and amplitude of noise - Now
environmentNoisesupports pre-defining the VAD weights via the parameter "weights" - Now
environmentNoisereturns the VAD parameters
- Now
recordSound- Fixed the bug of
recordSoundabout the voice activity detection - Added "vad_levels" to
environmentNoiseand removed the "noise_level" - Added the parameter "blocking" to
recordSound, and so you can continue the experiment procedure while recording - Added the parameter "path" to
recordSoundand removed the methodrecordSoundToFile - Added the parameter "playing_track" to
recordSound, and so you can control the recording outside.
- Fixed the bug of
- Changed the backend of sound playing! Now Expy supports a lot of sound file format if you installed FFmpeg (https://ffmpeg.org/download.html)
- Added the parameter "playing_track" to
playSound, and so you can control the playing outside - Now
saveResultsupports string and int as the value of "block_tag" - Renamed the
drawLinetodrawLines - Added the parameter "out_time" to
getInput - Silenced the effect of parameter "rotate" to all the
drawXXX. I will active them in a future version.
0.9.6.1¶
- Renamed all the methods to the CamelCase
0.9.6¶
- Renamed the
tiptoalert - Rewrite
recordSoundandrecordSoundToFile - Renamed all the parameters to the UnderlineCase
0.9.5.3¶
- Fixed an bug on parallel port
0.9.5.2¶
drawLineallowed relative position- Changed "allowed_keys" in
tip's default value to [key.RETURN] - Now the
showwon't stop if you press SPACE (it only will when RETURN) loadManySoundallowed mono channel
0.9.5.1¶
- Changed the default value of 'size' in the
drawTextto 'stim_font_size'
0.9.5¶
- Supported colornames: C_black, C_white, C_red, C_lime, C_blue, C_yellow, C_aqua, C_fuchsia, C_silver, C_gray, C_maroon, C_olive, C_green, C_purple, C_teal, C_navy
- Import time package while importing expy
- Added the parameters "font", "size", "rotation" and "color" to
drawText(used Freetype as the backend) - 1.5x row spacing when multiple lines appear.
0.9.4.3¶
- Import pandas(as pd), random while importing expy
- Added the parameter "query" to
readStimuli
0.9.4.1¶
- Clear screen in the end of
getInput - Changed return value of
readStimulito list
0.9.4¶
- Added the parameter "has_RT" to
waitForResponse - Removed
waitForEvent - Press F12 to suspend/resume
- Added the parameter "rotate" to
drawPic - Modified
instruction - Added the parameter "display" to all the
drawXXX. The default "display" value is True, so you needn't call theshow()afterdrawXXX()now. - Some tiny changes.
0.9.3.2¶
- Fixed the error when running
sendTriggerwithout available port. - Fixed the error when setting.txt doesn't exist.
- Fixed the error of
import pyglet
0.9.3.1¶
- Added the parameter "winsize" to
start - fix the remained time after run
suspend
0.9.3¶
- Press F12 to suspend the program, and press anykey to continue.
recordSound_tofileandrecordSoundallowed press F12 to suspend and ESC to quit.- Added the parameter "blocking" to
playSound - Now the
getPosmethod can use more position's benchmarks: center(default), upper_left, upper_right, lower_left, lower_right, upper_center, left_center, lower_center, right_center - All the
drawXXXmethods support the "benchmark" parameter - Custom fonts size in setting.txt
- Removed
drawFixed,drawWord - 'sendTrigger' method
- Added the parameter "feedback" to
recordSound
0.9.1¶
First released version