Latest 1.0.0
License MIT
Platforms osx 10.7, requires ARC
Frameworks AudioToolbox


MPSoundEngine allows you to very easily synthesise sounds for mono or stereo output on OS X.


MPSoundEngine is designed to be as easily usable as possible. There are two concrete subclasses,
MPMonoSoundEngine and MPStereoSoundEngine. You interact with them through MPSoundChannel objects.

This project also includes an example. To run the example project; clone the repo, and run pod install from the Example directory first.

Mono Sound

Here’s how to synthesise the musical note A as a mono signal.

MPMonoSoundEngine *engine = [[MPMonoSoundEngine alloc] init]; = 440.0; // 440 Hz is the musical note A
[engine start];

Stereo Sound

Here’s how to synthesise the musical note A on the left channel and the musical note C on the right channel as a stereo signal.

MPStereoSoundEngine *engine = [[MPStereoSoundEngine alloc] init];
engine.leftChannel.frequency = 440.0; // 440 Hz is the musical note A
engine.rightChannel.frequency = 261.00; // 261 Hz is the musical note C
[engine start];


MPSoundEngine is available through CocoaPods, to install
it simply add the following line to your Podfile:

pod "MPSoundEngine"


Matthias Plappert, [email protected]


This code is partly based on an example provided by Alex Chaffee on stackoverflow.


MPSoundEngine is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "MPSoundEngine",
    "version": "1.0.0",
    "summary": "A simple engine for OS X that can synthesise sounds from a given frequency for mono or stereo output.",
    "homepage": "",
    "license": "MIT",
    "authors": {
        "Matthias Plappert": "[email protected]"
    "source": {
        "git": "",
        "tag": "1.0.0"
    "social_media_url": "",
    "platforms": {
        "osx": "10.7"
    "requires_arc": true,
    "source_files": "Classes",
    "frameworks": "AudioToolbox"

Pin It on Pinterest

Share This