Further refine groove selection

This commit is contained in:
Matthias Neeracher 2007-04-23 05:46:37 +00:00
parent 3096164028
commit 3ae4701544
12 changed files with 900 additions and 42 deletions

View File

@ -1,13 +0,0 @@
{
IBClasses = (
{CLASS = FirstResponder; LANGUAGE = ObjC; SUPERCLASS = NSObject; },
{
ACTIONS = {endSheet = id; updateDescription = id; };
CLASS = VLGrooveController;
LANGUAGE = ObjC;
OUTLETS = {fBrowser = NSBrowser; fDescription = NSTextField; fOKButton = NSButton; };
SUPERCLASS = NSWindowController;
}
);
IBVersion = 1;
}

845
English.lproj/VLGroove.nib/designable.nib generated Normal file
View File

@ -0,0 +1,845 @@
<?xml version="1.0" encoding="UTF-8"?>
<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="7.01">
<data>
<int key="IBDocument.SystemTarget">1050</int>
<string key="IBDocument.SystemVersion">9A412</string>
<string key="IBDocument.InterfaceBuilderVersion">599</string>
<string key="IBDocument.AppKitVersion">902</string>
<string key="IBDocument.HIToolboxVersion">304.00</string>
<object class="NSMutableArray" key="IBDocument.EditedObjectIDs">
<bool key="EncodedWithXMLCoder">YES</bool>
<integer value="14"/>
</object>
<object class="NSArray" key="IBDocument.PluginDependencies">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
</object>
<object class="NSMutableArray" key="IBDocument.RootObjects" id="985745297">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSCustomObject" id="865861558">
<string key="NSClassName">VLGrooveController</string>
</object>
<object class="NSCustomObject" id="752203305">
<string key="NSClassName">FirstResponder</string>
</object>
<object class="NSWindowTemplate" id="224281390">
<int key="NSWindowStyleMask">3</int>
<int key="NSWindowBacking">2</int>
<string key="NSWindowRect">{{176, 165}, {634, 396}}</string>
<int key="NSWTFlags">1886912512</int>
<object class="NSMutableString" key="NSWindowTitle">
<characters key="NS.bytes">Panel</characters>
</object>
<object class="NSMutableString" key="NSWindowClass">
<characters key="NS.bytes">NSPanel</characters>
</object>
<object class="NSMutableString" key="NSViewClass">
<characters key="NS.bytes">View</characters>
</object>
<object class="NSView" key="NSWindowView" id="553751565">
<reference key="NSNextResponder"/>
<int key="NSvFlags">256</int>
<object class="NSMutableArray" key="NSSubviews">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSBrowser" id="154742234">
<reference key="NSNextResponder" ref="553751565"/>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{20, 98}, {390, 298}}</string>
<reference key="NSSuperview" ref="553751565"/>
<reference key="NSWindow"/>
<int key="NSTag">1000</int>
<bool key="NSEnabled">YES</bool>
<object class="NSBrowserCell" key="NSCellPrototype">
<int key="NSCellFlags">67239488</int>
<int key="NSCellFlags2">2048</int>
<string key="NSContents"> </string>
<object class="NSFont" key="NSSupport">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">1.200000e+01</double>
<int key="NSfFlags">16</int>
</object>
</object>
<object class="NSMutableString" key="NSPathSeparator">
<characters key="NS.bytes">/</characters>
</object>
<string key="NSFirstColumnTitle">Style</string>
<int key="NSMinColumnWidth">150</int>
<int key="NSNumberOfVisibleColumns">2</int>
<int key="NSColumnResizingType">1</int>
<double key="NSPreferedColumnWidth">3.000000e+02</double>
<bool key="NSAllowsTypeSelect">YES</bool>
<int key="NSBrFlags">402800640</int>
</object>
<object class="NSTextField" id="58605456">
<reference key="NSNextResponder" ref="553751565"/>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{380, 249}, {224, 257}}</string>
<reference key="NSSuperview" ref="553751565"/>
<reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="501896149">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">272629760</int>
<string key="NSContents">System Font Text</string>
<object class="NSFont" key="NSSupport" id="739559195">
<string key="NSName">LucidaGrande</string>
<double key="NSSize">1.300000e+01</double>
<int key="NSfFlags">1044</int>
</object>
<reference key="NSControlView" ref="58605456"/>
<object class="NSColor" key="NSBackgroundColor" id="1004780981">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">controlColor</string>
<object class="NSColor" key="NSColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MC42NjY2NjY2OQA</bytes>
</object>
</object>
<object class="NSColor" key="NSTextColor" id="90938658">
<int key="NSColorSpace">6</int>
<string key="NSCatalogName">System</string>
<string key="NSColorName">controlTextColor</string>
<object class="NSColor" key="NSColor">
<int key="NSColorSpace">3</int>
<bytes key="NSWhite">MAA</bytes>
</object>
</object>
</object>
</object>
<object class="NSButton" id="873023645">
<reference key="NSNextResponder" ref="553751565"/>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{538, 12}, {82, 32}}</string>
<reference key="NSSuperview" ref="553751565"/>
<reference key="NSWindow"/>
<int key="NSTag">1000</int>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="606150018">
<int key="NSCellFlags">604110336</int>
<int key="NSCellFlags2">134217728</int>
<string key="NSContents">OK</string>
<reference key="NSSupport" ref="739559195"/>
<int key="NSTag">1000</int>
<reference key="NSControlView" ref="873023645"/>
<int key="NSButtonFlags">-2038284033</int>
<int key="NSButtonFlags2">1</int>
<reference key="NSAlternateImage" ref="739559195"/>
<string key="NSAlternateContents" id="657599933"/>
<string type="base64-UTF8" key="NSKeyEquivalent">DQ</string>
<int key="NSPeriodicDelay">200</int>
<int key="NSPeriodicInterval">25</int>
</object>
</object>
<object class="NSButton" id="795340218">
<reference key="NSNextResponder" ref="553751565"/>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{442, 12}, {82, 32}}</string>
<reference key="NSSuperview" ref="553751565"/>
<reference key="NSWindow"/>
<int key="NSTag">1001</int>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="79109941">
<int key="NSCellFlags">67239424</int>
<int key="NSCellFlags2">134217728</int>
<string key="NSContents">Cancel</string>
<reference key="NSSupport" ref="739559195"/>
<int key="NSTag">1001</int>
<reference key="NSControlView" ref="795340218"/>
<int key="NSButtonFlags">-2038284033</int>
<int key="NSButtonFlags2">1</int>
<reference key="NSAlternateImage" ref="739559195"/>
<reference key="NSAlternateContents" ref="657599933"/>
<string type="base64-UTF8" key="NSKeyEquivalent">Gw</string>
<int key="NSPeriodicDelay">200</int>
<int key="NSPeriodicInterval">25</int>
</object>
</object>
<object class="NSTextField" id="413051750">
<reference key="NSNextResponder" ref="553751565"/>
<int key="NSvFlags">256</int>
<string key="NSFrame">{{415, 98}, {202, 276}}</string>
<reference key="NSSuperview" ref="553751565"/>
<reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSTextFieldCell" key="NSCell" id="1052561470">
<int key="NSCellFlags">71433728</int>
<int key="NSCellFlags2">272629760</int>
<reference key="NSContents" ref="657599933"/>
<reference key="NSSupport" ref="739559195"/>
<reference key="NSControlView" ref="413051750"/>
<bool key="NSDrawsBackground">YES</bool>
<reference key="NSBackgroundColor" ref="1004780981"/>
<reference key="NSTextColor" ref="90938658"/>
</object>
</object>
<object class="NSButton" id="659418216">
<reference key="NSNextResponder" ref="553751565"/>
<int key="NSvFlags">268</int>
<string key="NSFrame">{{18, 14}, {152, 32}}</string>
<reference key="NSSuperview" ref="553751565"/>
<reference key="NSWindow"/>
<bool key="NSEnabled">YES</bool>
<object class="NSButtonCell" key="NSCell" id="324743914">
<int key="NSCellFlags">604110336</int>
<int key="NSCellFlags2">0</int>
<string key="NSContents">Play Selected Groove</string>
<reference key="NSSupport" ref="739559195"/>
<reference key="NSControlView" ref="659418216"/>
<int key="NSButtonFlags">1211912703</int>
<int key="NSButtonFlags2">2</int>
<object class="NSCustomResource" key="NSNormalImage">
<string key="NSClassName">NSImage</string>
<string key="NSResourceName">NSSwitch</string>
</object>
<object class="NSButtonImageSource" key="NSAlternateImage">
<string key="NSImageName">NSSwitch</string>
</object>
<reference key="NSAlternateContents" ref="657599933"/>
<reference key="NSKeyEquivalent" ref="657599933"/>
<int key="NSPeriodicDelay">200</int>
<int key="NSPeriodicInterval">25</int>
</object>
</object>
</object>
<string key="NSFrameSize">{634, 396}</string>
<reference key="NSSuperview"/>
<reference key="NSWindow"/>
</object>
<string key="NSScreenRect">{{0, 0}, {1280, 778}}</string>
<string key="NSMinSize">{213, 129}</string>
<string key="NSMaxSize">{3.40282e+38, 3.40282e+38}</string>
</object>
<object class="NSCustomObject" id="986721188">
<string key="NSClassName">NSApplication</string>
</object>
</object>
<object class="IBObjectContainer" key="IBDocument.Objects">
<object class="NSMutableArray" key="connectionRecords">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">window</string>
<reference key="source" ref="865861558"/>
<reference key="destination" ref="224281390"/>
</object>
<int key="connectionID">19</int>
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">endSheet:</string>
<reference key="source" ref="865861558"/>
<reference key="destination" ref="795340218"/>
</object>
<int key="connectionID">20</int>
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">endSheet:</string>
<reference key="source" ref="865861558"/>
<reference key="destination" ref="873023645"/>
</object>
<int key="connectionID">21</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">delegate</string>
<reference key="source" ref="154742234"/>
<reference key="destination" ref="865861558"/>
</object>
<int key="connectionID">22</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">fBrowser</string>
<reference key="source" ref="865861558"/>
<reference key="destination" ref="154742234"/>
</object>
<int key="connectionID">23</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">fDescription</string>
<reference key="source" ref="865861558"/>
<reference key="destination" ref="413051750"/>
</object>
<int key="connectionID">25</int>
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">updateDescription:</string>
<reference key="source" ref="865861558"/>
<reference key="destination" ref="154742234"/>
</object>
<int key="connectionID">26</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">fOKButton</string>
<reference key="source" ref="865861558"/>
<reference key="destination" ref="873023645"/>
</object>
<int key="connectionID">27</int>
</object>
<object class="IBConnectionRecord">
<object class="IBActionConnection" key="connection">
<string key="label">togglePlay:</string>
<reference key="source" ref="865861558"/>
<reference key="destination" ref="659418216"/>
</object>
<int key="connectionID">100028</int>
</object>
<object class="IBConnectionRecord">
<object class="IBOutletConnection" key="connection">
<string key="label">fPlayButton</string>
<reference key="source" ref="865861558"/>
<reference key="destination" ref="659418216"/>
</object>
<int key="connectionID">100029</int>
</object>
</object>
<object class="IBMutableOrderedSet" key="objectRecords">
<object class="NSArray" key="orderedObjects">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBObjectRecord">
<int key="objectID">0</int>
<object class="NSArray" key="object" id="0">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
<reference key="children" ref="985745297"/>
<nil key="parent"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">-2</int>
<reference key="object" ref="865861558"/>
<reference key="parent" ref="0"/>
<string type="base64-UTF8" key="objectName">RmlsZSdzIE93bmVyA</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">-1</int>
<reference key="object" ref="752203305"/>
<reference key="parent" ref="0"/>
<string key="objectName">First Responder</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">13</int>
<reference key="object" ref="224281390"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="553751565"/>
</object>
<reference key="parent" ref="0"/>
<string key="objectName">Panel</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">14</int>
<reference key="object" ref="553751565"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="154742234"/>
<reference ref="58605456"/>
<reference ref="873023645"/>
<reference ref="795340218"/>
<reference ref="413051750"/>
<reference ref="659418216"/>
</object>
<reference key="parent" ref="224281390"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">15</int>
<reference key="object" ref="154742234"/>
<reference key="parent" ref="553751565"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">16</int>
<reference key="object" ref="58605456"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="501896149"/>
</object>
<reference key="parent" ref="553751565"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">17</int>
<reference key="object" ref="873023645"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="606150018"/>
</object>
<reference key="parent" ref="553751565"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">18</int>
<reference key="object" ref="795340218"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="79109941"/>
</object>
<reference key="parent" ref="553751565"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">24</int>
<reference key="object" ref="413051750"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="1052561470"/>
</object>
<reference key="parent" ref="553751565"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">100016</int>
<reference key="object" ref="501896149"/>
<reference key="parent" ref="58605456"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">100017</int>
<reference key="object" ref="606150018"/>
<reference key="parent" ref="873023645"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">100018</int>
<reference key="object" ref="79109941"/>
<reference key="parent" ref="795340218"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">100024</int>
<reference key="object" ref="1052561470"/>
<reference key="parent" ref="413051750"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">-3</int>
<reference key="object" ref="986721188"/>
<reference key="parent" ref="0"/>
<string key="objectName">Application</string>
</object>
<object class="IBObjectRecord">
<int key="objectID">100025</int>
<reference key="object" ref="659418216"/>
<object class="NSMutableArray" key="children">
<bool key="EncodedWithXMLCoder">YES</bool>
<reference ref="324743914"/>
</object>
<reference key="parent" ref="553751565"/>
</object>
<object class="IBObjectRecord">
<int key="objectID">100026</int>
<reference key="object" ref="324743914"/>
<reference key="parent" ref="659418216"/>
</object>
</object>
</object>
<object class="NSMutableDictionary" key="flattenedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>-1.IBPluginDependency</string>
<string>-2.IBPluginDependency</string>
<string>100025.IBPluginDependency</string>
<string>100026.IBPluginDependency</string>
<string>13.IBPluginDependency</string>
<string>13.IBWindowTemplateEditedContentRect</string>
<string>13.ImportedFromIB2</string>
<string>13.editorWindowContentRectSynchronizationRect</string>
<string>14.IBPluginDependency</string>
<string>14.ImportedFromIB2</string>
<string>15.IBPluginDependency</string>
<string>15.ImportedFromIB2</string>
<string>16.IBPluginDependency</string>
<string>16.ImportedFromIB2</string>
<string>17.IBPluginDependency</string>
<string>17.ImportedFromIB2</string>
<string>18.IBPluginDependency</string>
<string>18.ImportedFromIB2</string>
<string>24.IBPluginDependency</string>
<string>24.ImportedFromIB2</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<string>{{173, 57}, {634, 396}}</string>
<integer value="1" id="5"/>
<string>{{173, 57}, {634, 396}}</string>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
<string>com.apple.InterfaceBuilder.CocoaPlugin</string>
<reference ref="5"/>
</object>
</object>
<object class="NSMutableDictionary" key="unlocalizedProperties">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<nil key="activeLocalization"/>
<object class="NSMutableDictionary" key="localizations">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
</object>
</object>
<nil key="sourceID"/>
<int key="maxID">100029</int>
</object>
<object class="IBClassDescriber" key="IBDocument.Classes">
<object class="NSMutableDictionary" key="localDescriptions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>FirstResponder</string>
<string>VLGrooveController</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="IBClassDescription">
<string key="className">FirstResponder</string>
<string key="superclassName">NSObject</string>
<object class="NSMutableDictionary" key="actions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>alignCenter:</string>
<string>alignJustified:</string>
<string>alignLeft:</string>
<string>alignRight:</string>
<string>arrangeInFront:</string>
<string>centerSelectionInVisibleArea:</string>
<string>changeFont:</string>
<string>checkSpelling:</string>
<string>clear:</string>
<string>clearRecentDocuments:</string>
<string>complete:</string>
<string>copy:</string>
<string>copyFont:</string>
<string>copyRuler:</string>
<string>cut:</string>
<string>delete:</string>
<string>deminiaturize:</string>
<string>fax:</string>
<string>hide:</string>
<string>hideOtherApplications:</string>
<string>loosenKerning:</string>
<string>lowerBaseline:</string>
<string>makeKeyAndOrderFront:</string>
<string>miniaturize:</string>
<string>newDocument:</string>
<string>openDocument:</string>
<string>orderBack:</string>
<string>orderFront:</string>
<string>orderFrontColorPanel:</string>
<string>orderFrontHelpPanel:</string>
<string>orderOut:</string>
<string>outline:</string>
<string>paste:</string>
<string>pasteAsPlainText:</string>
<string>pasteAsRichText:</string>
<string>pasteFont:</string>
<string>pasteRuler:</string>
<string>pause:</string>
<string>performClose:</string>
<string>performFindPanelAction:</string>
<string>performMiniaturize:</string>
<string>performZoom:</string>
<string>play:</string>
<string>print:</string>
<string>printDocument:</string>
<string>raiseBaseline:</string>
<string>record:</string>
<string>redo:</string>
<string>resume:</string>
<string>revertDocumentToSaved:</string>
<string>run:</string>
<string>runPageLayout:</string>
<string>runToolbarCustomizationPalette:</string>
<string>saveAllDocuments:</string>
<string>saveDocument:</string>
<string>saveDocumentAs:</string>
<string>saveDocumentTo:</string>
<string>selectAll:</string>
<string>selectText:</string>
<string>showGuessPanel:</string>
<string>showHelp:</string>
<string>start:</string>
<string>startSpeaking:</string>
<string>stop:</string>
<string>stopSpeaking:</string>
<string>subscript:</string>
<string>superscript:</string>
<string>terminate:</string>
<string>tightenKerning:</string>
<string>toggleContinuousSpellChecking:</string>
<string>togglePlay:</string>
<string>toggleRuler:</string>
<string>toggleToolbarShown:</string>
<string>turnOffKerning:</string>
<string>turnOffLigatures:</string>
<string>underline:</string>
<string>undo:</string>
<string>unhideAllApplications:</string>
<string>unscript:</string>
<string>useAllLigatures:</string>
<string>useStandardKerning:</string>
<string>useStandardLigatures:</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
<string>id</string>
</object>
</object>
<nil key="outlets"/>
</object>
<object class="IBClassDescription">
<string key="className">VLGrooveController</string>
<string key="superclassName">NSWindowController</string>
<object class="NSMutableDictionary" key="actions">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>endSheet:</string>
<string>togglePlay:</string>
<string>updateDescription:</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>id</string>
<string>id</string>
<string>id</string>
</object>
</object>
<object class="NSMutableDictionary" key="outlets">
<bool key="EncodedWithXMLCoder">YES</bool>
<object class="NSMutableArray" key="dict.sortedKeys">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>fBrowser</string>
<string>fDescription</string>
<string>fOKButton</string>
<string>fPlayButton</string>
</object>
<object class="NSMutableArray" key="dict.values">
<bool key="EncodedWithXMLCoder">YES</bool>
<string>NSBrowser</string>
<string>NSTextField</string>
<string>NSButton</string>
<string>NSButton</string>
</object>
</object>
</object>
</object>
</object>
</object>
<int key="IBDocument.localizationMode">0</int>
<object class="NSMutableData" key="IBDocument.RunnableNib">
<bytes key="NS.bytes">YnBsaXN0MDDUAAEAAgADAAQABQAGAAkAClgkdmVyc2lvblQkdG9wWSRhcmNoaXZlclgkb2JqZWN0cxIA
AYag0QAHAAhdSUIub2JqZWN0ZGF0YYABXxAPTlNLZXllZEFyY2hpdmVyrxCbAAsADAAxADUANgA8AD0A
QQBFAFIAWgByAHMAdwB7AH4AgQALAI8AmAC0ALUAvwDAAMgAyQDMANAA0wDUANoA4gDjAO8A8AD1AP8B
AAEBAQUBBwEMAQ0BEAEUARcBHwEgATQBNQE2ATcBOgE9AUYBRwFPAVABUQFZAVoBZAFtAW4BegF7AYAB
gQGCAYUBgQGJAYwBkAALAZEBkwGUAZUBlgGZAZoBngGjAaQBqQGqAa8BsAGzAbgBvQG+AcMBxAHJAcoB
zwHQAdUB1gHnAeoB6wHtAf4CEAIiAiMCJAIlAiYCJwIoAikCKgIrAiwCLQB2Ai4CLwIwAjMCNgJSAm4C
bwJwAnEBKwJyAnMCdADHAnUCdgJ3AngCeQJ6ALMCewJ8An0CfgJ/AoACgQKCAoMChAKHAooCjVUkbnVs
bN8QEgANAA4ADwAQABEAEgATABQAFQAWABcAGAAZABoAGwAcAB0AHgAfACAAIQAiACMAJAAlACYAJwAo
ACkAKgArACwALQAuAC8AMFZOU1Jvb3RWJGNsYXNzXU5TT2JqZWN0c0tleXNfEA9OU0NsYXNzZXNWYWx1
ZXNfEBlOU0FjY2Vzc2liaWxpdHlPaWRzVmFsdWVzXU5TQ29ubmVjdGlvbnNbTlNOYW1lc0tleXNbTlNG
cmFtZXdvcmtdTlNDbGFzc2VzS2V5c1pOU09pZHNLZXlzXU5TTmFtZXNWYWx1ZXNfEBlOU0FjY2Vzc2li
aWxpdHlDb25uZWN0b3JzXU5TRm9udE1hbmFnZXJfEBBOU1Zpc2libGVXaW5kb3dzXxAPTlNPYmplY3Rz
VmFsdWVzXxAXTlNBY2Nlc3NpYmls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RCfEKEQqxC8EL4QwBDCEMQQ0BDhEOMQ5RDnEOkQ
9RD+EQARHREfESERIxElEScRKRErES0RLxExETMRNRE3ETkRQhFEEUYRVBFdEWIRaxFtEYoRjBGOEZAR
khGUEZYRmBGaEZwRnhGgEaIRpBGmEa8RsRHSEdQR1hHYEdoR3BHeEeAR4hHkEeYR6BHqEewR7hHwEfkR
+xIcEh4SIBIiEiQSJhIoEioSLBIuEjASMhI0EjYSOBI6EkISVBJhEnQSmRK+EssS3hL1EwETJBM7E0YT
ZxNwE3ITcxN8E34TfxOIE4oTvxPBE8MTxRPHE8kTyxPNE88T0RPTE9UT1xPZE9sT3RPfE+ET4xPlE+cT
6RPrE+0T7xPxE/oT/BQxFDMUNRQ3FDkUOxQ9FD8UQRRDFEUURxRJFEsUTRRPFFEUUxRVFFcUWRRbFF0U
XxRhFGMUZRRnFGkUaxRtFG8UeBR6FH8UhBSJFI4UkxSVFJcUmRSeFKMUpRSnFKwUrhS3FLkUuhTDFMUU
xhTPFNEU0hTbFOAAAAAAAAACAgAAAAAAAAKQAAAAAAAAAAAAAAAAAAAU7w</bytes>
</object>
</data>
</archive>

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IBDocumentLocation</key>
<string>59 9 356 240 0 0 1280 778 </string>
<key>IBFramework Version</key>
<string>460.0</string>
<key>IBOpenObjects</key>
<array>
<integer>13</integer>
</array>
<key>IBSystem Version</key>
<string>9A412</string>
</dict>
</plist>

