-
I originally wrote this to demonstrate what sampled audio really represents -- that is, if a series of samples represents the one and only band-limited function that passes through the sampled values, we could obtain the band-limited functi ...
-
TR-909 drum machine I made with a 32 step sequencer, I could not get the hi-hats, ride, etc perfectly so I opted to sample them (sorry). ~ohh = Buffer.read(~s1, '/samples/OpenHat/OpenHat-accent050-decay100.wav'); ~ohh2 = Buffer.read(~s1, ' ...
-
Sometime you want to play a certain part of a sound file, but you must provide the Synthdef with the starting and ending buffer frame number. It's nice to be able to select it graphically. <Space> play the selected part (or till the end if ...
-
Composition using a markov chain and a violin sample. You can set probabilities for the notes to be generated by the markov chain (minor or major or repeat or chromatic etc). Apologies for the messy appearance. There are comments and instr ...
-
An experiment with euclidian patterns, sampled drums and synthesized strings. Inspired by middle eastern 9/8 rhythms. Replace the samples in the dictionary with whatever percussion sounds you have. //An experiment with euclidian patterns, s ...
-
Graphical interface to experiment with granular sampling (one sound file at a time). // ************************************ // Granular Synthesis Demo (GUI) // Patch 1 - Granular Sampling // Bruno Ruviaro, 2013-08-20 // *************** ...
-
... r manipulating FFT data on the client side. For instance, I'm doing the 16x oversampling by expanding a 32-point FFT out to 512 points (inserting zeros in the middle, so that the 12th partial is still the 12th partial). The trick that wasn' ...
-
... ar // ================================= // A4 - musc-115-granular // GRANULAR SAMPLING // ================================= /* The code below is exactly what we built in class. You will need a MONO sample. */ // make sure to b ...
-
One of the common questions on the list is about handling very large sound files with BufRd. BufRd indexes into the buffer using a single-precision float, which supports buffers only up to 2**24 frames (a bit more than six minutes at 44.1 k ...
-
... .alloc(s, 44100 * 1.0, 1); // a 1 second 1 channel Buffer SynthDef("granular_sampling", {arg trigger = 0, graindur = 0.2, sndbuf, transp = 1, pos = 0, pan = 0, envbuf = -1, amp = 1, gate = 1; var env, snd; Record ...