NADA, lux, 20031118, 22h
& -!»-«
sier at alunos.fcsh.unl.pt
Mon Nov 17 19:36:41 CET 2003
#include <contacts.h>
#include <events.h>
#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif
#define pi2 2 * M_PI
typedef struct __LANÇAMENTO_DA_REVISTA_NADA
{
t_object evnt;
double presentiet;
long time;
long time;
float nosee;
float center[2];
float raio;
char *names;
}NADA_REVUE_LAUNCH;
/*
LANÇAMENTO DA REVISTA NADA
//\\//
// \\ //
NADA REVUE LAUNCH
20031118_22h_lux_lisboa
*/
void *nada_new (Symbol *msg, short argc, Atom *argv);
void nada_bang (NADA_REVUE_LAUNCH *x);
void nada_bing (NADA_REVUE_LAUNCH *x);
void nada_echo (NADA_REVUE_LAUNCH *x, float echo);
void *nada_class;
void *nada_new (Symbol *msg, short argc, Atom *argv)
{
nada *x;
float temp;
x = (NADA_REVUE_LAUNCH *)newobject(nada_class)
//init
if (!argc) {
x->center[1] = x->center[0];
x->presentiet = TRUE;
temp = x->time = gettime();
// c.\lv__copy
x->name.a_w.w_sym = gensym ("c.\lv___copy (2000)");
x->name.a_w.w_sym = gensym ("André Sier");
x->name.a_w.w_sym = gensym ("código interactivo para rato\,");
x->name.a_w.w_sym = gensym ("ressonâncias caóticas para dois ecrãs");
x->name.a_w.w_sym = gensym ("1 canal de vídeo");
x->name.a_w.w_sym = gensym ("duração: indeterminda");
x->name.a_w.w_sym = gensym ("http://sier.risco.pt/code/c.lv.sit");
x->time = gettime();
temp = x->time - temp;
post("_good_evening_ the piece has lasted %08xd", temp, 0);
// TO A WORLD FREE FROM COUNTRIES
x->name.a_w.w_sym = gensym ("TO A WORLD FREE FROM COUNTRIES (2003)");
x->name.a_w.w_sym = gensym ("Obra áudio-visual de");
x->name.a_w.w_sym = gensym ("Pedro M. Rocha (música) e André Sier (imagem)");
x->name.a_w.w_sym = gensym ("estreia no Festival Música Viva 20030918");
x->name.a_w.w_sym = gensym ("Festival Hertzoscópio 20031109");
x->name.a_w.w_sym = gensym ("1 canal vídeo + 8 canais áudio");
x->name.a_w.w_sym = gensym ("duração: 11'08''");
x->name.a_w.w_sym = gensym ("+ detalhes na NADA volume 1");
x->time = gettime();
temp = x->time - temp;
post("_good_evening_ the piece has lasted %08xd", temp, 0);
}
}
void nada_bang (NADA_REVUE_LAUNCH *x)
{
bing(x);
}
void nada_bing (NADA_REVUE_LAUNCH *x)
{
bang(x);
}
void nada_echo (NADA_REVUE_LAUNCH *x, float echo)
{
short i;
float xx, xy, value;
for (i=0; i<(short)float*10.; i++)
nada_bang(x);
value = pi2-echo*(pi2); // dividing by 1.
xx = sin (value) * x->raio + x->center[0]; //center coords from ram jitter
xy = cos (value) * x->raio + x->center[1]; //this is the same as that
self.MoveTo(xx,yy);
}
More information about the Syndicate
mailing list