Binary file not shown.

View File

@ -52,6 +52,8 @@
- (IBAction) showOutput:(id)sender;
- (IBAction) showLog:(id)sender;
- (IBAction) play:(id)sender;
- (IBAction) stop:(id)sender;
- (NSString *) tmpPath;
- (NSString *) workPath;
@ -64,6 +66,7 @@
- (void) didChangeSong;
- (void) addObserver:(id)observer;
- (VLLogWindow *)logWin;
- (void) playWithGroove:(NSString *)groove;
@end

View File

@ -418,6 +418,18 @@
[self fileURLWithExtension:@"mid"]]));
}
- (void) playWithGroove:(NSString *)groove
{
NSString * savedGroove = songGroove;
songGroove = groove;
[validTmpFiles removeObjectForKey:@"mma"];
[validTmpFiles removeObjectForKey:@"mid"];
[self play:groove];
songGroove = savedGroove;
[validTmpFiles removeObjectForKey:@"mma"];
[validTmpFiles removeObjectForKey:@"mid"];
}
- (IBAction) stop:(id)sender
{
VLSoundOut::Instance()->Stop();

View File

@ -9,21 +9,25 @@
#import <Cocoa/Cocoa.h>
@class VLSheetView;
@class VLDocument;
@interface VLGrooveController : NSWindowController {
NSDictionary * fGrooves;
IBOutlet NSBrowser * fBrowser;
IBOutlet NSTextField * fDescription;
IBOutlet NSButton * fOKButton;
IBOutlet NSButton * fPlayButton;
NSString * fStyle;
NSDictionary * fSubStyles;
NSArray * fSubStyleList;
NSPredicate * fSubStyleFilter;
VLDocument * fDocument;
}
- (id) initWithSheetView:(VLSheetView *)view;
- (IBAction)endSheet:(id)sender;
- (IBAction)updateDescription:(id)sender;
- (IBAction) togglePlay:(id)sender;
@end

View File

@ -8,6 +8,7 @@
#import "VLGrooveController.h"
#import "VLSheetView.h"
#import "VLDocument.h"
@implementation VLGrooveController
@ -20,6 +21,7 @@
[[NSPredicate predicateWithFormat:
@"!(SELF like[c] '.DESC') AND !(SELF matches[c] '.*(Intro|End)\\\\d*$')"]
retain];
fDocument = [view document];
[NSApp beginSheet: [self window]
modalForWindow: [view window]
@ -36,6 +38,14 @@
[super dealloc];
}
- (IBAction) togglePlay:(id)sender
{
if ([sender state])
[fDocument playWithGroove:[[fBrowser selectedCellInColumn:1] stringValue]];
else
[fDocument stop:sender];
}
- (IBAction)endSheet:(id)sender
{
[NSApp endSheet:[self window] returnCode:[sender tag]];
@ -43,9 +53,12 @@
- (void)didEndSheet:(NSWindow *)sheet returnCode:(int)returnCode contextInfo:(void *)contextInfo
{
[fDocument stop:self];
if (returnCode == NSAlertFirstButtonReturn)
[(VLSheetView *)contextInfo setGroove:[[fBrowser selectedCellInColumn:1] stringValue]];
else
[(VLSheetView *)contextInfo setGroove:nil];
[[self window] orderOut:self];
}
@ -98,13 +111,16 @@
{
BOOL validStyle = [fBrowser selectedColumn];
[fOKButton setEnabled:validStyle];
if (validStyle)
[fPlayButton setEnabled:validStyle];
if (validStyle) {
[fDescription setStringValue:
[NSString stringWithFormat:@"%@\n\n%@",
[fSubStyles objectForKey:@".DESC"],
[fSubStyles objectForKey:
[[fBrowser selectedCellInColumn:1] stringValue]]]];
else
[fDocument stop:self];
[self togglePlay:fPlayButton];
} else
[fDescription setStringValue:[fSubStyles objectForKey:@".DESC"]];
}

View File

@ -37,7 +37,7 @@
size_t m = *i;
sprintf(buf, "%-5d", ++meas);
mmaFile += buf;
song->fMeasures[m].MMAChords(mmas, prop);
song->fMeasures[m].MMAChords(mmas, prop, i==song->begin());
mmaFile += mmas;
song->fMeasures[m].MMANotes(mmas, prop, song->TiedDuration(m+1));
mmaFile += "\t{ " + mmas + " }\n";

View File

@ -619,15 +619,15 @@ static const VLChordModifier kMMAModifiers[] = {
{NULL, 0, 0}
};
void VLChord::MMAName(std::string & name, bool useSharps) const
bool VLChord::MMAName(std::string & name, bool useSharps, bool initial) const
{
VLFraction dur = fDuration;
int quarters = static_cast<int>(dur*4.0f+0.5f);
name = "";
if (!quarters--)
return;
return initial;
if (fPitch == kNoPitch) {
name = '/';
name = initial ? 'z' : '/';
} else {
std::string base, ext;
VLNote::Name(base, useSharps);
@ -675,6 +675,8 @@ void VLChord::MMAName(std::string & name, bool useSharps) const
}
while (quarters--)
name += " /";
return false;
}
static VLFraction MaxNote(VLFraction d)
@ -799,7 +801,8 @@ void VLMeasure::MMANotes(std::string & notes, const VLProperties & prop,
notes += "<>;";
}
void VLMeasure::MMAChords(std::string & chords, const VLProperties & prop) const
void VLMeasure::MMAChords(std::string & chords, const VLProperties & prop,
bool initial) const
{
VLChordList::const_iterator i = fChords.begin();
VLChordList::const_iterator e = fChords.end();
@ -807,7 +810,7 @@ void VLMeasure::MMAChords(std::string & chords, const VLProperties & prop) const
chords.clear();
for (; i!=e; ++i) {
std::string chord;
i->MMAName(chord, prop.fKey >= 0);
initial = i->MMAName(chord, prop.fKey >= 0, initial);
if (chords.size())
chords += ' ';
chords += chord;

View File

@ -202,7 +202,7 @@ struct VLChord : VLNote {
VLChord(std::string name);
void Name(std::string & base, std::string & ext, std::string & root, bool useSharps = false) const;
void LilypondName(std::string & name, bool useSharps = false) const;
void MMAName(std::string & name, bool useSharps) const;
bool MMAName(std::string & name, bool useSharps, bool initial) const;
};
struct VLProperties {
@ -245,7 +245,7 @@ struct VLMeasure {
VLMeasure();
void MMANotes(std::string & notes, const VLProperties & prop, VLFraction extra) const;
void MMAChords(std::string & chords, const VLProperties & prop) const;
void MMAChords(std::string & chords, const VLProperties & prop, bool initial) const;
};
struct VLRepeat {

View File

@ -982,8 +982,12 @@ static int8_t sSharpAcc[] = {
- (void)setGroove:(NSString *)groove
{
[[self document] setValue:groove forKey:@"songGroove"];
[self setGrooveMenu:groove];
if (groove) {
[[self document] setValue:groove forKey:@"songGroove"];
[self setGrooveMenu:groove];
} else {
[fGrooveMenu selectItemAtIndex:2];
}
}
- (void)setGrooveMenu:(NSString *)groove