svaponi / emdr-therapy-webapp

A simple webapp for self-administrated EMDR treatment.
https://svaponi.github.io/emdr-therapy-webapp/
MIT License
19 stars 5 forks source link

Feature Request: Sound #3

Open howardwkim opened 10 months ago

howardwkim commented 10 months ago

Thank you for making this!

Is it possible to get a binaural sound to play that corresponds to left and right position of the dot i.e. play sound in left audio channel when dot is on the left?

sm18lr88 commented 5 months ago

I second this request. This is a good EMDR app as it is. Lightweight, elegant. I'd appreciate the addition of sound.

svaponi commented 5 months ago

Hello @howardwkim, @sm18lr88,

Sound has been added. Any feedback is welcome :)

sm18lr88 commented 4 months ago

I tried it and still doesn't output sound. The sound file itself plays properly, and the code looks fine to me... is it my Brave browser? I also tried a .wav conversion of the audio file and still didn't work, but again the audio file itself is fine.

svaponi commented 4 months ago

@sm18lr88 thanks for pointing this out. I converted the .mov sound to .wav and tested with Brave, everything seems to work now. Give it a try and let me know!

👉 https://svaponi.github.io/emdr-therapy-webapp/

sm18lr88 commented 4 months ago

@svaponi Sorry I missed your update. Thanks for trying. This is what I'm experiencing:

I'm using the Brave browser. I don't know if that affects it somehow.

svaponi commented 3 months ago

@sm18lr88 I tested it with Brave, and it seems to work fine. I'm not sure what you mean by 'it doesn't lateralize with the movement'. Do you mean it's not synchronized? That also seems fine to me.

Anyways, I put online a new version, please give it a try and let me know.

Regarding local development, try run npx http-server ./docs/ from the project directory. That should serve the project on http://127.0.0.1:8080/.