(
// global variables
~out = 0;

// allocate busses
s.newBusAllocators;
~grainbus = Bus.audio(s, 2);
~grainampbus = Bus.control(s, 1);

MIDIIn.connectAll;

MIDIdef.cc(\name0, { arg vel, num; });
MIDIdef.cc(\name1, { arg vel, num; });
MIDIdef.cc(\name2, { arg vel, num; });

s.waitForBoot({

	SynthDef(\name, {
		// code goes here
	}).add;
	SynthDef(\name, {
		// code goes here
	}).add;
	SynthDef(\name, {
		// code goes here
	}).add;

	Buffer.read(s, "path0.wav");
	Buffer.read(s, "path1.wav");
	Buffer.read(s, "path2.wav");

	s.sync;

	// initial groups and synths go here
	Synth(\reverb, [dec: 4]);



});
)