<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments for edmondcho.com</title>
	<atom:link href="http://edmondcho.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://edmondcho.com</link>
	<description>&#039;nuff blah blah: mumblings, code and junk</description>
	<lastBuildDate>Tue, 24 Apr 2012 04:54:06 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>Comment on Copy calculated bpm data from algoriddim djay to iTunes using Applescript by vibhu</title>
		<link>http://edmondcho.com/2012/02/28/copy-calculated-bpm-data-from-algoriddim-djay-to-itunes-using-applescript/comment-page-1/#comment-14159</link>
		<dc:creator>vibhu</dc:creator>
		<pubDate>Tue, 24 Apr 2012 04:54:06 +0000</pubDate>
		<guid isPermaLink="false">http://edmondcho.com/?p=582#comment-14159</guid>
		<description>Thanks a lot, it works better than release comments for 4.0.3 on djay site :)</description>
		<content:encoded><![CDATA[<p>Thanks a lot, it works better than release comments for 4.0.3 on djay site :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Copy calculated bpm data from algoriddim djay to iTunes using Applescript by Robert Goettler</title>
		<link>http://edmondcho.com/2012/02/28/copy-calculated-bpm-data-from-algoriddim-djay-to-itunes-using-applescript/comment-page-1/#comment-14148</link>
		<dc:creator>Robert Goettler</dc:creator>
		<pubDate>Thu, 29 Mar 2012 21:09:50 +0000</pubDate>
		<guid isPermaLink="false">http://edmondcho.com/?p=582#comment-14148</guid>
		<description>Awesome!  This will save me lots of time for new music I&#039;m bringing into my library.  Really appreciate the help, and thanks for posting to djay forum.

Rob</description>
		<content:encoded><![CDATA[<p>Awesome!  This will save me lots of time for new music I'm bringing into my library.  Really appreciate the help, and thanks for posting to djay forum.</p>
<p>Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Copy calculated bpm data from algoriddim djay to iTunes using Applescript by Edmond</title>
		<link>http://edmondcho.com/2012/02/28/copy-calculated-bpm-data-from-algoriddim-djay-to-itunes-using-applescript/comment-page-1/#comment-14147</link>
		<dc:creator>Edmond</dc:creator>
		<pubDate>Thu, 29 Mar 2012 20:28:33 +0000</pubDate>
		<guid isPermaLink="false">http://edmondcho.com/?p=582#comment-14147</guid>
		<description>Nice, Rob!

I incorporated your script and suggestions. I will update the post with the new script.

FYI, I handled the conversion to text by using a list (Applescript&#039;s version of an array). I just set up a list:
set all_keys to {&quot;8B-C&quot;, &quot;8A-Am&quot;, &quot;3B-Db&quot;}

Then when I have the integer value from djay, I use that to grab the one I want:
set key_djay_string to item (key_djay + 1) of all_keys

The +1 is necessary because Applescript does not start indexing at 0 but at 1. So for a key_djay of 0 we want item 1 of the list.</description>
		<content:encoded><![CDATA[<p>Nice, Rob!</p>
<p>I incorporated your script and suggestions. I will update the post with the new script.</p>
<p>FYI, I handled the conversion to text by using a list (Applescript's version of an array). I just set up a list:<br />
set all_keys to {"8B-C", "8A-Am", "3B-Db"}</p>
<p>Then when I have the integer value from djay, I use that to grab the one I want:<br />
set key_djay_string to item (key_djay + 1) of all_keys</p>
<p>The +1 is necessary because Applescript does not start indexing at 0 but at 1. So for a key_djay of 0 we want item 1 of the list.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Copy calculated bpm data from algoriddim djay to iTunes using Applescript by Robert Goettler</title>
		<link>http://edmondcho.com/2012/02/28/copy-calculated-bpm-data-from-algoriddim-djay-to-itunes-using-applescript/comment-page-1/#comment-14146</link>
		<dc:creator>Robert Goettler</dc:creator>
		<pubDate>Thu, 29 Mar 2012 19:06:56 +0000</pubDate>
		<guid isPermaLink="false">http://edmondcho.com/?p=582#comment-14146</guid>
		<description>Edmond,

Thanks for the info.  I&#039;ve edited your script to copy over key data instead of bpm.  It copies the key into the Groupings field in iTunes.  As written, it will overwrite existing Grouping data.  

Here&#039;s the script: http://dl.dropbox.com/u/7987233/Get%20key%20from%20Djay.scpt

It records the key data in the form recorded by djay, which are values from 0 to 23.  Once the data is in iTunes, it is easy to group together all songs with the same key value and do a batch change to a format more useful for harmonic mixing, such as 1A-G#m.  

Here&#039;s how the djay key values correlate to key names: 
http://dl.dropbox.com/u/7987233/djay%20harmonic%20codes.txt

It would be nice to work this conversion into the script to avoid this manual step in iTunes.  I&#039;m kind of an Applescript newbie -- any suggestions for how to code this?  Some kind of &quot;if-then&quot;? If you give me the code for doing one (example: 9 = 12A-C#m) then I can go from there for doing the other 23 values.

I&#039;d like to see this script posted to the following djay forum, either as is or with the proposed addition, since it offers the alternative approach of selecting the tracks in iTunes rather than doing a batch process on the whole djay cached plist.
http://forum.algoriddim.com/viewtopic.php?pid=12951#p12951

Thanks again!
Rob</description>
		<content:encoded><![CDATA[<p>Edmond,</p>
<p>Thanks for the info.  I've edited your script to copy over key data instead of bpm.  It copies the key into the Groupings field in iTunes.  As written, it will overwrite existing Grouping data.  </p>
<p>Here's the script: <a href="http://dl.dropbox.com/u/7987233/Get%20key%20from%20Djay.scpt" rel="nofollow">http://dl.dropbox.com/u/7987233/Get%20key%20from%20Djay.scpt</a></p>
<p>It records the key data in the form recorded by djay, which are values from 0 to 23.  Once the data is in iTunes, it is easy to group together all songs with the same key value and do a batch change to a format more useful for harmonic mixing, such as 1A-G#m.  </p>
<p>Here's how the djay key values correlate to key names:<br />
<a href="http://dl.dropbox.com/u/7987233/djay%20harmonic%20codes.txt" rel="nofollow">http://dl.dropbox.com/u/7987233/djay%20harmonic%20codes.txt</a></p>
<p>It would be nice to work this conversion into the script to avoid this manual step in iTunes.  I'm kind of an Applescript newbie — any suggestions for how to code this?  Some kind of "if-then"? If you give me the code for doing one (example: 9 = 12A-C#m) then I can go from there for doing the other 23 values.</p>
<p>I'd like to see this script posted to the following djay forum, either as is or with the proposed addition, since it offers the alternative approach of selecting the tracks in iTunes rather than doing a batch process on the whole djay cached plist.<br />
<a href="http://forum.algoriddim.com/viewtopic.php?pid=12951#p12951" rel="nofollow">http://forum.algoriddim.com/viewtopic.php?pid=12951#p12951</a></p>
<p>Thanks again!<br />
Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Copy calculated bpm data from algoriddim djay to iTunes using Applescript by Edmond</title>
		<link>http://edmondcho.com/2012/02/28/copy-calculated-bpm-data-from-algoriddim-djay-to-itunes-using-applescript/comment-page-1/#comment-14145</link>
		<dc:creator>Edmond</dc:creator>
		<pubDate>Thu, 29 Mar 2012 17:27:54 +0000</pubDate>
		<guid isPermaLink="false">http://edmondcho.com/?p=582#comment-14145</guid>
		<description>The above would replace the grouping field, so if you wanted to preserve existing data you would have to read the tag and do some string concatenation:

set oldGrouping to grouping of myTrack
set grouping to oldGrouping &amp; &quot; &quot; &amp; myKeyData</description>
		<content:encoded><![CDATA[<p>The above would replace the grouping field, so if you wanted to preserve existing data you would have to read the tag and do some string concatenation:</p>
<p>set oldGrouping to grouping of myTrack<br />
set grouping to oldGrouping &amp; " " &amp; myKeyData</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Copy calculated bpm data from algoriddim djay to iTunes using Applescript by Edmond</title>
		<link>http://edmondcho.com/2012/02/28/copy-calculated-bpm-data-from-algoriddim-djay-to-itunes-using-applescript/comment-page-1/#comment-14144</link>
		<dc:creator>Edmond</dc:creator>
		<pubDate>Thu, 29 Mar 2012 17:23:22 +0000</pubDate>
		<guid isPermaLink="false">http://edmondcho.com/?p=582#comment-14144</guid>
		<description>Hey Rob,

Glad you find it useful. I found a code snippet that uses the Grouping tag over here: http://dougscripts.com/itunes/itinfo/itunes42info.php

It seems pretty straightforward:
tell myTrack
    set grouping to myKeyData
end tell</description>
		<content:encoded><![CDATA[<p>Hey Rob,</p>
<p>Glad you find it useful. I found a code snippet that uses the Grouping tag over here: <a href="http://dougscripts.com/itunes/itinfo/itunes42info.php" rel="nofollow">http://dougscripts.com/itunes/itinfo/itunes42info.php</a></p>
<p>It seems pretty straightforward:<br />
tell myTrack<br />
    set grouping to myKeyData<br />
end tell</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Copy calculated bpm data from algoriddim djay to iTunes using Applescript by Robert Goettler</title>
		<link>http://edmondcho.com/2012/02/28/copy-calculated-bpm-data-from-algoriddim-djay-to-itunes-using-applescript/comment-page-1/#comment-14143</link>
		<dc:creator>Robert Goettler</dc:creator>
		<pubDate>Thu, 29 Mar 2012 17:09:48 +0000</pubDate>
		<guid isPermaLink="false">http://edmondcho.com/?p=582#comment-14143</guid>
		<description>Thanks for the script, Mumbler.  Saw your postings on the djay forum.

I&#039;m trying to modify your bpm script to transfer key data into the Groupings field in iTunes.  Seems only a few parameters would have to be changed, such as changing BPM to KEY for the code lines that refer to the djay plist.  

What parameter(s) need to change on the iTunes side of the code? 

Thanks so much!
Rob</description>
		<content:encoded><![CDATA[<p>Thanks for the script, Mumbler.  Saw your postings on the djay forum.</p>
<p>I'm trying to modify your bpm script to transfer key data into the Groupings field in iTunes.  Seems only a few parameters would have to be changed, such as changing BPM to KEY for the code lines that refer to the djay plist.  </p>
<p>What parameter(s) need to change on the iTunes side of the code? </p>
<p>Thanks so much!<br />
Rob</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Copy calculated bpm data from algoriddim djay to iTunes using Applescript by Edmond</title>
		<link>http://edmondcho.com/2012/02/28/copy-calculated-bpm-data-from-algoriddim-djay-to-itunes-using-applescript/comment-page-1/#comment-14136</link>
		<dc:creator>Edmond</dc:creator>
		<pubDate>Thu, 01 Mar 2012 07:32:42 +0000</pubDate>
		<guid isPermaLink="false">http://edmondcho.com/?p=582#comment-14136</guid>
		<description>Will,

I have updated the script to check for manually changed bpm values. This script does not handle key data.

Ed</description>
		<content:encoded><![CDATA[<p>Will,</p>
<p>I have updated the script to check for manually changed bpm values. This script does not handle key data.</p>
<p>Ed</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Copy calculated bpm data from algoriddim djay to iTunes using Applescript by Will</title>
		<link>http://edmondcho.com/2012/02/28/copy-calculated-bpm-data-from-algoriddim-djay-to-itunes-using-applescript/comment-page-1/#comment-14135</link>
		<dc:creator>Will</dc:creator>
		<pubDate>Wed, 29 Feb 2012 19:14:12 +0000</pubDate>
		<guid isPermaLink="false">http://edmondcho.com/?p=582#comment-14135</guid>
		<description>Manually changed BPM and Key data is stored in &quot;djay Preset Library.plist&quot;.  The &quot;djay Cached Data.plist&quot; file holds the auto-calculated metadata.  Your script needs to account for this.  For more info about this see: http://forum.algoriddim.com/viewtopic.php?id=2881</description>
		<content:encoded><![CDATA[<p>Manually changed BPM and Key data is stored in "djay Preset Library.plist".  The "djay Cached Data.plist" file holds the auto-calculated metadata.  Your script needs to account for this.  For more info about this see: <a href="http://forum.algoriddim.com/viewtopic.php?id=2881" rel="nofollow">http://forum.algoriddim.com/viewtopic.php?id=2881</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Dubstep addiction by Best Dubstep</title>
		<link>http://edmondcho.com/2006/05/29/dubstep-addiction/comment-page-1/#comment-14127</link>
		<dc:creator>Best Dubstep</dc:creator>
		<pubDate>Wed, 04 Jan 2012 00:22:06 +0000</pubDate>
		<guid isPermaLink="false">http://edmondcho.com/blog/2006/05/29/dubstep-addiction/#comment-14127</guid>
		<description>How can you not get addicted with tunes like this!</description>
		<content:encoded><![CDATA[<p>How can you not get addicted with tunes like this!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

