Christopher Souvey’s Blog

My technology, my musings, my life…

Archive for the ‘Android’ Category

25,000 Downloads of Musical!

I just broke 25,000 downloads of my Android application, Musical! Here are my current statistics according to the Developer Console:

  • Downloads: 25015 total
  • Active Installs: 11344 (45%)
  • Reviews: 409
  • Rating: (4.07/5)
  • 0 Comments
  • Filed under: Android, Technology
  • Development on Hold

    My laptop’s SSD died a few days ago (completed wiped itself), so I’m going to be taking a break from developing Musical until Dell fixes it (I’ve arranged a repair and the box should be arriving soon). I super lucked out though and have a 100% up to date backup (I didn’t lose a single thing). I was going to try out Windows 7, so I made a full backup of my SSD to an external HD and then wiped the SSD to install Windows 7. A few hours later, the SSD was gone (and, as much as I’d like to blame it on Windows 7, I don’t think it’s possible). Since I did all of my Android development on that machine, I’m just going to wait until Dell fixes it, then restore my backup. If Dell takes an outrageous time (which is completely possible–they already mixed up my phone number with a random business customer also in Santa Cruz and tried to schedule a repair to fix a cable on my Latitude notebook… nice try Dell), I’ll have to setup one of my other laptops with the Android SDK. Whatever happens though, I will post updates here on my blog. The frustrating thing, is that I got a SSD based laptop because of my terrible HD luck (every hard drive I’ve ever had in a laptop has corrupted itself)–apparently my plan worked out great…it only lasted a few months before completely destroying everything (although it was also my first Dell laptop, having previously used IBM ThinkPads and HP consumer notebooks, so I can always blame it on Dell). Thanks Dell!

    Updated Piano for Musical

    I just released another update for Musical (my Android application) with a couple quick (but significant) changes:

    • minikeyboardThe unstable grand piano has been converted into a stable 3-octave piano.  The disabled octaves will be re-enabled once Google updates Android’s sound API
    • The pop-ups and disclaimers on the piano have been removed (it should be reasonably stable now)
    • A 2-octave piano (pictured) has been added, which shows 2 octaves at once (the regular piano shows 1 octave and requires scrolling)
    • Musical now quietly checks for updates when you open it (thus the new required Internet permission)
  • 0 Comments
  • Filed under: Android, Technology
  • Lessons From a Month in the Android Market

    It’s just just over a month since I first uploaded Musical to the Android Market. Since then I’ve gotten 17,500 downloads (over 8000 active installs), 318 reviews (for an average of 4/5 stars), and emails from over 40 users.

    In the process I’ve learned quite a bit about how the Market operates and more importantly, about dealing with its users. The following is a collection of notes, helpful tips, and my thoughts on the Android Market…

    (more…)

  • 1 Comment
  • Filed under: Android, Technology
  • Android Musical Updates

    I recently released some updates for my Android music application (”Musical”) and decided to post some screenshots and semi-technical explanations.

    The pitch pipe (pictured on the right) lets you play any starting pitch (from C4 to C5) either by holding your finger on the screen or by blowing into the bottom of the phone.  Because Android does not support true live audio analysis the play-by-blowing feature is limited and the volume by breath control is at very low resolution and with a bit of delay (it is only using a periodic sampling of input amplitude).  Android also does not allow live generation of audio (playing audio from a memory stream), so the pitch pipe works by stringing together and looping “prerecorded” sine waves of various frequencies.

    The piano (pictured above) is multi-octave (although the bottom octave does not work–Android’s midi synthesizer will not play notes that low) and can be played with your fingers.  It is not multitouch, as Android on the G1 does not currently support multitouch (although the hardware technically supports it, it is disabled and there is no public API).  Switching octaves is accomplished by dragging the keyboard or the “current window” in the upper mini-keyboard.  Notes vary based on how long they are held down (longer hold = longer note) and although multiple keys cannot be pressed at once, multiple notes can be playing at once (it is polyphonic).  The piano “activity” (a screen in Android) plays the notes via SoundPool (an unsupported, unstable, and mostly undocument sound API–but the only one with a fast enough response time) and plays a series of premade midi files using Android’s built-in synthesizer (as there is no way to directly access the synthesizer in code to play a specific note).  Because it uses SoundPool, it is currently rather unstable and sometimes locks up and crashes (the audio stack overloads).  Hopefully when the next version of the SDK comes out, Google will provide a finalized SoundPool and better support for generating live sounds.

    To download the latest version, just search for “Musical” in the Android Market on your G1.

  • 1 Comment
  • Filed under: Android, Technology