HOME

Free Code Samples

By Erick Tejkowski


Support

None... nada... zilch... zero... There is no support for these projects. You get free code. You figure out the rest. I will accept bug reports, but don't be surprised if I don't have time to help you code your application. More time for me, means more freebies for you. If you improve upon these projects and would like to share them with the community, let me know.

Acknowledgements

Special thanks to the following people who gave me code, suggestions, debugging help, and put up with my endless questions:


REALbasic Video and Audio Capture Plugin Code

It's mean and rude looking code. You'll have to do a lot of work to get it up and running. You'll need to fight long and hard with the Direct X and QuickTime SDKs (especially Direct X). But, the general idea is here: crossplatform audio and video capture for Mac and Windows in REALbasic.

It was 99% finished/working when I left the code for the greener pastures of REALbasic declares. The initial plan was to convert this mess to REALbasic-only code. The Mac side worked like a champ. The Windows side never made it to REALbasic code. The Direct X SDK relies heavily on function pointers, which became a technical hurdle in RB-only code for Windows. Maybe this is easier to wrangle with today?

Download C++ source code


REALbasic Video and Audio Capture

Real Capture Canvas is a canvas control for REALbasic that supports video and audio capture. (you can also draw on it, since it's a canvas). Real Capture Canvas is now a free download.

Download Real Capture Canvas


QuickTime Conversions

Shows how to convert any QuickTime-compatible media to iPod, iPhone, iPhone Cellular, and AppleTV.
Includes support for long filenames and unicode; works on Mac PPC and Mac Intel.

It is strongly recommended that you read Apple's Tech Note TN2188 about these conversions, as this demo does not account for Aperture or MovieBox as described in the Tech Note

Also, progress dialogs are left for the reader to work out.

Download QuickTime Conversion (Requires REALbasic 2008r1 or newer)


Speaker

This demo shows some basic speech functions using Declares. It speaks, stops speaking, sets the voice, and changes the speech rate.

Download Speaker (Code requires REALbasic 2007r5 or newer)


Multiple File Selection

REALbasic still does not permit you to select multiple files of varying type at once. This project shows you how.

Download Multiple File Selection (Code requires REALbasic 2007r3 or newer)


Roland Programmers

Shows how to control Roland Synthesizers: Juno 1/2 and JX8P
Illustrates CoreMIDI techniques via REALbasic.

This application is based on Alpha Juno Control code by Jim Vanaria at XMIDI.

Download Roland Programmers (v1.0.3 updated 14 DEC 2013)


REALbasic Sinewave Generator

This is an enhanced version of the one I demoed at the first Real World conference. (no more zippering) The code is hardly the cleanest, but it demonstrates a popular project from the CoreAudio/Cocoa world in REALbasic code.

Download REALbasic Sinewave Generator (Requires REALbasic 5.5.5 or newer)


RealWave

Shows how to load a media file and draw its audio waveform in a Canvas control.
Press the spacebar to play the audio. Works on Mac PPC and Mac Intel.

New in version 1.1: scrolling, zooming, faster rendering, and bug fixes: Thanks to Ron Benditt for submitting these improvements!

New in version 1.2: Win32 compatibility

Download RealWave (Requires REALbasic 2006r4 or newer)


QuickTime Toolbox

Shows how to convert any QuickTime-compatible media to any other QuickTime-compatible media.
Includes support for long filenames and unicode; demonstrates a custom progress window. Works on Mac PPC and Mac Intel.

Download QuickTime Toolbox (Requires REALbasic 2006r4 or newer)


Frequenz

Shows how to use the QuickTime 7 functions to display a frequency "meter" like in iTunes.
Works on Mac PPC and Mac Intel.

Download Frequenz (Requires REALbasic 2006r4 or newer)


Phone Tones

Shows how to create System 7 sounds that play American telephone sounds.

Download Phone Tones (Requires REALbasic 2007 or newer)