-
Notifications
You must be signed in to change notification settings - Fork 12
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
"Library is uncompiled": Unhandled promise rejection Object with error: ReferenceError: fs is not defined #47
Comments
Very strange that it worked for me. There was an obvious missing import but with coffeescript I don't see any warnings about missing variables as I would with javascript. Fixed with a new version published |
It looks like you are using a 3.6 version of supercollider. True ? The cache variable was introduced only in the new version of Quarks. I should probably explicitly state that only 3.7+ is supported. I had On Mon, Jul 6, 2015 at 5:36 AM Kevan Atkins [email protected]
|
That's fine: it did compile. The ERROR thing about the Document class should be a warning, but that's how supercollider is posting it right now. We have an issue filed to clean that up so it doesn't confuse people. If you aren't getting sound then its something with your code or your speakers/audio interface. Server.default.boot;
{
SinOsc.ar(440) * 0.1
}.play |
Not quite. My code runs fine in the SuperCollider IDE and with Sublime and but not at all here. |
You say that the sound doesn't work. Does the interpreter work ?
|
The interpreter works. A little further investigation yields the following: It seems there are multiple problems here. Your code works. As does a lot of stuff, though intermittently. I might fire off a piece of code such as triggering a Synth 10 times and it only plays once or twice. This is consistent with both this newer version of SuperCollider, Sublime and in Atom. This wasn't an issue before. There seems to be a real performance hit in this version. The server takes a lot longer to boot than it did before and there seem to be a lot of bugs. And I did a clean install of it. When I roll the version back to 3.6.6, these issues disappear except for of course Atom not working since < 3.7 versions are not supported as you mentioned earlier. One of my full pieces (https://gist.github.com/unclewalter/96cf5774f923821e6c02) plays in the IDE and with Sublime, but not in Atom, where it just yields this error: which I think is a separate issue and more to do with the setup in Atom. The other issues, seem more to do with this version of SuperCollider. |
That sounds really strange. Don't assume its because of "this version" though. Something else is going on with your installation. Everybody else would also be screaming if the entire thing was unusable like that. lightening fast for me:
If you go into Packages > SuperCollider you can turn on debug which should post a bit more to the internal console. Open that with option-cmd-i That would show the full JSON dump of that error. For some reason the file is null |
I filed a new issue: #48 |
It won't compile the library and so won't do anything at all beyond that. I have SuperCollider installed in the correct location. The console comes up with a reference error when I try to compile the library.
The text was updated successfully, but these errors were encountered: