Pocket Cowbell

Swing your phone. It rings. Four years of making that feel real.

76,000
Downloads
7 million
Cowbell rings
Nov 2022
On the App Store since
Status
LiveLive on the App Store and Google Play
Platforms
Android, iOS
Role
Solo: design, code, sound, marketing, release
Timeline
Sep 2022 – Nov 2026464 commits
Version
iOS 6.3.0 on the App Store (6.3.1 in review) · Android 3.4.4 on Google Play

01 The story

A cowbell you play by swinging your phone. It started in 2022 as a weekend web app and grew into native iPhone and Android apps, written in Swift and Kotlin, with a ring that feels and sounds like real metal, 54 songs to play and global leaderboards. Live on the App Store and Google Play.

Pocket Cowbell started in September 2022 as a web app: a picture of a maroon cowbell that rang when you shook your phone. It worked on Android, but iPhone browsers wouldn't play the sound, so within a week I was building a native iPhone app. Version 1.0 went to the App Store on November 23, 2022.

The iPhone app kept growing through 2023 and 2024: sound with the ringer switch off, a Pro upgrade, then a 4.0 redesign with Game Center leaderboards, custom cowbells, recording and stats. In October 2024 I wrote a native Android version with Play Games leaderboards, Time Trials and bells to collect. In 2026 both apps got a limited-time World Cup edition with 48 country bells and a redesign for iPad and foldable phones.

The November 2026 update rebuilt how the bell rings. It now rings when you really swing it, as hard as you swing, and ignores jiggles, waves and setting the phone down. Every ring is built from recordings of a real cowbell, so fast shakes build and ring like real metal, and the sound lands the instant your swing does.

On top of that sit Song mode, where each ring plays the next note of one of 54 songs, a Notes mode you can bend with a finger, and sound packs with jams where a band plays along. The same update dropped app-open and surprise pop-up ads.

Both apps are live: iOS 6.3.0, with the new ringing engine, and Android 3.4.4, with iOS 6.3.1 in review. People ring it all over the world, at football games, at watch parties at home and even at rugby matches in New Zealand.

▶ Film

A 20-second vertical ad. The soundtrack is the app's own bell engine.

02 What it does

  1. 01

    Swing, chop or flick your phone to ring the bell, or tap it; the harder the swing, the louder the ring

  2. 02

    Song mode: every ring plays the next note of one of 54 songs, with the song's name on screen

  3. 03

    Notes mode: touch a row to ring a note, slide to bend it, use several fingers for a chord

  4. 04

    More than 60 bells: pick the one you want next and every ring counts toward it, plus free animal bells, Pro bells like Holo and Dragon, and a photo bell made from your own picture

  5. 05

    Sound packs (Pets, Instruments, Space, Party, Jams), each with a bell of its own: Pets is free, the rest unlock as you ring, or buy one or try it for 30 minutes

  6. 06

    Tap any sound to hear it on your bell, and switch sounds right from the Ring screen

  7. 07

    Combo counter for rings in a row, daily and lifetime stats, and a shareable ring count

  8. 08

    Global leaderboards on Game Center and Google Play Games, with your exact rank

  9. 09

    First-run tutorial on the real bell, a daily reminder, adjustable vibration, and no surprise ads

03 How it's built

DeviceAccelerometer + gyroscope
Datashared/: audio and test data
ServiceRinging engine (on device)
AppAndroid app (Kotlin, Compose)
AppiPhone app (SwiftUI)
Outside serviceFirebase: analytics, config, crashes, FCM
Outside serviceGame Center / Play Games
Outside serviceStoreKit / Play Billing, AdMob

Everything that makes sound runs on the phone. The cloud is only analytics, remote config, crash reports, leaderboards, purchases and ads.

All 10 connections, as text
  • Accelerometer + gyroscope → Ringing engine (on device): motion samples
  • Ringing engine (on device) → Android app (Kotlin, Compose): rings
  • Ringing engine (on device) → iPhone app (SwiftUI): rings
  • shared/: audio and test data → Ringing engine (on device): bell sounds
  • Android app (Kotlin, Compose) → Game Center / Play Games: ring counts
  • iPhone app (SwiftUI) → Game Center / Play Games: ring counts
  • Android app (Kotlin, Compose) → Firebase: analytics, config, crashes, FCM: events, config
  • iPhone app (SwiftUI) → Firebase: analytics, config, crashes, FCM: events, config
  • iPhone app (SwiftUI) → StoreKit / Play Billing, AdMob: Pro, packs, banner
  • Android app (Kotlin, Compose) → StoreKit / Play Billing, AdMob: Pro, packs, banner

04 Engineering notes

  • Swing detection that rings on a real chop or flick, as hard as it lands, and ignores jiggles, waves and setting the phone down, tuned on hundreds of recorded and simulated swings

  • Bell sound built from the app's own cowbell recordings, so no two rings are quite the same and fast shakes build like real metal

  • Low-latency audio on both platforms, so the ring lands the moment the swing does

  • Matching iPhone and Android apps kept in step by shared test data, plus UI tests that drive every screen and a 300-tap stress test

  • Both apps and their full histories in one repository, with shared audio and tools checked automatically

  • Store plumbing on both platforms: Pro and sound-pack purchases (refunds revoke, reinstalls restore), consent-managed ads, analytics and crash reporting

05 By the numbers

76,000
Downloads
7 million
Cowbell rings
Nov 2022
On the App Store since
54
Songs in Song mode
48
World Cup country bells

06 Stack

App

  • Kotlin
  • Jetpack Compose
  • Material 3
  • Swift
  • SwiftUI
  • Core Motion
  • AVAudioEngine
  • C++ (Android NDK)
  • Core Haptics
  • PhotosUI

Backend

  • Firebase Analytics
  • Firebase Remote Config
  • Firebase Crashlytics
  • Firebase Cloud Messaging
  • Game Center
  • Google Play Games Services

Data

  • DataStore / SharedPreferences
  • UserDefaults

Infrastructure

  • Google Play
  • App Store / TestFlight
  • AdMob + User Messaging Platform
  • StoreKit 2
  • Play Billing 8
  • GitHub Actions (Android CI, iOS CI, simulator check)

Tooling

  • Python sound tools
  • ffmpeg
  • Gradle
  • Xcode
  • XCTest / XCUITest
  • Blender + Swift for marketing renders

Lines of code (approx.)

  • Kotlin14,643
  • Swift12,942
  • Python2,042
  • C++161

≈ 29,788 lines

Repositories

  • pocket-cowbell-appprivate
  • PocketCowbellprivate
  • pocket-cowbell-iosprivate
  • pocket-cowbellprivate
  • Pocket-Cowbellv0private
  • Pocket-Cowbell-3private
  • pocket_cowbell_flutterprivate
  • pocket-cowbell-bothprivate
  • ai-cowbellprivate
  • pocket_cowbell_dsp_labprivate
  • pocket_cowbell_dsp_lab_v2private

The 464 commits are spread across 10 repos, from the 2022 web app through SwiftUI and Flutter experiments to the native apps, which now share one repository.