Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Katharina

About

Username
Katharina
Joined
Visits
267
Last Active
Roles
Member

Comments

  • thanks for a speedy reply @eduard It's C:\Users\Katharina Kühne\Desktop
  • Many thanks for this great suggestion. I added run_onset = clock.time() prepare_duration = run_onset - prepare_onset print('prepare duration: {}'.format(prepare_duration)) var.duration = prepare_duration and then if loudness > sound_threshold: s…
  • Thank you for your answer. I have now tried import sounddevice as sd from scipy.io.wavfile import write fs = 44100 # Sample rate seconds = 1 # Duration of recording myrecording = sd.rec(int(seconds * fs), samplerate=fs, channels=2) sd.wait() # …
  • I now actually set sound duration to 945 and added an inline AFTER the voice key script if loudness > sound_threshold: self.sleep(945-response_time) else: self.sleep(0) It's just intuition, but seems to work, the lap between sound_onset is abou…
  • The sound is 0.05 ms https://forum.cogsci.nl/uploads/058/3NA2KL6JN253.png
  • Thank you ever so much! I am not sure about the timing, because we need to set it to a lower number (like 750 is 745) In the sequence above, the sound should come every 2 seconds. So should I set blank and ITI to 995?
  • And I would also like to save the voice onset time (which is even more important for me as the RT because I want to response-lock the data. can I add this? var.voice_onset = t1 # Wait until a response is available t0 = clock.time() while not dev.has…
  • I also have a question: the voice_key script logically starts only AFTER the sound has played - but participants should be able to respond vocally from the sound onset on. How do I overcome this problem? https://forum.cogsci.nl/uploads/923/12JPQFY7O…
  • Many thanks, I will try it out!
  • in parallel, I would also like to save the voice data recordings in a wav file. Itried to import wave but it didnt work.
  • Sorry to bother you again. Can you explain when the clock.time starts to count in this setup? https://forum.cogsci.nl/uploads/321/5TSEI92ISYVH.png # Listen for sounds until a sound is detected or a timeout occurs. start_time = clock.time() while …
  • Hi Noa! Did you manage to find a solution? I have a similar issue with cedrus
  • Thank you, @eduard This is an other study I want to run online, this one will be normal offline desktop study. I will try the code posted here. https://forum.cogsci.nl/index.php?p=/discussion/1772/
  • Thank you for your quick reply. I do need to use a verbal response. I was suggested to you this device as voice key https://cedrus.com/support/sv1/index.htm and apparantly it can be integrated using python code https://github.com/cedrus-opensource/…
  • Yes, works fine :) many thanks
  • Thank you ever so much. I will try it out :)
  • sorry again ) I noticed a mistake in the experiment, corrected it but still get Uncaught TypeError: Cannot read property 'cloneNode' of null See the console for further details https://forum.cogsci.nl/uploads/365/8L7QPPQP4446.png https://forum.cog…
  • oh sorry i forgot the attachment :) I am very sorry. I did not show any errors. https://forum.cogsci.nl/uploads/234/OU2K9P7EDZ71.zip https://forum.cogsci.nl/uploads/933/HTAAHO77ZIC0.osexp
  • Thanks for the quick reply. It's just one example of the experiments I tried. The console message is https://forum.cogsci.nl/uploads/948/OHZ772AH5ZRS.png https://forum.cogsci.nl/uploads/236/CMPOA42MBJKA.png I am on Google Chrome Version 83.0.4103.…
  • Thank you for your quick reply. I do need to use a verbal response. I was suggested to you this device as voice key https://cedrus.com/support/sv1/index.htm and apparantly it can be integrated using python code https://github.com/cedrus-opensource/…
  • Thank you for your quick reply. I do need to use a verbal response. I was suggested to you this device as voice key https://cedrus.com/support/sv1/index.htm and apparantly it can be integrated using python code https://github.com/cedrus-opensource/…
  • You also wrote that its is better to record speech with some other device. Could you suggest some? Is this http://www.cog.brown.edu/people/mertus/BlissDownLoad.shtml something you meant? Thanks a lot!
  • I have now browsed some examples on this forum, also the suggested one, but unfortunately, I did not help. I must confess, I am not skilled at programming though. Therefore I have several questions: Do I have to install something for the voice recor…
  • @eduard I am sorry, I did not see your reply from March. In fact, what I need is just set an event (reply given) by recording a sound, so that I can anylize the data response locked. Is there a simpler way to do it maybe without having to code a hu…
  • Thank you very much for the answers. I use Expyriment as the backend. I remember there was a sund_start_recording plugin and even an element for that. https://osdoc.cogsci.nl/3.2/manual/response/soundrecording/ I did not find it anymore.
  • Hello! I am testing my first online experiment and am getting the same error in Chrome Uncaught TypeError: Cannot read property '0' of undefined See the console for further details osweb.1.3.3.bundle.js:1 Uncaught TypeError: Cannot read property …