Updated for Xcode 6: I now use the following bash one-liner: open -R `find ~/Library/Developer/CoreSimulator/Devices -type d -depth 5 -name “*.app” -print0 | xargs -0 stat -f “%m %N” | sort -rn | head -1 | cut -f2- -d” “` Read on for some historical AppleScript which applies to Xcode versions previous to 6. Here’s […]
Archive | Code
RSS feed for this sectionLow memory warning bombardment tool
This is an update on my old post here: Consider Yourself Warned. I wanted to share a tool that I use in as part of checking an app for behaving correctly under low memory warnings, to the extent that is possible to do so using the Simulator. It’s an Applescript that just sends a low […]
OpenEars version 0.9.02 is out
Just a quick note that OpenEars 0.9.02 is out now – this is a maintenance release which fixes a couple of bugs and adds two new features: 1) meaningful recognition confidence scores, and 2) the ability to use JSGF grammars. As always, please check out the forums to get support. [politepix-blog-inline-text-ad]
Voice Recognition / Speech Recognition and speech for the iPhone
Politepix introduces OpenEars, an open-source iOS library for implementing continuous, multithreaded, and low-overhead speech recognition and text-to-speech, using CMU Pocketsphinx and CMU Flite, for iPhone and iPad development.
Decibel metering from an iPhone audio unit
How to meter the samples from an iPhone audio unit to convert their amplitude into decibels.
Easier low memory warning simulator testing with keyboard shortcuts
Create a menu item shortcut for the iPhone Simulator’s “Simulate Memory Warning” feature.