From 179ecdfedaeea7941a8854c01f0c7ab223288481 Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 26 Jun 2015 18:51:22 -0400 Subject: [PATCH 1/4] Makefile.am : Removed -framework vectLib --- Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile.am b/Makefile.am index 4187322..8d5c709 100644 --- a/Makefile.am +++ b/Makefile.am @@ -50,7 +50,7 @@ endif if OS_OSX AM_CPPFLAGS += -I/opt/local/include AM_LDFLAGS += -L/opt/local/lib - AM_LDFLAGS += -framework Cocoa -framework CoreAudio -framework CoreMIDI -framework Carbon -framework Accelerate -framework vecLib + AM_LDFLAGS += -framework Cocoa -framework CoreAudio -framework CoreMIDI -framework Carbon -framework Accelerate endif include src/libcm/Makefile.am From 5e56388dd76068ccacb03482ca927b005af63e5e Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 26 Jun 2015 18:51:55 -0400 Subject: [PATCH 2/4] configure.ac : Set 'sonicart=false'. --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 3561690..761365c 100644 --- a/configure.ac +++ b/configure.ac @@ -114,7 +114,7 @@ AC_ARG_ENABLE([sonicart], yes) sonicart=true ;; no) sonicart=false ;; *) AC_MSG_ERROR([bad value ${enableval} for --enable-sonicart]) ;; - esac],[sonicart=true]) + esac],[sonicart=false]) echo "sonicart=${sonicart}" From a856a14f942e0f2dfa0cb9249f71960b4ef8a29e Mon Sep 17 00:00:00 2001 From: kevin Date: Fri, 26 Jun 2015 18:52:35 -0400 Subject: [PATCH 3/4] doc/notes.txt : Updated mac builld notes. --- doc/notes.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/notes.txt b/doc/notes.txt index 2c36b42..556799e 100644 --- a/doc/notes.txt +++ b/doc/notes.txt @@ -748,12 +748,12 @@ OSX - Install Notes 6. sudo port install fftw-3--single 7. port select --list gcc (which gcc is active) 8. sudo port install gcc47 -9. sudo port --set gcc mp-gcc47 +9. sudo port --set gcc mp-gcc47 (6/15/15 the default, mp-gcc5, works without this stp) 10. sudo port install fltk 11. sudo port install xorg-libX11 12.sudo port install git-core 13.sudo port install emacs +x11 -14 install ~/Library/Preferences/org.larke.kc.txt (is this required?) +14 install ~/Library/Preferences/org.larke.kc.txt (this is not required) 15 create ~/Library/Preferences/kc 16 Install ~/Library/Preferences/time_line.js, time_line_preset.js, time_line_preset.csv From b27123ed69b5dd1a4241800a60fd452a145afa0e Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 16 Jul 2015 18:51:35 -0400 Subject: [PATCH 4/4] doc/notes.txt : Added notes. --- doc/notes.txt | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 57 insertions(+), 1 deletion(-) diff --git a/doc/notes.txt b/doc/notes.txt index 556799e..eb7c16c 100644 --- a/doc/notes.txt +++ b/doc/notes.txt @@ -730,7 +730,63 @@ Sequence Editor Design Enable/Disable selected events. - +============================================================================= + + + + a b + piano --> mic ----> adc --> fbctl --> xform -+-> dac --> spkr --> room --+ + ^ ^ ^ | | + | | | | | + | | +--------------+ | + +---------+-------------------------------------------------------------+ + +fbctl Design: + + + +1. Measure the spectrum of the room impulse response. + a. Generate a sine sweep, or Max. length sequance, s, with a non-symetric envelope. + + b. Playback s and record the result N times + using different mic. positions. + + c. S = STFT(s) + R = sum(STFT(r_i) / N + + d. Align S and R using PHAT. + e. RIR = mean(S - R) + + +2. Find the delay, d, which minimizes sum(a-b) + + a ----------> DFT() --\ + - ---> + b --> z^d --> DFT() --/ + + +============================================================================= + + 1. Use spectral flux to generate an impulse signal: f. + 2. f' = 1-f correlates to the level of time dependency in the signal. + Frames with a high time dependency contain more reberberated signal. + 3. Setup a 2xT NMF problem Y = HE + 4. Initialize spectrum 1 as the f weighted avg. of all spectra. + 5. Initialize spectrum 2 as the f' weighted avg. of all spectra. + 6. Initialize env. 1 as f + 7. Initialize env. 2 as f' + 8. Allow all other variables, other than f', to vary - spectrum 2 + is the impulse response. + + alternatively use gradient descent, or alternating LS, rather than NMF + + +============================================================================= + +New vector library: +1. Use type generic pre-proc feature. +2. Explicit matrix representation. +3. Use BLAS and LAPACK. =============================================================================