Explorar el Código

doc/notes.txt : Resolved merge conflicts.

master
Kevin Larke hace 8 años
padre
commit
901f764d16
Se han modificado 1 ficheros con 59 adiciones y 3 borrados
  1. 59
    3
      doc/notes.txt

+ 59
- 3
doc/notes.txt Ver fichero

730
        Enable/Disable selected events.
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
 =============================================================================
748
 6. sudo port install fftw-3-single
804
 6. sudo port install fftw-3-single
749
 7. port select --list gcc (which gcc is active)
805
 7. port select --list gcc (which gcc is active)
750
 8. sudo port install gcc47
806
 8. sudo port install gcc47
751
-9. sudo port --set gcc mp-gcc47
807
+9. sudo port --set gcc mp-gcc47 (6/15/15 the default, mp-gcc5, works without this stp)
752
    sudo port intsall gdb  (then edit /System/Library/LaunchDaemons/com.apple.taskgated.plist <string>s<string> to <string>sp<string>.
808
    sudo port intsall gdb  (then edit /System/Library/LaunchDaemons/com.apple.taskgated.plist <string>s<string> to <string>sp<string>.
753
 10. sudo port install fltk
809
 10. sudo port install fltk
754
 11. sudo port install xorg-libX11 
810
 11. sudo port install xorg-libX11 
755
 12.sudo port install git
811
 12.sudo port install git
756
 13.sudo port install emacs +x11
812
 13.sudo port install emacs +x11
757
-14 install ~/Library/Preferences/org.larke.kc.txt (is this required?)
813
+14 install ~/Library/Preferences/org.larke.kc.txt (this is not required)
758
 15 create ~/Library/Preferences/kc
814
 15 create ~/Library/Preferences/kc
759
 16 Install ~/Library/Preferences/time_line.js, time_line_preset.js, time_line_preset.csv
815
 16 Install ~/Library/Preferences/time_line.js, time_line_preset.js, time_line_preset.csv
760
 
816
 

Loading…
Cancelar
Guardar