changeset 204:f6a3b9265e6f

Better better hello-midi. Updated icon and text description for BelaPdBuild.app
author Giulio Moro <giuliomoro@yahoo.it>
date Sat, 06 Feb 2016 05:24:43 +0000
parents b5d59cf94c64
children e90df8c5669f
files projects/heavy/pd/hello-midi/_main.pd resources/MacOS/BelaPdBuild.app/Contents/Resources/AutomatorApplet.icns resources/MacOS/BelaPdBuild.app/Contents/document.wflow
diffstat 3 files changed, 47 insertions(+), 168 deletions(-) [+]
line wrap: on
line diff
--- a/projects/heavy/pd/hello-midi/_main.pd	Fri Feb 05 23:46:11 2016 +0000
+++ b/projects/heavy/pd/hello-midi/_main.pd	Sat Feb 06 05:24:43 2016 +0000
@@ -1,28 +1,26 @@
-#N canvas 0 58 1280 685 10;
+#N canvas 94 174 1280 685 10;
 #X obj 19 396 dac~ 1 2;
 #X text 39 1 Hello world!;
 #X text 37 11 ============;
 #X obj 31 353 *~ 0.1;
-#X text 329 309 ---------------------------------;
-#X text 329 299 @krighxz / BELA / heavy / 12/2015;
-#X text 353 318 beaglert.cc / enzienaudio.com;
+#X text 202 448 ---------------------------------;
+#X text 202 438 @krighxz / BELA / heavy / 12/2015;
+#X text 226 457 beaglert.cc / enzienaudio.com;
 #X obj 39 132 mtof;
 #X text 140 29 <== the heavy equivalent of ==>;
-#X obj 331 28 notein;
+#X obj 334 24 notein;
 #X floatatom 79 59 5 0 0 0 - - -, f 5;
 #X floatatom 122 59 5 0 0 0 - - -, f 5;
 #X floatatom 41 63 5 0 0 0 - - -, f 5;
-#X obj 59 328 / 127;
-#X obj 38 163 phasor~ 440;
+#X obj 26 170 phasor~ 440;
 #X text 100 363 (the harsh sound of success);
-#X obj 256 74 * 20;
-#X obj 257 103 + 200;
+#X obj 260 83 * 20;
+#X obj 261 112 + 200;
 #X obj 132 85 loadbang;
 #X msg 131 111 1000;
 #X obj 125 166 sig~;
 #X text 483 121 <== the heavy equivalent of ==>;
-#X text 359 64 <== the heavy equivalent of ==>;
-#X obj 557 64 ctlin;
+#X text 349 57 <== the heavy equivalent of ==>;
 #X text 682 122 [pgmin];
 #X obj 218 178 * 10;
 #X obj 30 250 hip~;
@@ -31,7 +29,7 @@
 #X obj 19 323 hip~;
 #X obj 40 28 hv_notein 0;
 #X obj 408 122 hv_pgmin 3;
-#X obj 256 51 hv_ctlin 5 0;
+#X obj 260 60 hv_ctlin 5 0;
 #X obj 220 151 hv_ctlin 6 0;
 #X obj 87 192 lop~ 4;
 #X obj 152 256 line;
@@ -40,37 +38,43 @@
 #X msg 93 114 0;
 #X msg 185 112 0;
 #X obj 29 224 vcf~ 4;
+#X obj 557 54 ctlin 5 0;
+#X obj 323 156 ctlin 6 0;
+#X obj 70 333 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
+1;
+#X obj 42 92 mono;
 #X connect 3 0 0 1;
 #X connect 3 0 0 0;
-#X connect 7 0 14 0;
-#X connect 10 0 13 0;
-#X connect 12 0 7 0;
-#X connect 13 0 3 1;
-#X connect 14 0 40 0;
-#X connect 16 0 17 0;
-#X connect 17 0 20 0;
+#X connect 7 0 13 0;
+#X connect 10 0 42 1;
+#X connect 12 0 42 0;
+#X connect 13 0 38 0;
+#X connect 15 0 16 0;
+#X connect 16 0 19 0;
+#X connect 17 0 18 0;
+#X connect 17 0 37 0;
+#X connect 17 0 36 0;
 #X connect 18 0 19 0;
-#X connect 18 0 39 0;
-#X connect 18 0 38 0;
-#X connect 19 0 20 0;
-#X connect 20 0 34 0;
-#X connect 25 0 36 0;
+#X connect 19 0 32 0;
+#X connect 23 0 34 0;
+#X connect 24 0 25 0;
+#X connect 25 0 26 0;
 #X connect 26 0 27 0;
