Skip to content

Commit

Permalink
Merge pull request #142 from musikinformatik/topic-twelve-orbits
Browse files Browse the repository at this point in the history
Set default number of orbits to 12
  • Loading branch information
telephon authored Sep 11, 2019
2 parents 69514a4 + f24d3ad commit b60e9b9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion classes/SuperDirt.sc
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ SuperDirt {
index = event[\orbit] ? 0;

if(warnOutOfOrbit and: { index >= orbits.size } or: { index < 0 }) {
"SuperDirt: event falls out of existining orbits, index (%)".format(index).warn
"SuperDirt: event falls out of existing orbits, index (%)".format(index).warn
};

DirtEvent(orbits @@ index, modules, event).play
Expand Down
2 changes: 1 addition & 1 deletion classes/extSuperDirtStartup.sc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// two output channels, increase if you want to pan across more channels
// start listening on port 57120, create two orbits each sending audio to channel 0

*start { |numChannels = 2, server, numOrbits = 2, port = 57120, senderAddr, path|
*start { |numChannels = 2, server, numOrbits = 12, port = 57120, senderAddr, path|
~dirt.free;
server = server ? Server.default;
server.options.numBuffers = 1024 * 256;
Expand Down

0 comments on commit b60e9b9

Please sign in to comment.