<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>AA9PW FCC Exam Practice &#187; iphone</title>
	<atom:link href="http://aa9pw.com/category/iphone/feed/" rel="self" type="application/rss+xml" />
	<link>http://aa9pw.com</link>
	<description>Amateur Radio and Commercial Radio licencing exam practice</description>
	<lastBuildDate>Thu, 09 Sep 2010 10:00:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Ham Morse updates</title>
		<link>http://aa9pw.com/2009/06/07/ham-morse-updates/</link>
		<comments>http://aa9pw.com/2009/06/07/ham-morse-updates/#comments</comments>
		<pubDate>Mon, 08 Jun 2009 04:30:52 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[HamMorse]]></category>
		<category><![CDATA[Morse Code]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[aa9pw]]></category>

		<guid isPermaLink="false">http://aa9pw.com/?p=244</guid>
		<description><![CDATA[The Ham Morse app has been available in the Apple App Store for about a week now and its been getting a lot of very positive reviews:
All in all, the best code software for the iPhone&#8221;
Great application to get ready for the main event [Field Day]&#8220;
Overall a great program to practice morse code on the [...]]]></description>
			<content:encoded><![CDATA[<p>The Ham Morse app has been available in the Apple App Store for about a week now and its been getting a lot of very positive reviews:</p>
<blockquote><p>All in all, the best code software for the iPhone&#8221;</p></blockquote>
<blockquote><p>Great application to get ready for the main event [Field Day]&#8220;</p></blockquote>
<blockquote><p>Overall a great program to practice morse code on the go</p></blockquote>
<p>Thank you to everyone who has purchased the app and put a review on the iTunes site. A few things have cropped up in terms of features, functionality, etc. and I thought I&#8217;d comment on some of these here.</p>
<ul>
<li><strong>25wpm speed limitation</strong> &#8211; I have increased this to 50wpm and hope to send this update to the app store this week</li>
<li><strong>User Interface</strong> &#8211; Tapping the knobs to turn them, rather than touch &#038; drag to turn. I agree this is not as intuitive as one would like, I have every intention of changing this so you can touch a knob and drag it either way to turn it clockwise or anticlockwise. For the first iteration it was simpler to use a button to make the knobs turn but this isnt what I want for the long term, particularly now that the speed goes up to 50.</li>
<li><strong>Ability to practice sending morse</strong> &#8211; Currently the app is just for practicing receiving code rather than giving you the ability to practice sending code by tapping on the screen. I do have a bunch of ideas along these lines but I needed to get the receive part done first.</li>
<li><strong>Info/settings button</strong> &#8211; The (i) button is hard to hit at times and this is a known bug. I&#8217;m using a standard Apple button and I need to increase the active area for that button to solve this problem. Alternatively moving it away from the edge of the screen might help</li>
<li><strong>Text size</strong> &#8211; I could add in an option to configure the font size, this makes a lot of sense. Making more room for the text on the screen might help too &#8211; perhaps an option to show/hide the controls or an alternative view when you rotate the iPhone to a landscape view?</li>
</ul>
<p>I will be looking at the other issues raised as I make these changes. There was a suggestion to add more complex audio features (QRM, etc.) to make copying the code more realistic and this sounds like a great idea but I&#8217;ll need to do some reading on how to create those types of audio features on the iPhone.</p>
<p>Thanks again for the great support and I&#8217;ll keep working to improve the app so it meets everyone&#8217;s needs.</p>
<p>Simon, AA9PW.</p>
]]></content:encoded>
			<wfw:commentRss>http://aa9pw.com/2009/06/07/ham-morse-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adventures in making morse code</title>
		<link>http://aa9pw.com/2009/04/13/adventures-in-making-morse-code/</link>
		<comments>http://aa9pw.com/2009/04/13/adventures-in-making-morse-code/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 21:50:15 +0000</pubDate>
		<dc:creator>Simon</dc:creator>
				<category><![CDATA[Morse Code]]></category>
		<category><![CDATA[iphone]]></category>

		<guid isPermaLink="false">http://aa9pw.com/?p=192</guid>
		<description><![CDATA[As part of the process of working on the new iPhone app, HamMorse, I&#8217;ve been delving into the gory details of making digital sound. At one level things are going really well but as is often the way, there&#8217;s some weirdness cropping up that is getting in the way. I thought I share this just [...]]]></description>
			<content:encoded><![CDATA[<p>As part of the process of working on the new iPhone app, HamMorse, I&#8217;ve been delving into the gory details of making digital sound. At one level things are going really well but as is often the way, there&#8217;s some weirdness cropping up that is getting in the way. I thought I share this just in case someone can help fix the problem!</p>
<p><span id="more-192"></span></p>
<p>A quick recap &#8211; to make sound you need to make a sound wave. For morse code this is usually a simple sine wave with a frequency somewhere around 600-800 Hz. To make morse code out of this you need to modulate it to make the dits and dahs, typically by turning the sound on and off as appropriate. If you are making this digitally (vs modulating a RF carrier frequency) you write your code so that there is silence when you want no sound and then when you need to have a dit or a dah you start the sine wave at the beginning of the dit/dah and then stop it after the appropriate length of time.</p>
<p>How long is an appropriate length of time? Well, the <a href="http://en.wikipedia.org/wiki/Morse_code">wikipedia page on morse code</a> explains this all rather well but basically the timing works out to be one dit (in ms) = 1200/(desired code speed in words per minute). So, at 15 wpm, this works out to be 1200/15 = 80ms per dit. A dah is three times the length of a dit so that makes it 240ms long. There&#8217;s a one dit-length silence between each part of a letter (eg. between the dit and the dah of the character A), a three dit-length silence between characters in the same word and a seven dit-length silence between words. Throw all that together along with a translation table between the letters in your piece of text and the morse code needed for those letters and you are off and running.</p>
<p>Skipping over a bunch of bits for now (see a great explanation by <a href="http://www.comportco.com/~w5alt/cw/cwindex.php?pg=6">Walt Fair Jr., W5ALT</a> if you want more info), I&#8217;ve written code that gets this done on the iPhone and tested it on the iPhone Simulator that Apple provides for you to test your application. It sounds great, the audio waveform looks like this when I record the sound coming out of the computer&#8217;s speaker into Audacity.</p>
<p><img src="http://farm4.static.flickr.com/3633/3431009108_54996f1f75_o.jpg" alt="Simulator wave form" /></p>
<p>Once things are working on the simulator you can connect your iPhone and run the same code on the actual device. When I do this and listen to the audio that comes out of the phone&#8217;s speakers, its not quite so nice, when you record the audio into audacity here&#8217;s what it looks like:</p>
<p><img src="http://farm4.static.flickr.com/3360/3430199681_d3869016f4_o.jpg" alt="iPhone wave form" /></p>
<p>Not so pretty as before and while the audio still sounds passable, its clearly not as it should be. My challenge at the moment is to figure out why this is going on! The wave looks a bit like another sine wave is being added to the main one, causing the regular distortion observed but I cant for the life of me see where that is creeping in. I get the same distortion via headphones so I dont think its the speakers, I&#8217;ve made the audio mono to see if one of the stero channels was out of phase and causing the problem, this had no effect. When I look at the numerical values being created in the code, it should be making a nice smooth sine wave but&#8230; </p>
<p>This is the entertainment that is software development! I am currently waiting for the &#8220;Duh!&#8221; moment to occur where upon I will add back the missing semi-colon and everything will work as planned. Until that happens, if anyone has any suggestions I&#8217;d be very interested to hear them &#8211; I&#8217;m hoping that my fellow hams who are used to looking at wave forms and harmonics and things can get me pointed in the right direction.</p>
<p>Cheers!</p>
<p>Simon, AA9PW</p>
]]></content:encoded>
			<wfw:commentRss>http://aa9pw.com/2009/04/13/adventures-in-making-morse-code/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