-#X connect 27 0 28 0;
-#X connect 28 0 29 0;
-#X connect 29 0 3 0;
-#X connect 30 0 12 0;
-#X connect 30 1 10 0;
-#X connect 30 2 11 0;
-#X connect 32 0 16 0;
-#X connect 33 0 25 0;
-#X connect 34 0 40 1;
-#X connect 35 0 26 1;
-#X connect 35 0 27 1;
-#X connect 35 0 28 1;
-#X connect 35 0 29 1;
-#X connect 36 0 37 0;
-#X connect 37 0 35 0;
-#X connect 38 0 13 0;
-#X connect 39 0 25 0;
-#X connect 40 0 26 0;
+#X connect 27 0 3 0;
+#X connect 28 0 12 0;
+#X connect 28 1 10 0;
+#X connect 28 2 11 0;
+#X connect 30 0 15 0;
+#X connect 31 0 23 0;
+#X connect 32 0 38 1;
+#X connect 33 0 24 1;
+#X connect 33 0 25 1;
+#X connect 33 0 26 1;
+#X connect 33 0 27 1;
+#X connect 34 0 35 0;
+#X connect 35 0 33 0;
+#X connect 37 0 23 0;
+#X connect 38 0 24 0;
+#X connect 41 0 3 1;
+#X connect 42 0 7 0;
+#X connect 42 1 41 0;
Binary file resources/MacOS/BelaPdBuild.app/Contents/Resources/AutomatorApplet.icns has changed
--- a/resources/MacOS/BelaPdBuild.app/Contents/document.wflow	Fri Feb 05 23:46:11 2016 +0000
+++ b/resources/MacOS/BelaPdBuild.app/Contents/document.wflow	Sat Feb 06 05:24:43 2016 +0000
@@ -1,126 +1,1 @@
-<?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>AMApplicationBuild</key>
-	<string>419</string>
-	<key>AMApplicationVersion</key>
-	<string>2.6</string>
-	<key>AMDocumentVersion</key>
-	<string>2</string>
-	<key>actions</key>
-	<array>
-		<dict>
-			<key>action</key>
-			<dict>
-				<key>AMAccepts</key>
-				<dict>
-					<key>Container</key>
-					<string>List</string>
-					<key>Optional</key>
-					<true/>
-					<key>Types</key>
-					<array>
-						<string>com.apple.applescript.object</string>
-					</array>
-				</dict>
-				<key>AMActionVersion</key>
-				<string>1.0.2</string>
-				<key>AMApplication</key>
-				<array>
-					<string>Automator</string>
-				</array>
-				<key>AMParameterProperties</key>
-				<dict>
-					<key>source</key>
-					<dict/>
-				</dict>
-				<key>AMProvides</key>
-				<dict>
-					<key>Container</key>
-					<string>List</string>
-					<key>Types</key>
-					<array>
-						<string>com.apple.applescript.object</string>
-					</array>
-				</dict>
-				<key>ActionBundlePath</key>
-				<string>/System/Library/Automator/Run AppleScript.action</string>
-				<key>ActionName</key>
-				<string>Run AppleScript</string>
-				<key>ActionParameters</key>
-				<dict>
-					<key>source</key>
-					<string>on run {input, parameters}
	if input is equal to {} then
		display alert "Please drag a folder containing your PD patch, with all externals and auxiliary files onto this window to compile it with Heavy."
	else
		tell application "Terminal"
			activate
			do script "echo -n -e \"\\033]0;Building Heavy-Pd-Bela\\007\"; export BBB_ADDRESS=\"root@192.168.7.2\"; export BBB_SCRIPTS_PATH=\"$HOME/BeagleRT/scripts/\"; export SCRIPT_NAME=\"build_pd.sh\"; bash -c 'cd \"$BBB_SCRIPTS_PATH\"; ./\"$SCRIPT_NAME\" --watch --force --screen -i " &amp; quoted form of (POSIX path of input) &amp; "'; if [ $? -eq 130 ] ; then osascript -e 'tell application \"Terminal\" to close (every window whose name contains \"Building Heavy-Pd-Bela\")'; fi"
		end tell
		-- tell application "Terminal" to quit
	end if
	-- return input
