lint check
3 December 2004
(/*
search for potential class not found errors
look in all classes, in all methods for likely class names
ie. if first character of symbol is a capital letter
but are not actually classes
it will match on AIFF SD2 etc., but is otherwise quite useful
*/Class.allClasses.do({ arg class;
(class.methods ?? {[]}).do({ arg method;
var literals;
literals = method.literals;
if(literals.notNil,{
literals.do({ arg lit;
if(lit.isKindOf(Symbol) and: { lit.isClassName },{
if(lit.asClass.isNil,{
lit.post;
(30 - lit.asString.size).do({ " ".post; });
(class.name.asString ++ "::" ++ method.name.asString).postln;
})
})
})
});
})
});)(
/*
search for potential method not found errors
look through all methods for method selectors that
are not defined for any class
this finds many false cases because it matches any symbol.
so it finds 'AIFF' etc.
but i found a good 7 or 8 typos in mine and others code
// could reject any spec names
// any instr names
// sound file types*/var allMethodNames;
allMethodNames = IdentityDictionary.new;Class.allClasses.do({ arg class;
(class.methods ?? {[]}).do({ arg method;
allMethodNames.put(method.name,true);
})
});Class.allClasses.do({ arg class;
(class.methods ?? {[]}).do({ arg method;
var literals;
literals = method.literals;
if(literals.notNil,{
literals.do({ arg lit;
if(lit.isKindOf(Symbol) and: { lit.isClassName.not },{
if(allMethodNames.at(lit).isNil,{
lit.post;
(30 - lit.asString.size).do({ " ".post; });
(class.name.asString ++ "::" ++ method.name.asString).postln;
})
})
})
});
})
});)more posts in Super Collider
- on laptops, controllers, musicianship, post-musicianship
Sam Pluta published an article about computer based music, information theory and human control: http://www.newmusicbox.org/article.nmbx?id=5614 and then we discussed it and I posted the following to the list, so I wanted to preserve it here because it collects some of my long-standing thoughts and experiences about controllers and live computer based music. sometimes I've gotten a bunch of controllers (a few too many) and then found that it was distracting to the music. instead of it being about music it ...
- apple goofs up airport update
The new mac airport update breaks most audio programs. We now get nasty crackling and CPU spikes. Solution: turn airport off when making muzak. or revert the airport update: http://www.ableton.com/forum/viewtopic.php?t=88815&postdays=0&postorder=asc&start=0&sid=63b29a6140f11d35ef1b64db664f3cb5 and the thing is this is the first time in 5 months that my airport has worked with our apartment's WLAN. I've had a cable running down the hall and I can't shut my door. george clinton has two houses : one for music, one for business.
- how to set up a local svn repository (for SC)
How to create and maintain a local SVN repository for your private work. If you are just working locally, you don't have to run an svn server at all. Its much easier than I thought. ( this is mainly a post about working with supercollider packages. if you just want to know how to set up a local svn repository then I'll cut to the chase: svn import ~/Documents/SC3docs/felix-imported file:///Users/crucial/svn/sc/trunk/felix -m "initial felix import" then check out a working copy: ...
- super collider links
SuperCollider2 runs only on Mac OS9. It is now available for free from http://audiosynth.com SuperCollider3 is open source, and runs on OS X and Linux. http://sourceforge.net/projects/supercollider/ browse CVS tree http://cvs.sourceforge.net/viewcvs.py/supercollider/SuperCollider3/ sc-users mailing list info http://www.create.ucsb.edu/mailman/listinfo/sc-users sc-users archives http://www.create.ucsb.edu/pipermail/sc-users/ http://news.gmane.org/gmane.comp.audio.supercollider.user sc-dev mailing list info http://www.create.ucsb.edu/mailman/listinfo/sc-dev sc-dev archives http://www.create.ucsb.edu/pipermail/sc-dev/ http://del.icio.us/tag/supercollider search sc user lists archives:
- Full index for Super Collider
- on laptops, controllers, musicianship, post-musicianship


1 web development says...
Humm… interesting,
This is really helpful,
Works for me,
Keep up the good work,
Thanks for writing about it
Posted at 11:35 a.m. on October 29, 2009