home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Book HomeDesigning Web AudioSearch this book

11.4. Using the Beatnik Editor

Now that you've worked with some premade content, let's take a look at how to create your own .rmf files. The Beatnik Editor is the primary tool for creating the .rmf files native to the Beatnik Player. This tool imports standard MIDI files and facilitates access and reassignment to the players built-in sound banks and patches. In addition, digital audio samples can be imported and assigned to various key ranges of a user-defined instrument patch within the custom user bank. After the samples are mapped to MIDI note ranges, they can be triggered by MIDI note commands just like the standard samples within the Player.

The Beatnik Editor is best used in conjunction with an OMS-compatible sequencing program such as Opcode's Vision, or Emagic's Logic Audio. OMS (Open Music System) acts as an intermediary translator between the sequencing software and the Beatnik Editor, allowing a "live" MIDI connection to the Beatnik instruments. Unfortunately, there is a significant lag in the response time of the Beatnik instruments, which makes it nearly impossible to compose directly with the Beatnik sounds. Although this is something Beatnik hopes to address, currently the best workaround requires the use of another general MIDI instrument to perform the input tasks and then audition the finished sequence with the various channels assigned to the instruments of the Beatnik Editor.

You can do this by choosing the File Figure 11.4 Link to Sequence command. You must launch the Beatnik editor first and then your sequencer in order for the interapplication communication to work properly. This enables your sequencer to trigger the Beatnik player's multi-instrument tone generator, and to hear the composition exactly as the end user will hear it. The lag is actually still present, but all tracks are delayed by the same amount in this case, so it doesn't create any audible problem.

You can create MIDI sequences in any MIDI-sequencing program capable of exporting a standard type 1 MIDI file. You need to include the bank and patch assignments for the various MIDI channels in your exported file. This standard MIDI file is then imported into the editor, as shown in Figure 11-6. Note that your MIDI sequence will differ from what you heard when using the MIDI instrument you composed with. The best way to minimize the difference is to compose with a MIDI instrument that has banks and patch assignments that conform to the General MIDI specification. Since Beatnik instrument banks also map to this specification, your tracks will play with similar instrument sounds.

Figure 11-6

Figure 11-6. The Beatnik Editor is useful for integrating different audio formats as well as editing custom samples.

As of this writing, the Beatnik Editor was available only for the Macintosh. For Windows users, Beatnik has introduced the Beatnik Converter. The Converter does not allow the designer to create or assign custom instruments for the third bank, nor does it allow a live MIDI connection to the Beatnik instruments. It can import standard MIDI files or audio sample data and convert them to an .rmf file.

In order to run the Beatnik Editor, you will need a PowerPC-based Mac running System 7.1 or higher and Sound Manager 3.1 or higher. You should also have a MIDI instrument with a built-in General MIDI library. You will also want an OMS-compatible MIDI sequencing application and the OMS system extension(s). OMS is a MIDI utility that allows communication between an external MIDI controller, the computer itself, and other MIDI applications such as the Beatnik Editor or MIDI sequencer. If you want to create custom samples and instruments for the Beatnik Editor, you will also need a standard sound editing application such as Sound Designer II, Bias Peak, SoundEdit 16, or Sound Forge.

11.4.1. Getting started

When you first open the Beatnik Editor, you will be prompted to create a new session or open an existing session. You can think of a session as the workspace in which you collect and manipulate the various elements that will eventually be integrated and exported as an .rmf file. When you save a session file, it is important to understand that the elements remain in their native format. For example, a .wav file is still a .wav file, and a standard MIDI file is still a standard MIDI file. It is not an .rmf file until it is exported as such. This allows you to save your work in progress and to re-open a session file at a later time and manipulate the various files in their native format. Once the file is exported as an .rmf file, you cannot edit the individual elements.

When you create a new session, you can name it, and the program interface will display five windows: the Real Time window, the Songs window, the Samples window, the Instruments window, and the Keyboard window. Each appears with the session name at the top of its window. The Instruments window is a list of the instruments you have available to you. Likewise, the Songs and Samples windows show the songs and the samples that are available to you. Notice that the windows have pop-up menus that allow access to other banks. The Keyboard window is a graphical representation of a MIDI keyboard on which you can mouse-click to audition various instruments at different pitches, and also view MIDI key ranges, which you can map samples to. The Real Time window allows you to view important data such as CPU load, time, global reverb settings, and other graphical feedback in real time as you load and play with different elements.

Those who have worked with a MIDI keyboard or sequencer software will find the Beatnik Editor's interface familiar and intuitive. If you haven't worked with MIDI or a keyboard sampler, don't worry. The interface is still fairly easily understood and deals mainly with MIDI channel assignments, General MIDI patch assignments, and MIDI key note ranges. There is good documentation available for the Beatnik Editor, and the software may be downloaded free of charge at Beatnik's web site http://www.beatnik.com. The Pro Version includes MP3 compression and is moderately priced.

11.4.3. Manipulating the files

The Beatnik Editor menu bar allows you to manipulate songs, instruments, and samples. The appropriate menu will become activated or grayed out depending on type of file you have highlighted (and in which window).

11.4.3.1. Working with songs

Let's start with songs. Standard MIDI files can be imported into the editor where they will appear in the Songs window, as shown in Figure 11-8.

Figure 11-8

Figure 11-8. The Songs window displays the audio and MIDI files you have imported into the editor as well the Groovoids currently installed in the Editor.

The pop-up menu at the top of the Songs window has four possible choices: All, Groovoids, User Songs, or Imported .rmf s. As explained earlier in this chapter, Groovoids are small, premade MIDI compositions that are built into the Beatnik Player, so you can experiment with these files immediately. Some are stingers and cues, and some make great interface sounds. Groovoids cannot be edited or changed in any way. However, any user-imported file that appears in the User Songs view can be edited. You can listen to any of the songs by double-clicking them, by using the keyboard shortcut Command-T, or by highlighting the name of the song and then clicking the Play button in the Real Time window.

When you have highlighted a song in the Song window, you can change the song's tempo, volume, and reverb settings by choosing Song Figure 11.4.3.1 Song Settings from the menu bar. This displays the window shown in Figure 11-9. The value in the Tempo field represents a percentage of the tempo for the song, where 100% is normal speed. Percentages over 100% will cause the song to play at faster than normal speed; values of less than 100% play at slower than normal speed. You can select one of several different reverb types to be associated with the song. You can also set a "Volume gain" setting for each song. Note that these settings will be saved with the song and will be reflected on the web page when the song is played back using the Beatnik plug-in.

Figure 11-9

Figure 11-9. The Song Settings window

Digital watermarking and copyright protection

 

The copyright and media information are watermarked and encrypted within the Beatnik file so no matter where the file goes, the appropriate information and credits follow. As with Liquid Audio, digital watermarking is an essential feature for professional musicians, producers, and music industry professionals, as it guarantees proper copyright information and necessary security features to protect the rights of songwriters and publishers.

 

Most artists make a living from royalties paid by people who use and enjoy their music. Artists are accustomed to being paid royalties by certain agencies such as ASCAP or BMI, which collect the money and distribute it to the artists. However, one of the fundamental flaws or assets of the Web, depending on which side of the fence you sit, is that media on the Net is easy to download without proper permission. With the 40-bit digital encryption and watermarking included with Beatnik, artists, publishers, and sound designers can be secure that their music is protected from piracy.

You can also edit the copyright information for a song by selecting the song and then choosing Song Figure 11.4.3.1 Copyright. The information that you enter in the copyright window can be accessed by the user via the Beatnik plug-in. As copyright protection with electronic music becomes increasingly important, this is a welcome feature for those of us who wish to protect our hard work from being copied and pasted into a web site that didn't bother to pay for it. It also lets you reassure your clients that the sound design you create for them won't be available to everyone else free of charge. The copyright information in a Beatnik .rmf cannot be edited by the user. Tampering with it will cause the file to be unplayable. In addition to this watermarking, .rmf files are also scrambled with 40-bit digital encryption, which affords further protection to the creative community.

The copyright window contains the following fields:

Title

The title of your piece of music

Composer(s)

The composer of your piece of music

Copyright

The music's copyright line, e.g., © 2000 CS Audio Visual, Inc.

Performed By

The performer of your piece of music

Composer Notes

Any notes about the music, such as special commentary, thanks, etc.

Once the copyright information and song settings have been adjusted to your needs, you can export your song as a Beatnik .rmf file, which maybe embedded in a web page for playback with the Beatnik Player plug-in.

11.4.3.2. Working with instruments

There are three banks of sounds to compose with. As previously discussed, two of the banks are contained in the Beatnik Player; the third must be created in the Beatnik Editor and attached to the .rmf file. You do not have to create any original instruments to compose high-quality original music. Furthermore, if your final .rmf file uses only the standard instruments of the Beatnik Player's first two banks, you gain the advantage of extremely low data rates and quick download times for the end user. However, the option of custom instruments and samples affords the sound designer/composer powerful and unique creative possibilities (with the consequence of larger file sizes and longer load times).

Lets take a look at the three banks:

Bank One (the General MIDI bank)

A complete set of 128 General MIDI instruments and a full GM percussion set

Bank Two (the special bank)

128 special instruments and a special percussion set

Bank Three (the user bank)

Room for 128 user instruments and a user percussion set

The General MIDI bank, shown in Figure 11-10, ensures almost universal compatibility with all standard MIDI files. The special bank provides an extended set of instruments created specially for the Beatnik System by Beatnik composers and sound designers, including numerous sound effects customized for the Web.

Figure 11-10

Figure 11-10. The Instruments window displays the available instruments in Beatnik's Audio Engine, including a General MIDI bank, a special instrument and percussion bank, and a user bank that can be filled with customized instruments, samples, and percussion instruments.

In addition to importing your own samples, you may also use the user bank to create custom-edited versions of the pre-existing Beatnik instruments by making a copy and altering the instrument settings to your specific needs. These options are described later.

What is that song called?

You don't have to remember its name. The song title, composer, copyright, and composer fields associated with each song in the copyright settings are displayed as the music is played.

You can view all of these instruments by opening the Instrument window from the Windows menu. The pop-up list in the top of the window allows you to select the different banks for viewing and editing. The instruments in the GM and special banks cannot be edited, deleted, or changed; you can, however, copy and paste them into user bank slots if you would like to modify them or create new instruments using them as a starting point.

The Instrument menu includes the following options:

Keymap

Allows you to define the MIDI note range for individual samples of a multisample instrument.

Modulation

Uses LFOs (Low Frequency Oscillators) to effect various parameters of the sound.

Volume

Creates and changes the instrument's envelope (attack, sustain, decay, and release).

Filters

Uses dynamic low-pass filters to change the instrument's sound.

Instrument Settings

Tweaks an instrument's reverb, looping, pitch, and pan settings.

Experiment with these different options and various settings. Altering pan settings and LFO modulation can have a striking effect on your music. In fact, a relatively simple sound, such as a bell chime or a spoken word, can be altered to sound very complex using combinations of these choices, and entirely new instruments can be created.

Including web links

You can enter URLs in the composer notes field. This allows listeners on the Web to link directly to a web page of your choosing from the copyright display window of the Beatnik plug-in. To enter a URL, type it in simple text form and the Beatnik plug-in will resolve it automatically. Do not enter complete HTML. For example, type in www.raspberrymedia.com, not http://www.raspberrymedia.com.

11.4.4. Making a custom instrument from your imported samples

After you have the samples imported and compressed, they are eligible to become part of a custom instrument. To do this, move the mouse into the Instrument window, and select the user bank from the pop-up menu. In a newly created session, you will see that the bank is empty. Double-click on the first empty instrument. This brings up a keymapping tool (shown in Figure 11-11) that allows you to create zones (or keymap ranges) and assign individual samples to the various zones. If you have worked with a MIDI keyboard sampler, you will be familiar with this tool. This is the standard method in which instrument designers create a full range of chromatic notes with as few samples as possible. A sample usually sounds its best at the pitch it was sampled at (this is called the root pitch), but it is possible to "stretch" the sample across a limited note range before it starts to lose its quality. You can easily verify this by assigning one sample to the entire 88-key range of a piano and auditioning the sample at various places on the keyboard. The trick is to determine the exact range of notes where an individual sample sounds reasonably good, and to record new root samples for the note ranges where the sound quality falls apart. If you use at least one or two root samples for every octave, that is sufficient. For example, you may use root samples at C and F in every octave you intend to use. This is a common practice of sound designers who routinely create their own customized mappings of samples on an 88-key keyboard controller.

Figure 11-11

Figure 11-11. To add custom instruments to the user bank, use the keymapping tool.

Dreamweaver, Flash, Director, and Beatnik

 

Dreamweaver, Flash, and Director let you create Beatnik actions within their authoring interfaces. The Beatnik ActionSet for Dreamweaver versions 2 and 3 adds the functionality of the Beatnik Music Object directly into the Dreamweaver tool palette. The Beatnik ActionSet lets you create Beatnik rollovers and sound effects without having to write code. Using the Beatnik ActionSet allows you to set Beatnik playback parameters such as Autostartand Display. The Beatnik ActionSet extension is bundled with the latest version of Dreamweaver and is available free of charge from the Beatnik web site for earlier versions of Dreamweaver.

 

You can integrate Beatnik into your Flash movies by using a special extension of the music-object.js file, called the music-object-x-flash.js file. This extension file allows you to "wire" FS commands from within the Flash movie to trigger standard Beatnik Music Object JavaScript methods.

 

The Beatnik Xtra for Director provides Beatnik functionality for your Director and Shockwave projects. The Beatnik Xtra encompasses a set of specialized Lingo scripts that allow you to control the special Beatnik Xtra player (sonified Director and Shockwave projects do not make use of the standard Beatnik browser plug-in).

The keymapping tool is easy to use. You simply add as many zones as you need by clicking the Add button below the zone field. Next you add the individual samples of the instrument you are building by clicking the Add button below the samples field. You then link the samples to the various zones, and define the keymap ranges by highlighting the notes of the keyboard graphic in the top of the window. By moving the three small arrows, you can determine to which notes the root pitches for the individual samples and the overall instruments are mapped. When you have finished, you can name the instrument in the Name field at the bottom of the window. You now have a custom instrument containing multiple samples that can be triggered by MIDI note on commands -- just like the standard Beatnik instruments.

11.4.5. Exporting an RMF file with the Beatnik Editor

After you have brought all the various elements together and have a song in your session sounding just the way you like it, you should save your session. After saving the session, you can export your composition as an .rmf file. To export the song as a Beatnik file, select the song in the Song Window and choose File Figure 11.4.5 Export Beatnik. A dialog box (as shown in Figure 11-12) gives you the option of including the instruments and samples used in the song as part of the Beatnik file. If you are not using custom samples, you do not need to include any instruments because they are already built into the plug-in. If you are using custom instruments, include them in your Beatnik file. When you have selected the instruments you want to include, click OK, and then save your file. Remember that after you create a .rmf file, it cannot be edited. In order to make changes, you must go back to the original session document, make changes, and export a new Beatnik file. Note that after a song is exported as a .rmf file, it is encrypted and cannot be re-opened and edited. If you want to make changes to the file, you must edit the song and re-export it as a .rmf file.

Figure 11-12

Figure 11-12. After you have finished creating your Beatnik file and custom sound bank, use the Export dialog box.



Library Navigation Links

Copyright © 2002 O'Reilly & Associates. All rights reserved.