quiet / quiet-js

Transmit data with sound using Web Audio -- Javascript binding for libquiet
BSD 3-Clause "New" or "Revised" License
2.2k stars 151 forks source link

Examples not working #11

Closed yenoh2 closed 7 years ago

yenoh2 commented 7 years ago

When I try to setup and run your examples, I get the following error:
Uncaught TypeError: Quiet.setProfilesPrefix is not a function

Please help. I've spent half a day troubleshooting to no avail.

brian-armstrong commented 7 years ago

Eep, I'm sorry. I forgot that I still need to do this.

Have a look at this issue https://github.com/quiet/quiet-js/issues/10

Basically, initialization is done with a single function with a map of values now

Sorry for your frustrations :(

yenoh2 commented 7 years ago

No apology necessary. I didn't want you to think I was bugging you without giving it some effort. Thank you this project is impressive!

On Mar 8, 2017 5:35 PM, "Brian Armstrong" notifications@github.com wrote:

Eep, I'm sorry. I forgot that I still need to do this.

Have a look at this issue #10 https://github.com/quiet/quiet-js/issues/10

Basically, initialization is done with a single function with a map of values now

Sorry for your frustrations :(

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/quiet/quiet-js/issues/11#issuecomment-285092812, or mute the thread https://github.com/notifications/unsubscribe-auth/AWduHakYk05BuLwOwSuPDZG5T7z4WzaAks5rjtjngaJpZM4MWqQT .

brian-armstrong commented 7 years ago

Please don't hesitate to ask if you get stuck again. The pieces have moved around quickly so I know there are some rough edges. If you're using quiet.js as part of a project then that's very cool :)

brian-armstrong commented 7 years ago

I pushed an update to the master branch. I tested the examples and they do now work. If you get a chance, please try them again and let me know how it goes. Thanks :)

yenoh2 commented 7 years ago

Awesome! Thank you. I'll give it a try.

I noticed that it strips carriage returns and extra white spaces. Is there a way to transmit them also?

On Fri, Mar 10, 2017 at 8:34 AM, Brian Armstrong notifications@github.com wrote:

I pushed an update to the master branch. I tested the examples and they do now work. If you get a chance, please try them again and let me know how it goes. Thanks :)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/quiet/quiet-js/issues/11#issuecomment-285598748, or mute the thread https://github.com/notifications/unsubscribe-auth/AWduHUK3BMg8csQfDlKYomoysn4z-akbks5rkPz0gaJpZM4MWqQT .

brian-armstrong commented 7 years ago

What an excellent question! It's because I was putting the text into <p></p> tags. I switched the example to instead use <pre></pre> tags, and it looks much better. Try it now :)

brian-armstrong commented 7 years ago

Closing since this is fixed