|
@@ -730,7 +730,63 @@ Sequence Editor Design
|
730
|
730
|
Enable/Disable selected events.
|
731
|
731
|
|
732
|
732
|
|
733
|
|
-
|
|
733
|
+=============================================================================
|
|
734
|
+
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+ a b
|
|
738
|
+ piano --> mic ----> adc --> fbctl --> xform -+-> dac --> spkr --> room --+
|
|
739
|
+ ^ ^ ^ | |
|
|
740
|
+ | | | | |
|
|
741
|
+ | | +--------------+ |
|
|
742
|
+ +---------+-------------------------------------------------------------+
|
|
743
|
+
|
|
744
|
+fbctl Design:
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
|
|
748
|
+1. Measure the spectrum of the room impulse response.
|
|
749
|
+ a. Generate a sine sweep, or Max. length sequance, s, with a non-symetric envelope.
|
|
750
|
+
|
|
751
|
+ b. Playback s and record the result N times
|
|
752
|
+ using different mic. positions.
|
|
753
|
+
|
|
754
|
+ c. S = STFT(s)
|
|
755
|
+ R = sum(STFT(r_i) / N
|
|
756
|
+
|
|
757
|
+ d. Align S and R using PHAT.
|
|
758
|
+ e. RIR = mean(S - R)
|
|
759
|
+
|
|
760
|
+
|
|
761
|
+2. Find the delay, d, which minimizes sum(a-b)
|
|
762
|
+
|
|
763
|
+ a ----------> DFT() --\
|
|
764
|
+ - --->
|
|
765
|
+ b --> z^d --> DFT() --/
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+=============================================================================
|
|
769
|
+
|
|
770
|
+ 1. Use spectral flux to generate an impulse signal: f.
|
|
771
|
+ 2. f' = 1-f correlates to the level of time dependency in the signal.
|
|
772
|
+ Frames with a high time dependency contain more reberberated signal.
|
|
773
|
+ 3. Setup a 2xT NMF problem Y = HE
|
|
774
|
+ 4. Initialize spectrum 1 as the f weighted avg. of all spectra.
|
|
775
|
+ 5. Initialize spectrum 2 as the f' weighted avg. of all spectra.
|
|
776
|
+ 6. Initialize env. 1 as f
|
|
777
|
+ 7. Initialize env. 2 as f'
|
|
778
|
+ 8. Allow all other variables, other than f', to vary - spectrum 2
|
|
779
|
+ is the impulse response.
|
|
780
|
+
|
|
781
|
+ alternatively use gradient descent, or alternating LS, rather than NMF
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+=============================================================================
|
|
785
|
+
|
|
786
|
+New vector library:
|
|
787
|
+1. Use type generic pre-proc feature.
|
|
788
|
+2. Explicit matrix representation.
|
|
789
|
+3. Use BLAS and LAPACK.
|
734
|
790
|
|
735
|
791
|
|
736
|
792
|
=============================================================================
|