Show Posts
Pages: [1] 2
1  Forum 2005-2010 (read only) / Français / Re: [APL] Vidéo avec Arduino, afficher sur moniteu on: August 25, 2007, 03:24:36 pm
AH !!! good good ; D ouais j ai arduino ! j ai commencer a essayer mais je suis vraiment idiot en electronique alors sa ne marche pas en ce moment hehe ..

Voici une pic webcam de mon setup en ce moment.



2  Forum 2005-2010 (read only) / Français / Re: [APL] Vidéo avec Arduino, afficher sur moniteu on: August 25, 2007, 02:09:44 pm
alors penses tu pouvoir reposter le code avec les indents de NTSC en comments smiley-grin ??

Est ce que sa serais possible avec un setup du genre a . je n ai vraiment pas bcp de trucs d electro chez moi. Je pense que je n ai meme pas de truc pour digital to analog :/ .


3  Forum 2005-2010 (read only) / Français / Re: [APL] Vidéo avec Arduino, afficher sur moniteu on: August 21, 2007, 08:04:42 am
ah !
merci bien benoit. Je ne m y connais plus ou moin en electronique et je n ai pas vraiment les outils pour confectionner le board, alors ton "On peux faire plus simple mais j'a..." a piquer ma curiositee. Est ce que tu pourrais me sortir une petite liste d epicerie des trucs necessaire pour connecter les fils RCA au board arduino. : ) Je suis sur que sa benificiera les autre membres aussi. J espere que je ne t en demande pas trop. je suis super content que d autre persone parlent francais ici !!!

mici
4  Forum 2005-2010 (read only) / Français / Re: [APL] Vidéo avec Arduino, afficher sur moniteu on: August 20, 2007, 12:59:24 pm
hey benoit ! Merci tellement pour ton tutorial. Je suis sur le point de commencer ce truc, mais je me demandais si sa marcherais sur NTSC ?
5  Forum 2005-2010 (read only) / Français / Re: Super setup 2000 dla mort avec du sang pis du on: August 27, 2007, 09:46:24 pm
hey thanks man !! wow mon ego vien dme sortir par les trous dyeux !! Si tu veut jpeu t aider a faire des elements de mon setup, mais je suis pas mal sur qu a ce jour tu soit capable de faire sa et mieu encore ! Mais merci bien smiley-kitty
6  Forum 2005-2010 (read only) / Français / Super setup 2000 dla mort avec du sang pis du feu on: August 27, 2007, 08:39:07 pm
Mon premier essay a l electronique, j ai vraiment pas un background la dedans mais pourquoi pas essayer. Jme sent mal a presenter sa a cote du post super malade de smurfx mais bon faut bien commencer a quelque part smiley-kitty; . En fait smurfx ma  bcp aider sur msn pour comprendre les resistors, alors merci man.

J ai uploader un super video super demoniaque terreur chaos etoile fou !

7  Forum 2005-2010 (read only) / Interfacing / Re: MIDI / in setup on: August 17, 2007, 04:01:15 pm
Daniel !! thanks man ! That was indead really usefull, that actually awnsered a question i did not dare to post. I get the midi output part.  So what is the logic behind MIDI recieving ? Is does it work like a knob where each keys would have a different resistance . Or is it something else. I m sure it s doable, I ve seen MIDI jacks, do you know what comes out of thoses 2 wires ? I m sure arduino can handle midi in and use pin 10/GND to play the notes using it s sampler.

I ll keep working, keep bringing in the ressources smiley-kitty !!!
8  Forum 2005-2010 (read only) / Interfacing / Re: MIDI / in setup on: August 16, 2007, 05:38:46 pm
yesss thanks !! I ve stumbled uppon this but couldn t find it back. It s close to what i want to do. my question tho, is more like how to hook up a midi jack onto arduino board. I ve been spenindg the last couple of hours looking around. and i found this: http://www.itp.nyu.edu/physcomp/images/labs/arduino_midi_schem.png and http://itp.nyu.edu/physcomp/Labs/MIDIOutput and http://www.tigoe.net/pcomp/midi.shtml . I ve been reading also on how to decript thoses schemas. But it looks pretty complex to decript, plus it says midi output. It d be nice if i could just like put black wire in pin 1 and red wire in ground heh ..

Thanks for the link smiley-kitty!!
9  Forum 2005-2010 (read only) / Interfacing / MIDI / in setup on: August 16, 2007, 04:27:41 pm
Hi ! this is my first post : ) I recently started playing music with my arduino from a script, but i would like to hook up a MIDI controller in my arduino and use it as synthetiser.
I was wonder how would I go about hooking it up using a midi plug. I can buy a midi jack i m sure, I would like to know if there s somewhere where i can find a lil tutorial on how to hook up a midi in jack to the arduino pins. I am a beginner at electronics, so address me like if i was electronichardware-retarded  ;D

