Presentation: Difference between revisions

Jump to navigation Jump to search
No edit summary
 
(17 intermediate revisions by 6 users not shown)
Line 16: Line 16:
     | child              = yes
     | child              = yes
     | downloads          = {{bulleted list
     | downloads          = {{bulleted list
         | [https://surfdrive.surf.nl/files/index.php/s/LN5KRN9cB3mvPp3 Installer for Windows (64-bit, zip)]
         | {{Surfdrive|zDtYMmAvg4NoZXj|Installers & Other Resources}}
        | [https://surfdrive.surf.nl/files/index.php/s/9SN8p8hVtcDAvj2 Downloads Scripts]
         | [https://www.neurobs.com/menu_presentation/menu_download/package_player Package player]
         | [https://www.neurobs.com/menu_presentation/menu_download/package_player Package player]
     }}
     }}
     | header2            = Templates
     | header2            = Templates
     | data2              = *[https://surfdrive.surf.nl/files/index.php/s/LN5KRN9cB3mvPp3 Template 2017 (zip)]]
     | data2              = *{{Surfdrive|https://surfdrive.surf.nl/s/tWYD6jFQpDcgpZL|Template 2017}}
   }}
   }}
}}
}}
Line 30: Line 29:
== Course ==
== Course ==


Find the presentation workshop documentation here: [[Media:Programming with Presentation 2013.pdf]]
Find the presentation workshop documentation here: {{Download link|media=Programming with Presentation 2013.pdf}}


Find the presentation pre-reader here: [[Media:Presentation pcl pre-read 2013 .pdf]]
Find the presentation pre-reader here: {{Download link|media=Presentation pcl pre-read 2013 .pdf}}


== License ==
== License ==


To run presentation in the labs you need a software dongle. Reserve a dongle when you book a lab. If you need a dongle for research outside the university you could discuss time limits with [[Ronny Janssen]].
To run presentation in the labs you need a software dongle. Reserve a dongle when you book a lab. If you need a dongle for research outside the university, discuss this with your [[Lab Coordinator]].


When you want to run in your office use the network license. Boot presentation, choose option '''"activations" -> "Network"'''
When you want to run in your office use the network license. Boot presentation, choose option '''"activations" -> "Network"'''
Line 59: Line 58:


== Video ==
== Video ==
Presentation only supports non-proprietary video formats.<ref>https://www.neurobs.com/menu_support/menu_forums/view_thread?id=8785#i6</ref> Neurobs recommends encoding your videos using h264 or XVID, and using the AVI format.<ref>http://www.neurobs.com/wiki/Presentation/Video</ref> The TSG discourages the use of XVID and AVI, because these standards have become obsolete in recent years, but since we have had little success getting alternative non-proprietary video formats to work in Presentation,<ref>[[Video_Codecs#Software_support]]</ref> it seems the use of AVI is inevitable. You can find more information on how to export and convert your videos for Neurobs Presentation on our [[Video Codecs#Neurobs Presentation|Video Codecs page]].
Presentation only supports non-proprietary video formats.<ref>https://www.neurobs.com/menu_support/menu_forums/view_thread?id=8785#i6</ref> Neurobs recommends encoding your videos using h264 or XVID, and using the AVI format.<ref>https://neurobs.com/menu_presentation/menu_documentation/video</ref> The TSG discourages the use of XVID and AVI, because these standards have become obsolete in recent years, but since we have had little success getting alternative non-proprietary video formats to work in Presentation,<ref>[[Video_Codecs#Software_support]]</ref> it seems the use of AVI is inevitable. You can find more information on how to export and convert your videos for Neurobs Presentation on our [[Video Codecs#Neurobs Presentation|Video Codecs page]].


== Audio ==
== Audio ==
In the lab setup Presentation has a low and wel defined [[audio delay]].
In Neurobs Presentation please use *exclusive mode* to get the best audio performance. This means that no other programs
can use the audio device while the experiment runs.
 
[[File:SoundSettings.png|Presentation Mixer Settings]]
 
The maximum audio delay in Presentation on a lab computer at the faculty of social sciences is 24 ms. If better performance
is necessary or more understanding is needed about the components of this delay, please read our page about [[audio delay]].
 
'''How to present sounds in Presentation'''
 
in SDL:
 
<pre>
sound{
    wavefile{
        filename = "beep.wav"; # The name of the sound file.
        preload=true; # Make sure that the sound is loaded before it is actually used.
    }myWave;
}mySound;
</pre>
 
Make sure to use '''preload = true;'''. This ensures that the sound is loaded into memory before the sound is used.
 
in PCL:
 
Prepare your stimuli during Inter Trial Interval, when there is enough time to do that. First, unload the previous sound, set the filename property to the new soundfile and load it.
 
<pre>
sub prepareTrial
begin
    myWave.unload();
    myWave.set_filename("beep.wav"); # or read the name from a trial list.
    myWave.load();
end;
</pre>
 
During your experiment the sound is presented by:
<pre>
startOfPlaycall = clock.time();
mySound.present();
endOfPlaycall = clock.time();
</pre>
 
Please note that the moment when the sound can actually be heard from the speakers is later then the moment when the '''mySound.present()''' function is called. In our labs [march 2019], the delay (from '''startOfPlaycall''' until actual sound onset) is about 14 to 24 milliseconds when the Presenation mixer is used in exclusive mode. The function itself takes some (variable) time to execute. That time can, in the example above, be calculated by '''endOfPlaycall - startOfPlaycall'''. Then, some additional time is required before the sound actually is heard from the speakers. In our labs, that additional delay (from '''endOfPlaycall''' until actual sound onset) is about 5 to 8 milliseconds [March 2019]. When your experiment requires an exact knowledge about when the sound actually plays from the speakers, you need additional hardware, for instance a buttonbox with a soundkey.
 
More information about sound delays is found on our page about [[audio delay]].


== Troubleshooting ==
== Troubleshooting ==
Line 78: Line 122:
For various information please click here: http://www.neurobs.com/menu_support/menu_forums/contents_page
For various information please click here: http://www.neurobs.com/menu_support/menu_forums/contents_page


==== Wiki ====
==== Documentation ====
For the wiki click here: http://www.neurobs.com/menu_support/nbs_wiki
For the Documentation click here: https://neurobs.com/presentation/docs/index_html


==== Compatibility Issues ====
==== Compatibility Issues ====