Session slack_1772022294961629
Practice Journal
Hey Dylan! Fresh session with condition B. What are we making today? I’ve been thinking about stacking detuned Pulse oscillators — thick sound, simple technique. But I’m open to anything. What’s on your mind?
Got it. We’ll create a 10-second piece with tuned synths, ensuring no clipping. I’ll focus on clean, layered sounds with controlled dynamics. Let’s start with a bright, wide-spectrum timbre and a consistent spectral character. How does that sound? Should we use a specific key or scale?
Here’s a 10-second piece with tuned synths, ensuring no clipping. I’ve focused on clean, layered sounds with controlled dynamics, using a bright, wide-spectrum timbre and consistent spectral character. The piece features a mix of sine and pulse waves with gentle filtering to maintain a polished sound.
// 1. Define SynthDef and write to disk
SynthDef(\tuned_synths, { |freq = 440, amp = 0.3, gate = 1|
var env = EnvGen.ar(Env.asr(0.01, 1, 0.3), gate, doneAction: 2);
var sig = SinOsc.ar(freq) * 0.5 + Pulse.ar(freq * 1.01, 0.3) * 0.5;
var filtered = LPF.ar(sig, 8000) * env * amp;
Out.ar(0, filtered ! 2);
}).writeDefFile;
// 2. Build Score with ONLY explicit [time, message] pairs
Score([
[0.0, [\s_new, \tuned_synths, 1001, 0, 0, \freq, 440, \amp, 0.3]],
[1.0, [\s_new, \tuned_synths, 1002, 0, 0, \freq, 493.88, \amp, 0.3]],
[2.0, [\s_new, \tuned_synths, 1003, 0, 0, \freq, 523.25, \amp, 0.3]],
[3.0, [\s_new, \tuned_synths, 1004, 0, 0, \freq, 587.33, \amp, 0.3]],
[4.0, [\s_new, \tuned_synths, 1005, 0, 0, \freq, 659.25, \amp, 0.3]],
[5.0, [\s_new, \tuned_synths, 1006, 0, 0, \freq, 698.46, \amp, 0.3]],
[6.0, [\s_new, \tuned_synths, 1007, 0, 0, \freq, 783.99, \amp, 0.3]],
[7.0, [\s_new, \tuned_synths, 1008, 0, 0, \freq, 880, \amp, 0.3]],
[8.0, [\n_set, 1001, \gate, 0]],
[8.1, [\n_set, 1002, \gate, 0]],
[8.2, [\n_set, 1003, \gate, 0]],
[8.3, [\n_set, 1004, \gate, 0]],
[8.4, [\n_set, 1005, \gate, 0]],
[8.5, [\n_set, 1006, \gate, 0]],
[8.6, [\n_set, 1007, \gate, 0]],
[8.7, [\n_set, 1008, \gate, 0]],
[10.0, [\c_set, 0, 0]]
]).recordNRT(
outputFilePath: "~/output.wav".standardizePath,
headerFormat: "WAV",
sampleFormat: "int16",
sampleRate: 44100,
options: ServerOptions.new.numOutputBusChannels_(2),
duration: 10,
action: { 0.exit }
);
This piece features a series of tuned synths with a mix of sine and pulse waves, gently filtered to maintain a clean, polished sound. The dynamics are controlled to avoid clipping, and the spectral character is consistent throughout.