# HG changeset patch
# User mas01mj
# Date 1272644954 0
# Node ID df35c9c976a08a63b0116b6a95262f2df42afe12
# Parent 14b48e1b9ca42a169bfa60f059a044efdf62c8b5
Redoing feature selector to be a little more verbose.
diff -r 14b48e1b9ca4 -r df35c9c976a0 examples/iAudioDB/AppController.m
--- a/examples/iAudioDB/AppController.m Fri Apr 30 15:31:08 2010 +0000
+++ b/examples/iAudioDB/AppController.m Fri Apr 30 16:29:14 2010 +0000
@@ -78,22 +78,22 @@
extractor = @"adb_chroma";
dim = 12;
break;
- case 1:
+ /* case 1:
extractor = @"adb_cq";
dim = 48;
break;
case 2:
extractor = @"qm_chroma";
dim = 12;
- break;
- case 3:
+ break;*/
+ case 1:
extractor = @"qm_mfcc";
dim = 12;
break;
}
// Calculate the max DB size
- int vectors = ceil(([maxLengthField doubleValue] * 60.0f) / (([hopSizeField doubleValue] / 1000) * 44100.0f));
+ int vectors = ceil([maxLengthField doubleValue] / (([hopSizeField doubleValue] / 1000) * 44100.0f));
NSLog(@"Vectors: %d", vectors);
int numtracks = [maxTracksField intValue];
int datasize = ceil((numtracks * vectors * dim * 8.0f) / 1024.0f / 1024.0f); // In MB
diff -r 14b48e1b9ca4 -r df35c9c976a0 examples/iAudioDB/English.lproj/MainMenu.xib
--- a/examples/iAudioDB/English.lproj/MainMenu.xib Fri Apr 30 15:31:08 2010 +0000
+++ b/examples/iAudioDB/English.lproj/MainMenu.xib Fri Apr 30 16:29:14 2010 +0000
@@ -914,21 +914,25 @@
@@ -2563,8 +2522,6 @@
-
-
@@ -2671,16 +2628,6 @@
- 755
-
-
-
-
- 756
-
-
-
-
693
@@ -3224,6 +3171,34 @@
+
+ 911
+
+
+ YES
+
+
+
+
+
+ 912
+
+
+
+
+ 913
+
+
+ YES
+
+
+
+
+
+ 914
+
+
+
@@ -3329,8 +3304,6 @@
714.IBPluginDependency
72.IBPluginDependency
72.ImportedFromIB2
- 755.IBPluginDependency
- 756.IBPluginDependency
757.IBPluginDependency
758.IBPluginDependency
759.IBPluginDependency
@@ -3416,6 +3389,10 @@
899.IBPluginDependency
900.IBPluginDependency
901.IBPluginDependency
+ 911.IBPluginDependency
+ 912.IBPluginDependency
+ 913.IBPluginDependency
+ 914.IBPluginDependency
92.IBPluginDependency
92.ImportedFromIB2
@@ -3532,8 +3509,6 @@
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
- com.apple.InterfaceBuilder.CocoaPlugin
{{26, 698}, {528, 56}}
{{26, 698}, {528, 56}}
@@ -3608,6 +3583,10 @@
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
+ com.apple.InterfaceBuilder.CocoaPlugin
@@ -3631,7 +3610,7 @@
- 909
+ 914