Difference between revisions of "VoiceKey Lab"
Jump to navigation
Jump to search
Wiki-admin (talk | contribs) |
m |
||
| (12 intermediate revisions by 3 users not shown) | |||
| Line 1: | Line 1: | ||
| + | {{Outdated}} | ||
| + | |||
{| | {| | ||
|- | |- | ||
| − | | [[File: | + | | [[File:Sound Lab Setup2.JPG|900px|Image: 1000 pixels]] |
| + | |} | ||
| + | |||
| + | == Interface BITSIbox == | ||
| + | |||
| + | See: [[ButtonBoxes]] | ||
| + | |||
| + | == Soundkey == | ||
| + | Settings to record the sound in presentation: | ||
| + | {| | ||
|- | |- | ||
| − | | | + | | [[File:sound settings.png|600px|Image: 1200 pixels]] |
|} | |} | ||
| − | = | + | Example code using soundKey from the buttonbox in Presentation: |
| + | |||
| + | <nowiki> | ||
| + | output_port oport = output_port_manager.get_port( 1 ); | ||
| + | |||
| + | #callibrate the voicekey | ||
| + | oport.send_string("CV"); | ||
| + | #Detect the voicekey once! When you want to do another trigger of voicekey send another "DV" | ||
| + | oport.send_string("DV"); | ||
| + | |||
| + | #recieve the "V", in this case enter the "V" in your response manager | ||
| + | loop | ||
| + | count_old = response_manager.total_response_count() | ||
| + | until | ||
| + | response_manager.total_response_count() > count_old | ||
| + | begin | ||
| + | end; | ||
| + | voiceKeyTime = clock.time();</nowiki> | ||
| + | |||
| + | Settings for the sound trigger in presentation: | ||
| + | {| | ||
| + | |- | ||
| + | | [[File:Trigger Sound.png|600px|Image: 1200 pixels]] | ||
| + | |} | ||
Latest revision as of 09:45, 17 September 2025
This page is outdated. |
Interface BITSIbox
See: ButtonBoxes
Soundkey
Settings to record the sound in presentation:
Example code using soundKey from the buttonbox in Presentation:
output_port oport = output_port_manager.get_port( 1 );
#callibrate the voicekey
oport.send_string("CV");
#Detect the voicekey once! When you want to do another trigger of voicekey send another "DV"
oport.send_string("DV");
#recieve the "V", in this case enter the "V" in your response manager
loop
count_old = response_manager.total_response_count()
until
response_manager.total_response_count() > count_old
begin
end;
voiceKeyTime = clock.time();
Settings for the sound trigger in presentation: