Skip to content
This repository

C++ Audio and Music DSP Library

branch: master

Merge pull request #20 from Safareli/master

add missing #include <cstdlib>
latest commit 5c6b3026b8
Chris Kiefer chriskiefer authored
Octocat-spinner-32 maximilianTest.xcodeproj test project for osx 10.8 September 30, 2013
Octocat-spinner-32 maximilianTestWindowsVS2010 windows vs2010 project August 25, 2011
Octocat-spinner-32 maximilianTest_10.8.xcodeproj additive example October 11, 2013
Octocat-spinner-32 maximilian_examples additive example October 11, 2013
Octocat-spinner-32 ofxMaxim add missing #include <cstdlib> November 25, 2013
Octocat-spinner-32 .gitignore Merge branch 'master' of github.com:micknoise/Maximilian August 25, 2011
Octocat-spinner-32 README readme September 06, 2012
Octocat-spinner-32 RtAudio.cpp rtaudio mods August 25, 2011
Octocat-spinner-32 RtAudio.h maximillian basic examples August 23, 2011
Octocat-spinner-32 RtError.h maximillian basic examples August 23, 2011
Octocat-spinner-32 beat2.wav maximillian basic examples August 23, 2011
Octocat-spinner-32 blip.wav fixed the triangle waveform generator. Added some samples to test the… October 22, 2011
Octocat-spinner-32 main.cpp additive example October 11, 2013
Octocat-spinner-32 maximilian.cpp Revert "Merge pull request #17 from jamiebullock/master" November 05, 2013
Octocat-spinner-32 maximilian.h band limited oscillators November 24, 2012
Octocat-spinner-32 player.cpp fixed channel problem in player.cpp. Also started work on a polysynth… October 10, 2011
Octocat-spinner-32 player.h maximillian basic examples August 23, 2011
Octocat-spinner-32 portaudio.h maximillian basic examples August 23, 2011
Octocat-spinner-32 snare.wav fixed the triangle waveform generator. Added some samples to test the… October 22, 2011
Octocat-spinner-32 stb_vorbis.c "added ogg vorbis support also did some minor bug fixes for windows a… April 07, 2012
Octocat-spinner-32 stb_vorbis.h "added ogg vorbis support also did some minor bug fixes for windows a… April 07, 2012
README
                      .__        .__.__  .__               
  _____ _____  ___  __|__| _____ |__|  | |__|____    ____  
 /     \\__  \ \  \/  /  |/     \|  |  | |  \__  \  /    \ 
|  Y Y  \/ __ \_>    <|  |  Y Y  \  |  |_|  |/ __ \|   |  \
|__|_|  (____  /__/\_ \__|__|_|  /__|____/__(____  /___|  /
      \/     \/      \/        \/                \/     \/ 

::::::::::::::::::::::::::What's Maximilian?

Maximilian is an audio synthesis and signal processing library written in C++. It's cross-platform compatible with MacOS, Windows, Linux and IOS systems.  The main features are:

- sample playback, recording and looping
- read from WAV and OGG files.
- a selection of oscillators and filters
- enveloping
- multichannel mixing for 1, 2, 4 and 8 channel setups
- controller mapping functions
- effects including delay, distortion, chorus, flanging
- granular synthesis, including time and pitch stretching
- atom synthesis
- realtime music information retrieval functions: spectrum analysis, spectral features, octave analysis, and MFCCs
- example projects for Windows and MacOS, using command line and OpenFrameworks environments


:::::::::::::::::::::::::::BASIC EXAMPLES

You can choose between using RTAudio and PortAudio drivers in player.h by uncommenting the appropriate line.  To use PortAudio, you will need to compile the portAudio library from http://http://www.portaudio.com/ and link it with your executable.

Examples demonstrating different features can be found in the maximilian_examples folder.  To try them, replace the contents of main.cpp with the contents of a tutorial file and compile.


:::MAC OSX XCODE PROJECT

You can run the examples using the 'maximilianTest' XCode 3 project provided.


::WINDOWS VISUAL STUDIO 2010 PROJECT

This is in the maximilianTestWindowsVS2010 folder. You will need to install the DirectX SDK, so that the program can use DirectSound.


:::COMMAND LINE COMPILATION IN MACOSX

> g++ -Wall -D__MACOSX_CORE__ -o maximilian main.cpp RtAudio.cpp player.cpp maximilian.cpp -framework CoreAudio -lpthread

> ./maximilian


::COMMAND LINE COMPILATION IN LINUX

With OSS:
> g++ -Wall -D__LINUX_OSS__ -o maximilian main.cpp RtAudio.cpp player.cpp maximilian.cpp -lpthread

With ALSA:
> g++ -Wall -D__LINUX_ALSA__ -o maximilian main.cpp RtAudio.cpp player.cpp maximilian.cpp -lasound -lpthread

With Jack:
> g++ -Wall -D__UNIX_JACK__ -o maximilian main.cpp RtAudio.cpp player.cpp maximilian.cpp `pkg-config --cflags --libs jack` -lpthread

then:
> ./maximilian



:::::::::::::::::::::::::::OPENFRAMEWORKS

Maximilian works well with the OpenFrameworks C++ creative coding toolkit (http://www.openframeworks.cc).

In the ofxMaxim directory you will find examples to run in Windows, OSX and iOS, including FFT analysis and granular synthesis.  

You can install the ofxMaxim addon by copying the ofxMaxim/ofxMaxim folder into your openframeworks addons directory.

Important: when using Maximilian on OSX, link against the Accelerate framework.
Something went wrong with that request. Please try again.