Screencasting
Instructions on how to create screencasts that incorporate Overtone audio.
If you're happy to pay for software, ScreenFlow works perfectly with Overtone. Otherwise the following is a free alternative:
Adapted from http://www.soundpimp.com/guidelines/computer-audio-enhancer-mac-osx/ following the "Alternative 1 - Audio routing setup using Jack" Tested May, 2013 on OSX 10.7.5
-
Get Jack from http://www.jackosx.com/
-
Put on headphones to stop any feedback from Speakers to the Built-in Mic.
-
Always start Jack first to ensure proper detection of the audio applications.
-
Click Start in the JackPilot.
-
Now JackRouter becomes visible as an output playback device in Audio Midi Setup.
-
Select JackRouter as the default device for sound output using gear at bottom of list.
-
Click Routing in the JackPilot, this opens the Jack Connection Manager.
-
Start the Clojure REPL and boot Overtone.
-
Start Quicktime Player and File -> New Screen Recording. Turn the volume slider in the dialog all the way up and select JackRouter as input.
-
Play some sound
(demo (sin-osc [400 400]))
and verify that there is sound via Built-in Output. Just to be sure we're working... -
Create the audio routing in the Jack Connection Manager. Selections are done by: -- single clicking on Send Ports to mark them blue -- double clicking on Receive Ports to make them red (active).
-
Single-click on the "Java" listed under Send Ports (Blue highlight)
-
Double-click on the "Quicktime Player" listed under Receive Ports (Red text)
-
Keep the "System:capture" connections in order to hear the sounds.
-
Back to Overtone. A
(demo (sin-osc [400 400]))
should make a sound that you can hear, and if you look at the screen recording monitor, you will see it. -
If you talk, you can also see your voice is being recorded from the external Mic.
-
Now click the record button in Quicktime Player to start Your Screen & Audio Capture.
-
Here is where you live-code and create your sounds and explain how to do crazy-awesome things with Overtone.
-
And then you're done...
- Quit Qvertone
- Quit QuickTime Player
- Click Stop Jack
Now you can listen to the recorded movie, edit and prepare it for uploading to your favorite video-sharing site.
To screencast you need to compile the last version of ffmpeg (http://www.ffmpeg.org)
in terminal do:
git clone git://source.ffmpeg.org/ffmpeg.git ffmpeg
then yo need to compile with x11grab support
go to the source directory and type in terminal:
./configure --enable-gpl --enable-x11grab
make
sudo make install
if all is ok, you only need to start Jack client, Overtone, Emacs, etc. and, when you are ready, open a terminal in the folder you want to create the video and put this:
(you can change the options in the line below to your preference)
ffmpeg -f jack -i ffmpeg -f x11grab -framerate 20 -video_size 800x600 -i :0.0 -b:v 2000k example.mpg
then, in *qjackctl (TODO command-line way), connect the SuperCollider ouputs to the ffmpeg inputs and its done..
when you finish, stop the process with ^C. (ctl+c).
lets make videos !