Skip to content

waitForBoot unsafe to use in norns #1

Description

@sonocircuit

Hi there

I recently discovered that in some contexts .waitForBoot is not safe to use and can cause a SUPERCOLLIDER FAIL at startup. I'm still investigating the nature of it but it would be beneficial if you could add your synthDefs to the server via CroneDefs.add(). This will send the synthDefs to the server once successfully booted.

basically all you'd need to to is replace s.waitForBoot within your classes:

MyClass {
	*initClass {
		StartUp.add {
			CroneDefs.add(
				SynthDef(\myDef, {}); // sends SynthDef to server
            );
        }
    }
} 

something unrelated: occasionally a benign error pops up due to a UGen mismatch. within sample_voice.sc you'd need to change

amp = Amplitude.kr(Mix.kr(playback), 0, 0.2) to amp = Amplitude.kr(Mix.ar(playback), 0, 0.2) or convert playback to control rate.


best

s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions