julian.rohrhuber

Avatar

julian.rohrhuber's code

Converting an environment in a prototype object

1

/* I often like to write out a library as an environment, like: ~start_sound = { |freq, amp| <...> }; ~start_high_pitch_sound = { |amp| ~start_sound.(14000, amp) }; … and then use loadRelative to load that library. This, however has the problem that you can't stick the whole library into an environment that you call from the outside. e.g. q = (); q.use { resolveRelative("/library.scd") }; and then trying: q.start_sound(700, 0.1); q.start_high_pitch_sound(0.1); will not work. Firstly, it will expect the environment as first argument of each function, second, it won't find a function like ~start_sound from within the call context. Here is a way to convert an environment as needed. */

how to use the SynthDef's default argument in an Event?

03 Nov'17 15:03 in patterneventhelpeventtype

One answer to the question "how to use the SynthDef's default argument in an Event?"

growing layout

1 1
01 Oct'16 11:10 in growing layoutgrowing layout

Just an illustration of how layouts behave dynamically.

experiments in detecting fast onsets with Amplitude UGens

A series of consecutive experiments (all results visualised as plots) that try to detect onsets in a noisy signal.

Formant filter using the Vowel Quark

A function to get the n loudest partials, or all partials louder than a threshold, for a formant filter using Klank and Vowel

convert arrays to graphviz dot format

09 Jun'15 18:31 in arraysdotnested

Displays a tree from nested arrays for graphviz

indepted to time, another quine

This is another acoustic quine (an old one, now repaired), one that mainly consists in time intervals between impulses.

Where did I leave my keys?

3
01 Nov'13 23:05 in speculativemultichannelcrossing

Cross-tuning between multiple signal dimensions. The code is finished without listening.