Thanks much !! <3<3<3<3<3
10  Forum 2005-2010 (read only) / Workshops / Re: Anyone in Northern Vermont/NH/NNY/Quebec?? on: August 16, 2007, 04:29:03 pm
Montreal here !!! interested smiley-grin
11  Forum 2005-2010 (read only) / Exhibition / Re: Arduino Pong on: August 22, 2007, 06:00:38 pm
DAMMNNNN I don t have any more 75() and 900() !!!!!  :'(
12  Forum 2005-2010 (read only) / Exhibition / Re: Arduino Pong on: August 22, 2007, 05:04:15 pm
thanks alistair. I m gonna dedicate tonight 's .. night. at it. Will try to post my results !

 :smiley
13  Forum 2005-2010 (read only) / Exhibition / Re: Arduino Pong on: August 22, 2007, 09:06:57 am
WOAh !!! Awsome job !! I ve built it too based on your source, and will post some pics later today possibly, but I m having some sync issues, how should I edit it in order to make it work on NTSC ?

Thanks for sharing and good job !  ;D
14  Forum 2005-2010 (read only) / Exhibition / Re: Synthetiserphone finished !!! on: September 02, 2007, 11:10:16 pm
yay thanks narbotic : ) !!! no need to say you ve been my inspiration on this : ) Sorry bout the quietness smiley-kitty UPDATE YOUR BLOG !
15  Forum 2005-2010 (read only) / Exhibition / Re: Synthetiserphone finished !!! on: September 02, 2007, 05:16:35 pm
Code:
// TONES  ==========================================
//       note, period, &  frequency.

#define  R     0
#define  c     3830    // 261 Hz
#define  d     3400    // 294 Hz
#define  e     3038    // 329 Hz
#define  f     2864    // 349 Hz
#define  g     2550    // 392 Hz
#define  a     2272    // 440 Hz
#define  b     2028    // 493 Hz
#define  C     1912    // 523 Hz
#define  SN   10000    // SNARE
#define  KI   13000    // SNARE


// SETUP ============================================
int videoOut = 8;
int speakerOut = 9;
int subOut = 10;
int ledPin = 12;
int potPin = 2;    
int tempoOut = 0;    
int inPin = 7;   // choose the input pin (for a pushbutton)
int val = 0;     // variable for reading the pin status  


// Do we want debugging on serial out? 1 for yes, 0 for no
int DEBUG = 1;

void setup() {
  pinMode(speakerOut, OUTPUT);
  pinMode(subOut, OUTPUT);
  pinMode(videoOut, OUTPUT);
  pinMode(ledPin, OUTPUT);      // sets the digital pin as output
  pinMode(inPin, INPUT);    // declare pushbutton as input
  
  if (DEBUG) {
    Serial.begin(9600); // Set serial out if we want debugging
  }
}

// MELODY and TIMING  =======================================
int melody[] = { KI};
int beats[]  = { 16};
int MAX_COUNT = sizeof(melody) / 2; // Melody length, for looping.

// CONFIG             =======================================
long tempo = 60000;
int pause = 5000;
int rest_count = 0; //<-BLETCHEROUS HACK; See NOTES
int tone = 0;
int beat = 0;
long duration  = 10;

// PLAY TONE  ==============================================
void playTone() {
  long elapsed_time = 0;
  if (tone > 0) {
    while (elapsed_time < duration) {

val = digitalRead(inPin);  // read input value

      digitalWrite(speakerOut,HIGH);
      if (val == HIGH) {     digitalWrite(subOut,HIGH); } else { };
      digitalWrite(videoOut,HIGH);
      digitalWrite(ledPin, HIGH);   // sets the LED on
      delayMicroseconds(tone / 2);

      digitalWrite(speakerOut, LOW);
      if (val == HIGH) {     digitalWrite(subOut,LOW); } else { };
      digitalWrite(videoOut, LOW);
      digitalWrite(ledPin, LOW);    // sets the LED off
      delayMicroseconds(tone / 2);

      // Keep track of how long we pulsed
      elapsed_time += (tone);
    }
  }
  else { // Rest beat; loop times delay
    for (int j = 0; j < rest_count; j++) { // See NOTE on rest_count
      delayMicroseconds(duration);  
    }                                
  }                                
}

// LET THE WILD RUMPUS BEGIN =============================
void loop() {
  int potone = analogRead(potPin);    // read the value from the sensor
  // Set up a counter to pull from melody[] and beats[]
  for (int i=0; i<MAX_COUNT; i++) {


    tone = potone*10 ;
    beat = beats[i];


    playTone();
    // A pause between notes...
    delayMicroseconds(potone*1000);

    if (DEBUG) { // If debugging, report loop, tone, beat, and duration
      Serial.print(i);
      Serial.print(":");
      Serial.print(beat);
      Serial.print(" ");    
      Serial.print(tone);
      Serial.print(" ");
      Serial.println(duration);
    }
  }
}




Voila!

I m glad you liek smiley-kitty

For the schematics well .. I ll make them tonight , they re gonna be a asshole to draw, there s 7-8 output pins and a couple more : p

Pages: [1] 2