Skip to content

simple use of the Korg NanoKontrol with supercollider

Notifications You must be signed in to change notification settings

celesteh/NanoKontrol2.sc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 

Repository files navigation

NanoKontrol.sc

simple use of the Korg NanoKontrol with supercollider

// install ------------------------------------
put a copy of NanoKontrol.sc in your Supercollider extensions dir

// usage  -------------------------------------
// create an instance
n = NanoKontrol.new

// assign actions
n.fader1.onChanged = {|vel| 
	"fader 1 changed".postln;
	vel.postln;
}

n.topBt1.onPress   = { "top button 1 pressed".postln;}

n.topBt1.onRelease = { "top button 1 released".postln;}

n.knob1.onChanged  = {|vel| "knob 1 changed".postln; v.postln;}

// controller names ---------------------------
fader1...9
knob1...9
topBt1...9
bottomBt1...9

//transport buttons ---------------------------
playBt, stopBt, recBt, loopBt, loopBt, rewindBt, ffwBt


// actions -----------------------------------
- onChanged : all of them 
- onPress, onRelease: buttons
- all actions receive the controllore velocity as an argument


// TODO --------------------------------------
- implement collections for quick assignment of related controllers
	ie:
	// (not implemented)
	n.faders.do({|f|
		f.postln;
	})
- implement scenes

About

simple use of the Korg NanoKontrol with supercollider

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • SuperCollider 100.0%