Coder Social home page Coder Social logo

salkin-mada / convenience Goto Github PK

View Code? Open in Web Editor NEW
13.0 13.0 0.0 449 KB

A tool to load audio files into accessible collections of buffers and sequence them in SuperCollider

License: GNU General Public License v3.0

SuperCollider 100.00%
supercollider-quark

convenience's Introduction

			* `s.volume_(666); play{WhiteNoise.ar(666)!666};`

convenience's People

Contributors

htor avatar salkin-mada avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

convenience's Issues

add synthDef Class

Copy all to synth definitions to new .sc
Will make Convenience a bit thinner. Also start to make PitchShift defs.

total hang on bad rate arg

for expansion ! user could do Pseq([[0.5,1.0]], inf) but tries shorthand - rate: [0.5,1,0] hangs sclang, only solution is to terminate sclang and scsynth.

panner seems to be "broken"

yep. pan: spread: width: in C.p works as ~expected on mono buffers ( gründlich tjek skatter )
but on stereo it is an iffy user experience.

mayor mistake, bufnum is localhost

Convenience.get(\til_Convenience_folder, 3).postln

localhost -> localhost

and using .p will throw

ERROR: Message 'bufnum' not understood.
RECEIVER:
Instance of Server {    (0x5577190dc4a8, gc=88, fmt=00, flg=00, set=05)
  instance variables [30]
    name : Symbol 'localhost'
    addr : instance of NetAddr (0x5577190d9008, size=4, set=2)
    clientID : Integer 0
    isLocal : true
    inProcess : false
    sendQuit : true
    remoteControlled : false
    maxNumClients : Integer 1
    options : instance of ServerOptions (0x5577190d2238, size=38, set=6)
    latency : Float 0.200000   9999999A 3FC99999
    dumpMode : Integer 0
    nodeAllocator : instance of NodeIDAllocator (0x55771b728488, size=7, set=3)
    controlBusAllocator : instance of ContiguousBlockAllocator (0x55771b71f2f8, size=6, set=3)
    audioBusAllocator : instance of ContiguousBlockAllocator (0x55771b7d3e18, size=6, set=3)
    bufferAllocator : instance of ContiguousBlockAllocator (0x55771b7d96c8, size=6, set=3)
    scopeBufferAllocator : instance of StackNumberAllocator (0x55771c5e1568, size=4, set=2)
    tree : nil
    defaultGroup : instance of Group (0x557719227228, size=5, set=3)
    defaultGroups : instance of Array (0x55771c5e1798, size=1, set=2)
    syncThread : nil
    syncTasks : nil
    window : nil
    scopeWindow : nil
    emacsbuf : nil
    volume : instance of Volume (0x5577190d3e68, size=15, set=4)
    recorder : instance of Recorder (0x5577190d39f8, size=14, set=4)
    statusWatcher : instance of ServerStatusWatcher (0x5577190dc6d8, size=20, set=5)
    pid : Integer 4470
    serverInterface : instance of ServerShmInterface (0x55771ca8b1e8, size=2, set=2)
    pidReleaseCondition : instance of Condition (0x5577190d6508, size=2, set=2)
}
ARGS:

PROTECTED CALL STACK:
	Meta_MethodError:new	0x5577197f5a40
		arg this = DoesNotUnderstandError
		arg what = nil
		arg receiver = localhost
	Meta_DoesNotUnderstandError:new	0x5577197f7a00
		arg this = DoesNotUnderstandError
		arg receiver = localhost
		arg selector = bufnum
		arg args = [  ]
	Object:doesNotUnderstand	0x5577192c3600
		arg this = localhost
		arg selector = bufnum
		arg args = nil
	a FunctionDef	0x557719636540
		sourceCode = "<an open Function>"
		var numChannels = nil
		var scaling = nil
		var fft = nil
		var pitchshift = nil
	a FunctionDef	0x55771a5bf980
		sourceCode = "#{
					var tempo, server, eventTypes, parentType;

					parentType = ~parentTypes[~type];
					parentType !? { currentEnvironment.parent = parentType };

					server = ~server = ~server ? Server.default;

					~finish.value(currentEnvironment);

					tempo = ~tempo;
					tempo !? { thisThread.clock.tempo = tempo };


					if(currentEnvironment.isRest.not) {
						eventTypes = ~eventTypes;
						(eventTypes[~type] ?? { eventTypes[\\note] }).value(server)
					};

					~callback.value(current...etc..."
		var tempo = nil
		var server = localhost
		var eventTypes = ( 'fadeBus': a Function, 'freeAllocWrite': a Function, 'tree': a Function, 'on': a Function, 
  'load': a Function, 'freeBuffer': a Function, 'group': a Function, 'freeAllocRead': a Function, 'allocWrite': a Function, 
  'cue': a Function, 'grain': a Function, 'Synth': a Function, 'freeAllocWriteID': a Function, 'rest': a Function, 
  'alloc': a Function, 'sine2': a Function, 'Convenience': a Function, 'sine1': a Function, 'midi': a Function, 
  'set': a Function, 'setProperties': a Function, 'parGroup': a ...etc...
		var parentType = nil
	a FunctionDef	0x55771a55a600
		sourceCode = "<an open Function>"
	Function:prTry	0x557719a5a300
		arg this = a Function
		var result = nil
		var thread = a Routine
		var next = nil
		var wasInProtectedFunc = false
	
CALL STACK:
	DoesNotUnderstandError:reportError
		arg this = <instance of DoesNotUnderstandError>
	Nil:handleError
		arg this = nil
		arg error = <instance of DoesNotUnderstandError>
	Thread:handleError
		arg this = <instance of Thread>
		arg error = <instance of DoesNotUnderstandError>
	Thread:handleError
		arg this = <instance of Routine>
		arg error = <instance of DoesNotUnderstandError>
	Object:throw
		arg this = <instance of DoesNotUnderstandError>
	Function:protect
		arg this = <instance of Function>
		arg handler = <instance of Function>
		var result = <instance of DoesNotUnderstandError>
	Environment:use
		arg this = <instance of Event>
		arg function = <instance of Function>
		var result = nil
		var saveEnvir = <instance of Environment>
	Event:play
		arg this = <instance of Event>
	Event:playAndDelta
		arg this = <instance of Event>
		arg cleanup = <instance of EventStreamCleanup>
		arg mute = false
	EventStreamPlayer:prNext
		arg this = <instance of EventStreamPlayer>
		arg inTime = 0.0
		var nextTime = nil
		var outEvent = <instance of Event>
	< FunctionDef in Method EventStreamPlayer:init >
		arg inTime = 0.0
	Routine:prStart
		arg this = <instance of Routine>
		arg inval = 0.0
^^ The preceding error dump is for ERROR: Message 'bufnum' not understood.
RECEIVER: localhost

sketch enhancement notes

// ihværksæt beskyttelses tilstand
// behøves der en scaleNum func, er det redundant eller er det ease.
// + Scale.names[32.wrap(0, Scale.names.size-1)].asString = method --> Convenience.scaleNum
// ++ config setup for hvornår tilstanden skal slå ind / ændres

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.