end run</string>
-				</dict>
-				<key>BundleIdentifier</key>
-				<string>com.apple.Automator.RunScript</string>
-				<key>CFBundleVersion</key>
-				<string>1.0.2</string>
-				<key>CanShowSelectedItemsWhenRun</key>
-				<false/>
-				<key>CanShowWhenRun</key>
-				<true/>
-				<key>Category</key>
-				<array>
-					<string>AMCategoryUtilities</string>
-				</array>
-				<key>Class Name</key>
-				<string>RunScriptAction</string>
-				<key>InputUUID</key>
-				<string>EF92A55A-EBA7-413C-BD41-79E5A684A273</string>
-				<key>Keywords</key>
-				<array>
-					<string>Run</string>
-				</array>
-				<key>OutputUUID</key>
-				<string>6D9DB3CD-C949-4256-847F-664D5EBC5EB9</string>
-				<key>UUID</key>
-				<string>3E1C4D48-C87F-4325-A94B-AAC1E334B30D</string>
-				<key>UnlocalizedApplications</key>
-				<array>
-					<string>Automator</string>
-				</array>
-				<key>arguments</key>
-				<dict>
-					<key>0</key>
-					<dict>
-						<key>default value</key>
-						<string>on run {input, parameters}
-	
-	(* Your script goes here *)
-	
-	return input
-end run</string>
-						<key>name</key>
-						<string>source</string>
-						<key>required</key>
-						<string>0</string>
-						<key>type</key>
-						<string>0</string>
-						<key>uuid</key>
-						<string>0</string>
-					</dict>
-				</dict>
-				<key>conversionLabel</key>
-				<integer>0</integer>
-				<key>isViewVisible</key>
-				<true/>
-				<key>location</key>
-				<string>411.500000:316.000000</string>
-				<key>nibPath</key>
-				<string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib</string>
-			</dict>
-			<key>isViewVisible</key>
-			<true/>
-		</dict>
-	</array>
-	<key>connectors</key>
-	<dict/>
-	<key>workflowMetaData</key>
-	<dict>
-		<key>workflowTypeIdentifier</key>
-		<string>com.apple.Automator.application</string>
-	</dict>
-</dict>
-</plist>
+<?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>AMApplicationBuild</key>
	<string>419</string>
	<key>AMApplicationVersion</key>
	<string>2.6</string>
	<key>AMDocumentVersion</key>
	<string>2</string>
	<key>actions</key>
	<array>
		<dict>
			<key>action</key>
			<dict>
				<key>AMAccepts</key>
				<dict>
					<key>Container</key>
					<string>List</string>
					<key>Optional</key>
					<true/>
					<key>Types</key>
					<array>
						<string>com.apple.applescript.object</string>
					</array>
				</dict>
				<key>AMActionVersion</key>
				<string>1.0.2</string>
				<key>AMApplication</key>
				<array>
					<string>Automator</string>
				</array>
				<key>AMParameterProperties</key>
				<dict>
					<key>source</key>
					<dict/>
				</dict>
				<key>AMProvides</key>
				<dict>
					<key>Container</key>
					<string>List</string>
					<key>Types</key>
					<array>
						<string>com.apple.applescript.object</string>
					</array>
				</dict>
				<key>ActionBundlePath</key>
				<string>/System/Library/Automator/Run AppleScript.action</string>
				<key>ActionName</key>
				<string>Run AppleScript</string>
				<key>ActionParameters</key>
				<dict>
					<key>source</key>
					<string>on run {input, parameters}
	if input is equal to {} then
		display alert "Please drag a folder containing your PD patch, with all externals and auxiliary files onto the program icon to compile it with Heavy."
	else
		tell application "Terminal"
			activate
			do script "echo -n -e \"\\033]0;Building Heavy-Pd-Bela\\007\"; export BBB_ADDRESS=\"root@192.168.7.2\"; export BBB_SCRIPTS_PATH=\"$HOME/BeagleRT/scripts/\"; export SCRIPT_NAME=\"build_pd.sh\"; bash -c 'cd \"$BBB_SCRIPTS_PATH\"; ./\"$SCRIPT_NAME\" --watch --force --screen -i " &amp; quoted form of (POSIX path of input) &amp; "'; if [ $? -eq 130 ] ; then osascript -e 'tell application \"Terminal\" to close (every window whose name contains \"Building Heavy-Pd-Bela\")'; fi"
		end tell
		-- tell application "Terminal" to quit
	end if
	-- return input
end run</string>
				</dict>
				<key>BundleIdentifier</key>
				<string>com.apple.Automator.RunScript</string>
				<key>CFBundleVersion</key>
				<string>1.0.2</string>
				<key>CanShowSelectedItemsWhenRun</key>
				<false/>
				<key>CanShowWhenRun</key>
				<true/>
				<key>Category</key>
				<array>
					<string>AMCategoryUtilities</string>
				</array>
				<key>Class Name</key>
				<string>RunScriptAction</string>
				<key>InputUUID</key>
				<string>EF92A55A-EBA7-413C-BD41-79E5A684A273</string>
				<key>Keywords</key>
				<array>
					<string>Run</string>
				</array>
				<key>OutputUUID</key>
				<string>6D9DB3CD-C949-4256-847F-664D5EBC5EB9</string>
				<key>UUID</key>
				<string>3E1C4D48-C87F-4325-A94B-AAC1E334B30D</string>
				<key>UnlocalizedApplications</key>
				<array>
					<string>Automator</string>
				</array>
				<key>arguments</key>
				<dict>
					<key>0</key>
					<dict>
						<key>default value</key>
						<string>on run {input, parameters}
	
	(* Your script goes here *)
	
	return input
end run</string>
						<key>name</key>
						<string>source</string>
						<key>required</key>
						<string>0</string>
						<key>type</key>
						<string>0</string>
						<key>uuid</key>
						<string>0</string>
					</dict>
				</dict>
				<key>conversionLabel</key>
				<integer>0</integer>
				<key>isViewVisible</key>
				<true/>
				<key>location</key>
				<string>411.500000:316.000000</string>
				<key>nibPath</key>
				<string>/System/Library/Automator/Run AppleScript.action/Contents/Resources/Base.lproj/main.nib</string>
			</dict>
			<key>isViewVisible</key>
			<true/>
		</dict>
	</array>
	<key>connectors</key>
	<dict/>
	<key>workflowMetaData</key>
	<dict>
		<key>workflowTypeIdentifier</key>
		<string>com.apple.Automator.application</string>
	</dict>
</dict>
</plist>
\ No newline at end of file