-
Notifications
You must be signed in to change notification settings - Fork 447
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Booting server for project consisting of freesound samples #419
Comments
How are you booting the server, trough emacs, vim, terminal...? That answers the question of where you find the stdin. But Overtone cahces the samples so you should only need to autherize for samples that which you don't have yet locally. There's no way to avoid this, this is the security mechanism of freesound. In case of performance, then make sure you've loaded all the samples you need from freesound before starting! |
Thanks for your reply, @hlolli! I’ve tried two ways:
|
No you don't do it at the time when the server is starting, when you evaluate a sample with |
The problem is: When the samples are not cached, the website pops up while booting the server. Therefore there’s no input for the auth code. After a while the server terminates because I couldn’t be set up properly. |
Ok, that should be fixed, but the problem that you're having seems to be that you are loading a namespace which calls freesound initially. Maybe first require overtone.live or overtone.core then load the namespace, then you're sure that overtone is loaded before it calls freesound. By default, overtone should not call any freesound function. |
@kenokenobingo did you solve this issue? |
I’ve go a saved project with freesound samples in it. When I restart the nREPL server, Overtone’s access to freesound has to be authorized again, but I couldn’t find a way to paste the auth code to stdin. Is there a way to boot the server properly?
The text was updated successfully, but these errors were encountered: