angry coffeean audio revolution is brewing
 home > audio tutorials > Beatnik interactive remix > Importing your file into the Beatnik Editor Pro

music blog
  the deep
sounds music blog pod

soundcards
  demos

music news
  entertainment
technology

tutorials
  mp3
ogg
beatnik
flash
quicktime

fresh ears
  audiofile
bulker

about us
  press
people
email us


Importing Your File into the Beatnik Editor Pro

OK, you've programmed your General MIDI file (Type I, separate tracks), and you've also made a large assortment of loops that are now at a 16-bit 22 kHz sample rate. Now you're ready to import all this stuff into the Beatnik Editor Pro.

You cannot do this without the Beatnik Editor Pro, because the "Pro" version is the version that has MP3 compression options in it. You can get to the download section of the Beatnik website through the Angry Coffee Toolbox below. We'll take you through the set-up of one instrument (your loops will be referred to as instruments from here on out). Then you can do the same thing for all of the rest of your loops (or instruments).

Step 1 -- Import your loop into the Beatnik Editor Pro. You will now find your loop in the Samples window under User Samples that you can access by pressing Ctrl 6, or going up to the Windows menu.

Step 2 -- By double-clicking on the sample or loop in the User Samples window, you will get a Sample Settings window. This window is a great source of information and is additionally functional for editing.

It tells you

  • sample name
  • sample rate
  • sample length (take note!)
  • bit size
  • channels used (1 = mono, 2 = stereo)
  • compression (if any)
  • bytes used
  • loop start and end (like any other conventional sampler), which you can change

This window also featured the ability to play your sample and the ability to check your loop or sample by holding the Ctrl button down before you hit Play to make sure you've looped it as you intended.

Now that you have studied this window let's do a recap. If you have been reading the tutorial from the beginning you now know that when you apply the MP3 compression to your sample in the Beatnik Editor Pro the original Fraunhofer codec is used and it will trash or add 50 ms (milliseconds) of the beginning and end of your loop, right? That's why you added that extra 50 ms to the beginning and end of all of your samples or loops, right? If not, you may have to do that part again. Or maybe not. Wait to see how it sounds, or do it again.

Step 3 -- Now it's time to apply that MP3 compression to your 16-bit 22.5 kHz sample loop. Highlight your sample in the Samples window, go up to the (blank) window, and choose the "Sample Compression" option. A compression window will come up. We chose to compress at 48 kbps as it reduces the file size in a big way and still sounds pretty darn good. Choose your compression rate and press OK.

Step 4 -- Let's listen to what you just did. Highlight the sample or loop that you just compressed and double-click. Here comes that Sample Settings window again. Now, play your sample. How does it sound? You should have a little of that extra 50 ms that you added on the beginning and end of your sample or loop. You must now set the beginning and end of that specific loop like setting the beginning and ending of any loop in any other conventional sampler. We have not gone back yet to fix our little snafu. So this is a hypothetical fix. The window tells us that the sample length is 54,613 samples long. So we set the beginning of the sample at 201 and the end at 54,412. We will say, for practical purposes that part of the 50 ms of undesired audio is somewhere within 200 samples of the beginning and the end of our sample or loop. Keep playing with these numbers until you get the same result when you loop your sample -- hold down the Ctrl button and hit Play -- that you got while looping your sample earlier within the audio part of your digital audio/MIDI sequencer when it was still at 16-bit 44.1 kHz, before sample-rate conversion.

Step 5 -- Now it's time to make this sample or loop an Instrument within the Beatnik Editor's Bank 3; User Instruments. Go up to the Windows menu and choose Instruments or hit Ctrl 5 on your keyboard. Go ahead and give a name to all the different instruments in the same manner that you map out earlier in the tutorial. You must now tie this all together. After you give all your instruments a name, double-click on the instrument that was the first sample or loop that we just had you work on. Its keymap window will come up. It will not look like this just yet, though within the keymap window, click the Add button under Sample used by zone and a Select Samples window comes up. Find the sample or loop that you were working on, highlight it, and press OK. Now go back to the keymap window and make sure that your sample or loop has come as this screenshot shows. Press the Link button and make sure that the Instrument root key and Sample root key are set to C1. Lastly set the Sample volume to 194% or 197%, do not set it to 200%. Why? I dunno, just don't> Now hit "OK".

Step 6 -- Repeat steps one through five for every individual Instrument you made. Again, these are audio samples or loops you have made and put into the Beatnik Editor Pro as an "instrument" that you are eventually going to "play" with your MIDI file, which in turn will be controlled by JavaScript commands within an HTML document.

Step 7 -- Get on back to the Bank 3; User Instruments screen. Highlight the first instrument and press control I -- as in indigo -- or go up to the Instruments window and choose Instruments settings and the settings window will come up. Now you can choose the stereo placement in which all of your separate audio samples or loops are going to be heard. Left, right, middle, you get it...also note the other options present on this screen. We choose all checked in the screenshot for every instrument. It's pretty self-explanitory, and you can experiment with different things if you think it will help...or just ask us!

Step 8 -- Under User Songs in the Songs window, highlight the MIDI file that you made and export as .rmf file by choosing that option under the File menu. Be sure to include each of the samples that you want to use and not the ones that have not made it through the process. If you have one come up in the Export window that you do not want heard on the remix, go back and delete it, it will only take up valuable file space!

Congrats you have an .rmf file! Now let's write the .html document that is going to control it.

COFFEEBREAK
Oh wait, I almost forgot to tell you how to pull off that stereo sample or loop that you went through the trouble to make. Follow the same steps for a mono instrument, take the left program and give it one channel, and taking the right program and give it another channel. Then follow Step #6 again and pan one instrument hard left and the other hard right. Make sure you exported two mono files for your stereo audio before you imported into the Editor. Using a stereo sample twice would obviously be a burden on file size.

<< Programming a General MIDI File to Trigger Loops | Beatnik Interactive Remix Tutorial Home >> | Programmming the HTML So It All Works >>
  toolbox

- Download Beatnik Player for | Macintosh | Windows 95/NT
- Download Beatnik Editor for | Macintosh
- Download Beatnik Converter for | Windows 95/98/NT

sound editor links for Macs
Barbrabatch
Soundhack
Amadeus II
Cubasis Demo

sound editor links for PCs
Media Wizard
Audio Magic Ring 1.1
Cool Edit
Sonic Foundry
Gold Wave
Quack
Cool Edit Pro

resource links
Flashnik - audio for Flash using Beatnik
Music Object javaScript tutorials by Ovalwindow

Angry Coffee Beatnik examples
Example - MIDI File/Song Examples
Example - sonified nav bar
Example - Angry Coffee Interactive Drum 'n Bass Machine
Example - Angry Coffee sonified logo
Example - Angry Coffee Interactive Remix



© 1999-2000 Greenrocket Interactive