Search found 5 matches

by warmcupoftea
Fri Jul 16, 2021 10:28 pm
Forum: Mind Monitor
Topic: Mind Monitor Python OSC Examples
Replies: 28
Views: 15185

Re: Mind Monitor Python OSC Examples

The MatPlotLib library is not thread safe. It works fine on Windows, but not on linux/mac, so there's a bug in there they need to fix. https://matplotlib.org/stable/faq/howto_faq.html#work-with-threads This is only used in the plotting audio feedback example. Yes, I realized that the audio feedback...
by warmcupoftea
Fri Jul 16, 2021 11:33 am
Forum: Mind Monitor
Topic: Mind Monitor Python OSC Examples
Replies: 28
Views: 15185

Re: Mind Monitor Python OSC Examples

When you want to run a file with spaces in the name, you need to surround the name with quotation marks. Okay, thank you for this :) And for the update, I finally am able to run the code without an error. ( I guess?) It needs to be run by python3. My mac could not run python3 at first because the X...
by warmcupoftea
Fri Jul 16, 2021 9:56 am
Forum: Mind Monitor
Topic: Mind Monitor Python OSC Examples
Replies: 28
Views: 15185

Re: Mind Monitor Python OSC Examples

hmm.. it obviously is an issue with the space in the file's name here on my computer. I tested with print 'hello world' in the file name hello.py vs hello 2.py, for example, and my mac terminal can't run the second one [hello 2.py]. so the name is the problem here. but anyway, I have changed the ip ...
by warmcupoftea
Fri Jul 16, 2021 9:28 am
Forum: Mind Monitor
Topic: Mind Monitor Python OSC Examples
Replies: 28
Views: 15185

Re: Mind Monitor Python OSC Examples

Thanks for the quick reply. I'm sorry the ^ was not at the def it was at the first : on that line. It looks like this File "OSC-Receiver-Simple.py", line 13 def eeg_handler(address: str,*args): ^ SyntaxError: invalid syntax When first the file name had space, it could not run. That's why I...
by warmcupoftea
Thu Jul 15, 2021 12:02 pm
Forum: Mind Monitor
Topic: Mind Monitor Python OSC Examples
Replies: 28
Views: 15185

Re: Mind Monitor Python OSC Examples

Hello I'd like to thanks James for the python example. I feel like I'm closer to get the data I need into my computer to process it. But I got stuck with the error on the terminal while I'm trying to run OSC Receiver Simple.py Well, before I run your code, I did change the name because there is a sp...