At the Sounding Edge: FreeWheeling
Basic operation of FreeWheeling is easy. Audio input can come from a record-enabled mixer channel, an OGG-encoded soundfile or the internal synthesizer. The main display shows the input sound as it passes through FreeWheeling (Figure 2). By default, four input channels are defined with separate volume control by pressing the up or down arrow key and the input channel number (1,2,3,4). Press a QWERTY key to record a segment and then press it again to play the recording as a loop. Repeat this basic procedure with other keys, using any previous loop as real-time accompaniment. The u key deletes the last recorded loop, Space+[key] deletes the loop at [key] and Alt-Space deletes all current loops. F8 saves the last recorded loop as an OGG file, while F7 saves an entire collection of loops as a scene. Synth patches, audio loops and scenes all are selectable from FreeWheeling's browser. The b key rotates the browser through its loadable types, the keypad + and - keys scroll the available items for each type and the Enter key selects and loads an item.
Recording may be freestyle, timed to a prerecorded loop or coordinated with FreeWheeling's metronome. A tap tempo feature provides a neat way to set the metronome. During playback, loops can be toggled on and off by pressing the associated key. Loops can be muted and unmuted with the keypad - and + keys, plus the loop key. Volume control is available per I/O channel and per loop, giving the performer finer control over the overall balance.
I've recorded some simple examples demonstrating these features and placed them on-line here. They're not especially musically valuable, but they should give you an idea of what can be done at even FreeWheeling's most basic levels.
Now we go a few steps further in our explorations and look into the .fweelin.rc file. This file is an XML-based configuration file through which FreeWheeling's features can be customized extensively, including its interface layout, keyboard bindings, MIDI control assignments and more. You'll need to spend a little time to learn the configuration syntax, but the file, which is also FreeWheeling's primary documentation, is written clearly and is definitely worth the effort.
The easiest way to use .fweelin.rc is to change some of the default values, restart the program and check out what changes were made. For example, I changed this setting :
<!-- Soundfonts to load. Soundfonts without a path load from /usr/local/share/fweelin/. --> <fluidsynth soundfont="basic.sf2"/>
with this line:
to load my preferred soundfont for FreeWheeling's internal FluidSynth.
This simple example sets FreeWheeling's display size more to my liking:
The next example presents a more interesting use of .fweelin.rc, binding MIDI key numbers to toggle loop recording and playback. First we go to the Variables section and set the noterange variable to the desired range of MIDI note numbers, in this instance, the lowest octave of my CZ101 MIDI keyboard:
<declare var="VAR_noterange" type="range" init="36>47"/>
In the video section, we find this layout design:
<layout id="1" name="MIDI Keyboard" scale="0.35,0.55" pos="0.00,0.00" label="0" elabel="0" namepos="0.02,0.02" show="0">
The Tab key toggles between the PC keyboard, layout id 0 and the MIDI keyboard displays. By default, FreeWheeling opens with the PC keyboard layout, but that also can be redefined.
The startup section of .fweelin.rc defines the map between my CZ101 keyboard and FreeWheeling's MIDI layout:
<!-- Sub 0: Startup - do startup stuff --> <binding input="go-sub" conditions="sub=0" ... output2="video-show-loop" parameters2="layoutid=1 and loopid=VAR_noterange+VAR_loopid_pianostart" ... />
The video-show-loop event defines the range of loops displayed. Each recorded loop is assigned a unique ID number, loopid, created by summing the value of the received MIDI note number and the value of the loopid_pianostart variable. The pianostart variable also is defined in the Variables section:
<declare var="VAR_loopid_pianostart" type="int" init="350"/>
Figure 3 shows off FreeWheeling recording an audio input while playing back loops assigned to the MIDI keyboard layout. When I press the lowest key on my CZ101, a loop is recorded and assigned to the corresponding key in FreeWheeling's MIDI layout. Pressing the key again plays the assigned loop, as seen in Figure 3.
The MIDI key binding is defined in the Trigger Loops section:
<binding input="midikey" conditions="notenum=VAR_noterange and keydown=1" output="trigger-loop" parameters="loopid=notenum+VAR_loopid_pianostart and vol=velocity/127"/>
If a MIDI key press occurs that equals a note number defined within VAR_noterange, then the conditions are met and a trigger-loop event takes place, either recording or playing a loop on the MIDI key layout.
As I said, it takes some effort to get your mind around FreeWheeling's customization options and syntax, but it does start to make sense and it does result in a highly personalized instrument.
Similis sum folio de quo ludunt venti.
Fast/Flexible Linux OS Recovery
On Demand Now
In this live one-hour webinar, learn how to enhance your existing backup strategies for complete disaster recovery preparedness using Storix System Backup Administrator (SBAdmin), a highly flexible full-system recovery solution for UNIX and Linux systems.
Join Linux Journal's Shawn Powers and David Huffman, President/CEO, Storix, Inc.
Free to Linux Journal readers.Register Now!
- Download "Linux Management with Red Hat Satellite: Measuring Business Impact and ROI"
- ServersCheck's Thermal Imaging Camera Sensor
- The Italian Army Switches to LibreOffice
- Linux Mint 18
- Chris Birchall's Re-Engineering Legacy Software (Manning Publications)
- Petros Koutoupis' RapidDisk
- Oracle vs. Google: Round 2
- The FBI and the Mozilla Foundation Lock Horns over Known Security Hole
- Privacy and the New Math
Until recently, IBM’s Power Platform was looked upon as being the system that hosted IBM’s flavor of UNIX and proprietary operating system called IBM i. These servers often are found in medium-size businesses running ERP, CRM and financials for on-premise customers. By enabling the Power platform to run the Linux OS, IBM now has positioned Power to be the platform of choice for those already running Linux that are facing scalability issues, especially customers looking at analytics, big data or cloud computing.
￼Running Linux on IBM’s Power hardware offers some obvious benefits, including improved processing speed and memory bandwidth, inherent security, and simpler deployment and management. But if you look beyond the impressive architecture, you’ll also find an open ecosystem that has given rise to a strong, innovative community, as well as an inventory of system and network management applications that really help leverage the benefits offered by running Linux on Power.Get the Guide