Pulsar Tutorial

Pulsar Tutorial

Bienvenue !
Welcome !

Please read the file pulsar.txt for the latest notes.
[Introduction] [Installation] [Tutorial] [Filter Addons] [Cool sutff] [Greetings] [BUGS !]

[Logo Pulsar]

The Pulse of the Art
The Art of the Pulse


Introduction

[zikmu] + [monitor] = [rocket] !

presenting Pulsar, by R'alf


Pulsar est une application BeOS qui affiche en temps réel des effets vidéo en suivant une musique.

Les effets sont programmables via des add-ons. Plusieurs types d'addons existeront mais pour l'instant seuls les filtres sont disponibles. Dans la terminologie Pulsar, un filtre est un add-on qui analyse le son entrant et produit des effets sympas.
Pour arriver à ce résultat, Pulsar est capable d'utiliser le son provenant du CD Audio aussi bien que du micro, d'un module ou d'un player de mp3. Pulsar calcule la FFT (Transformée de Fourrier Rapide) du son etrant et appelle les filtres afin qu'ils génèrent des effets graphiques qui sont ensuite affiché dans une fenêtre de prévisualisation ou sur en plein écran avec le game kit.
Une interface graphique relativement élaborée permet à l'utilisateur de paramètrer ses effets.

Un sample code fourni permet à n'importe qui de se programmer son effet favori. Pas besoin de connaissances particulières en C ou C++ pour cela ! Pour de plus amples informations, lisez le guide de programmation des addons (en anglais).

Pulsar sera présenté officiellement aux Be's Master Awards de la BeDC qui aura (a eu ?) lieu de 4 et 5 Aout 1997 à Boston.

Le reste de ce guide est en anglais. Veuillez me contacter si cela vous pose problème.


Pulsar is a BeOS application that ouputs real time video effects by monitoring the music.

The effects can be freely programed via external add-ons. Several kind of add-ons will exist but currently only filter add-ons are available. A filter, in the Pulsar's terminology, is a piece of software that filters the incoming sound input and draws neat effects on screen.
To achieve this goal, Pulsar let's you use music from the Audio CD (the best source), or from any other audio source on the BeOS (modules, mp3 players or microphones). Basically Pulsar computes FFT (Fast Fourrier Transform) on the music to get its frequency composition and then call the filter add-ons to build up nice video effects and blit them on a preview window or the game kit screen.
A sophisticated graphical interface lets the user adapts the effects to its own needs.

Some sample code helps you write your favourite effects. No need for extended knowledge in C or C++ for doing this ! For more information about how to create add-ons for Pulsar, please refer to the add-ons programming guide.

Pulsar will be presented officially at Be's Master Awards, at the Boston BeDC, 4 and 5 August 1997.

This text may contain several grammar and spelling errors. If you feel like you can help me correct these errors, please contact me.




Tutorial

You may want to go directly to one of the following sections :

1. Installation

Unpack

To install, simply unzip the archive in your preferred location.

Here is the simpliest way to do this :

If you don't want to run unzip from a command line, you can get ExpandMe from http://www.guerilla.com/ralf/liste.html. Once you have downloaded and installed ExpandMe, just click the archive name with the right mouse button and select the ExpandMe add-on from the context menu.

Directory structure

Pulsar is organized with the following folders and items :

2. Audio philosophy

This preview version of Pulsar lacks some features.

In the developement version of Pulsar, you must use the sound panel from the BeOS preferences to select the input (CD, Mic, Mic +20 dB, or Line-In) as well as the input level.

In a future release, you will be able to use the buttons in the main interface to do this. Each track will be associated with an input method, containing its own parameters.

The CD interface will let you directly access to the Audio CD device.
You can (must) select your CD-Rom Audio Device from the main window popup, in the upper right corner. When running in the preview mode or the full screen mode, you can use the following keys to control the CD player :

3. Main interface

Pulsar's interface is split among six windows :

small screenshoot of the main window

Main window

This is the more complicated window. It is split into several parts : The main area of this window is occupied by the track view.
What you see there is just an approximation of the final view. It still doesn't support multitrack, you can't affect an input method for a track nor configure it. Beside that, the keying just supports the basic "repeat" mode. But, and that's the good point, it works :-) !

The track view lists the filter that will be playing at a given time. Horizontal axis represents the time, in minutes, while the vertical axis lists the filters.
You assign a new filter to a line by dragging it from the filter list, on the left. The blue bars on the track represents when the filter is active and when it is not. The first triangle is the starting time, the second one represents the end of the active time and the third triangle in a line represents the repeat interval. You move a triangle by dragging it to your preferred location.

Ideally, the track view is a bit more complicated. It should be like this in the final release :

Filter info

This shows some info about filter add-ons.
What you won't find there is a sampled preview of the filter output nor the full static parameters editor. Future parameters will be of kind boolean, long, floats, strings and file references.
What you will find here is a hack for having some parameters, i.e. a boolean, a long and a string.

4. Configuring the tracks

The main area of main window is occupied by the track view.
What you see there is just an approximation of the final view. It still doesn't support multitrack, you can't affect an input method for a track nor configure it. Beside that, the keying just supports the basic "repeat" mode. But, and that's the good point, it works :-) !

The track view lists the filter that will be playing at a given time. Horizontal axis represents the time, in minutes, while the vertical axis lists the filters.
You assign a new filter to a line by dragging it from the filter list, on the left. The blue bars on the track represents when the filter is active and when it is not. The first triangle is the starting time, the second one represents the end of the active time and the third triangle in a line represents the repeat interval. You move a triangle by dragging it to your preferred location.

Ideally, the track view is a bit more complicated. It should be like this in the final release :

5. Working with a preview

Select a frame rate.
Select 8 or 32 bpp (8 only for preview mode currently).
Click preview to show, use keys for CD access.
Click preview again to stop/hide window.

6. Working with the full screen

Select a frame rate.
Select 8 or 32 bpp, a warning box for 32 currently. May be very slow.
Ideally : select preview or start.
Currentl only select start.

7. Known bugs and limitations

This is a preview version. Some limitations are listed above.

The todo list is quite long...

New, Load, Save : not implemented.
Stuff copy-pasted from pulsar.txt :

6-Latest modifications & bugs vs. features list
-----------------------------------------------

Latest stuff changed that's not referenced in the tutorial html document :
1- CD player stuff:
	- it's plugged in the interface
	- it always assume your CD is stoped and will play the track 1 if any
	- when you press FullScreen or Preview, the CD will play if it's not already doing so.
	- I now correctly find the SCSI CD, at least mine , thanks for cdplay.c source code
	  and for Huber Andreas for illuminating me on the right way :)
	- I didn't test with an IDE Audio CD device.
	- Backdoor : export PULSAR_CD_DEVICE to your Audio CD device if it doesn't show up in the
	interface.
	- In the interface you can switch between several Audio CD devices. This has not been tested
	but it should work !
2- Full Screen:
	- you enter by pushing the button "FullScreen",
	- 8 or 32 bpp mode is IGNORED, Frame Refresh rate is take into account,
	- I've heard that this doesn't work in Full Screen on 603-based PowerMac.
	Don't know why nor if I can rely on this information, but a friend told me it won't
	run on its UMAX bi-180 (Seb' Bouchex, Mailit author, with its Master Awards machine :)
	Too late to go and debug on his machine, sorry ! :(
	- You can exit the FullScreen mode by pressing either X, Q, Z, F or the ESCAPE keys.
	- Pressing ALT-Q won't quit Pulsar. That's a bug but I like to see it as a feature.
3- Filters:
	- I didn't have time to code the filter parameters, even the simpliest ones.
	- the good point is I do have time to insert the rotozoom, the keftale & the qtmovie :)
4- It successfully pass the MALLOC_DEBUG test !
   If you encounter any crash, please enter the debugger and type "sc", then copy paste me
   the result by email.
   You can also run Pulsar from the command line with a line like "Pulsar 1 > foobar.txt"
   then you send me foobar.txt. In fact, inserting *any* command line arguments enters
   the debug mode :)

Cool stuff

Cool about box :
[Power About Box]


Feel free to visit the R'alf home page : http://www.capway.com/moll
as well as the official Pulsar Home Page : http://www.guerilla.com/ralf/pulsar

Greetings

Greetings go to:
  • Guerrilla and Jean-Marc for designing Pulsar icons and hosting the Pulsar Home Page.
  • SpH from da clubX for providing me these cool TecKno MuZikS CD, which are essentials for testing & coding Pulsar.
  • Hubert for HTMLPreview as well as BIC and for the official FrBUG page (or this link for Net+).
  • Benoit for providing me the original FFT code,
  • Mathias for providing me an FFT code,
  • Marc, Olivier, Geb, Seb, Lolo & Xav, from the FrBUG,
  • Pierre, Erich and Adams from Be for the dev support,
  • and Chris Herborth for the cool email exchange, the zip stuff and the FrEnglish to English translation...
Aller à la partie privée.
Aller au sommaire
Adresses tous tes commentaires à R'alf.
Page optimisée pour Netpositive.
Made on a BeBox
Dual-133 [BeBox]
Go to the private part.
Go to index.
Address your comments to R'alf.
Page optimized for Netpositive.

Capway counts [Inforoute Counter] [webcounter] counts WebCounter.


Raphael Moll vous souhaite la bienvenue sur sa home page. Cette page est hébergée gratuitement par Multimania (ex-Mygale)
Vous pouvez m'envoyer un mail à l'adresse raphael.moll@capway.com ou ralf@multimania.com

Raphael Moll wellcomes you on his home page. This site is generously provided by Multimania (ex-Mygale).
You can send me an e-mail at raphael.moll@capway.com or ralf@multimania.com

Be, the Be logo and other icons are copyright or property of Be Inc.

Last update : 20/11/98