From c3cd7a28ce8ca1caa83e8f1eed152587341c90e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Prin=C4=8Di=C4=8D?= Date: Fri, 10 Apr 2020 13:37:06 +0200 Subject: [PATCH] log for 10.april --- LOG.md | 46 +++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/LOG.md b/LOG.md index 0a17c6c..ceca3e2 100644 --- a/LOG.md +++ b/LOG.md @@ -105,12 +105,48 @@ Ndef(\ba, ) ) ``` -\ -\ +- -\ +## 10.apr, 2020 -\ +Implemented bus routing while using Ndef so I could hear the yesterday's melodies in more rich reverb/delay kinda space: -## 10.apr, 2020 \ No newline at end of file +``` +~reverBus = Bus.audio(s,2); + +Ndef(\ba).play(~reverBus, addAction: \addToHead) + +~reverbDelay = Synth(\verbDelayFX, [\inBus, ~reverBus, \outBus, 0], addAction: \addAfter); +``` +... and then the ```Pbind``` or ```Pbindf``` need +``` + \out, ~reverBus +``` +inside. + +I then went on to find ways how to load single-cycle waveforms and discovered that the collection I have has them all in size of 600 samples. Which SC doesn't like in order to oscilate them with ```Osc.ar``` and use them as wavetables. However it's possible to oscilate them with ```BufRd.ar``` which I tested and played a little with it: +``` + +Ndef(\bosc).play +Ndef(\bosc).fadeTime=2; + +( +Ndef(\bosc, { + var buffer = ~smpBuffers[2], freq = 30, oscDetune = 1.01, amp = 0.2; + BufRd.ar(1, bufnum:buffer, phase: LFSaw.ar([freq,freq*oscDetune]) * BufFrames.ir(buffer)) * amp + //+ SinOsc.ar(60.2) * 0.5; +} ); +) + +``` + +... but then I discovered and started to read on Buffer filling methods and ```Harmonics``` class. It's a sine harmonics factory with number of different methods how to manipulate the frequencies and amps for them. It took me a while to understand what exactly is going on, but now I understand and I'm curious about all different ways how one can fill a buffer with various waveforms to use in synths. + +the main ark_d.scd is in complete disarray, because I'm using it as a testing ground. I should be working in SC_Workspace, but then I would not be able to work on different machines (I would need to continue saving the Workspace, yeah.). + +That was about 3.5 hours of work today. I feel I'm far from something musically concrete, but **I'm showing up**. + +- + +## \ No newline at end of file