Show Posts
Pages: [1] 2 3 4
1  International / Français / Re: C'est réalisable ou pas ? bobines, douilles, boutons poussoir. on: April 24, 2014, 06:34:03 am
Tout est possible, après faut faire des choix.
Si tu as un arduino Mega, pas besoin de t'embêter avec des multiplexeurs ou des shift registers, tu peux mettre tes matrices de LED et de boutons directement sur les PIN numériques. Il t'en faut 16 pour chaque, il y a ce qu'il faut sur le MEGA.
Pour l'écran LCD, c'est encore plus simple, tu le branches sur le port SPI.
Pour les mesures de résistances, je dirais à priori comme ça qu'il faut utiliser les entrées analogiques, mais faut voir ce que tu veux mesurer (plage de résistance, par exemple).
2  International / Français / Re: Hackathon on: April 16, 2014, 02:45:04 am
Bonne nouvelle ! Sparkfun nous sponsorise et nous envoie plein de matos.
Le but sera de hacker de l'électroménager avec des arduinos et des capteurs pour les transformer en objets connectés. Il reste encore des places, n'hésitez pas à vous inscrire si vous êtes dans l'est !
3  International / Français / Hackathon on: March 13, 2014, 10:44:19 am
Bonjour tout le monde,

Juste une petite info : le fablab de Metz organise un Hackathon hardware à base d'arduino Yun fin mai :

Si vous y participez, vous repartirez avec plein de matos, et 1000 euros pour les gagnants. Faut quand même être motivé, c'est 30 heures d'affilée, par équipes de 4, et il faut gérer le design, le code web (ou Android), le code arduino et l'électronique !

Peut-être à bientôt !
4  Using Arduino / Audio / Re: Use Arduino, with touchscreen, as controller for a headphone amplifier on: November 25, 2013, 04:40:51 am
Can you post the headphone amplifier schematics (at least inputs/outputs) ?
About touchscreen, you can buy one dedicated, or add a 2$ NDS touchscreen in front of an LCD. Then you can plug touchscreen in 4 analog PINs, and LCD on SPI.
The only relatively difficult thing will be to add a VU meter. Do you want to add something like this :
or just display it on the screen ?
Any way, you will have to put the audio into the arduino input, then analyse the sound volume (if only volume display), or apply some BP filters (if multi-bandwith display).
About the light and the temperature, you just have to add some sensors on analog input, and then control your headphone amplifier (can't tell you how without schematics).
5  Using Arduino / Audio / Re: Arduino mega USB MIDI with loopMidi and S2Midi on: October 07, 2013, 09:00:50 am

Why do you define your MIDI message like this ?
   struct {
 uint8_t command;
 uint8_t channel;
 uint8_t data2;

You can see here that a MIDI Message has a Status, and 1 or 2 data values :

So you should define it like this :

   struct {
 uint8_t status;
 uint8_t data1;
 uint8_t data2;

The channel is inside "status" value.
For example, if you want to send a NoteOn message on channel 1, you send :
status = 0b10010001
data1 = pitch
data2 = velocity

a noteOff :
status = 0b10000001
data1 = pitch
data2 = velocity

But the best should be to use the MIDI.h library, you wouldn't loose your time.
6  Using Arduino / Audio / Re: Groovebox library for Arduino Due on: August 23, 2013, 05:05:10 pm
Hello again Michaeluna.
I just published a new post on my blog here :

It's a very simple example making a monosynth with 4 potentiometers.
I hope it will be a good example to start with the groovuino lib.
7  Using Arduino / Audio / Re: Groovebox library for Arduino Due on: August 23, 2013, 04:41:26 am
Thanks for your interest.
Sorry, the library changed a lot since I had written this example, so it didn't work anymore.
I just made some changes, and now it will work. You'll have to load again the library from guithub, and copy the new code I updated in my post.
But be aware, this example requires the groovuino hardware. (buttons, LEDs, pots...)
The samplers examples are more easy to make it work, it only needs an SD card reader.

If all this examples seem too much complex to you, you can give me an idea of a simple example synth to build (1 pot for pitch, 1 pot for filter, for example), and I will post that. It will surely help other people.
8  Using Arduino / Audio / Re: How to program a VCA for an Arduino DUE DDS project? on: August 21, 2013, 04:05:50 am
my projects were based on that blog too. To make the volume control, I just multiply as you say, and there is no problems.

I don't understand why you use float values : if your class returns a 32 bit integer value and all your data is in 32 bits, you don't need this. And most of all, you multiply a float with an audio data which is maybe an integer. It won't work, and it will use resources for nothing.

Just do :
return((audio*cv) >> 8 ) ;

(with every data uint32_t).
9  Using Arduino / Audio / Re: Drum Sequencer/Sampler - 12-bit 8 Channels - One Arduino? on: July 15, 2013, 02:59:41 am

You can read this post :
Now I can read more than 6 wave samples at a time, thanks to some SdFat Lib functionality. I didn't try yet, but maybe you can read up to 8 samples.
For now, I just tried with one-shot samples, but theoretically it shouldn't be different if you play loops. I will add the loop management one day, but if you want to try this, I will definitely help you.
10  Using Arduino / Audio / Re: Is Arduino good for this application? (midi, audio, small scree) on: July 12, 2013, 08:53:23 am
With Due, you don't need shield.
Look at my blog here :
In the end of video, you can see a pad which trigger the drums with velocity.
Audio is 44 kHz/12 bits, and samples are stored on an SD card.
You can make sampling, MIDI, synthesis, sequencing...
11  Using Arduino / Audio / Re: MIDI Shield and Akai MPK49 on: June 11, 2013, 05:17:32 am
Ok, crossposts  smiley
I didn't speak about the video but the screenshots of external midi. You must considere your keyboard as an external midi controller. There is a Midi input coreeponding to the keyboard, and wgich is like every midi interface. You have to find the equivalence of audio monitoring, but for the midi.
12  Using Arduino / Audio / Re: MIDI Shield and Akai MPK49 on: June 11, 2013, 05:12:11 am
Sorry, the "M" is the mute button. So you can try to use the record button, sometimes it plays the input to the output. If not, you have to find the monitoring mode.
13  Using Arduino / Audio / Re: MIDI Shield and Akai MPK49 on: June 11, 2013, 04:52:26 am
In every DAW, a MIDI track can receive data from an input (you can imagine that most of people don't write the music with a mouse, but play it with a keyboard !!)
I could see in the link below that, in a MIDI track you could choose between 3 buttons "R", "M", and "S". "R" must be record button (it records your Input), "M" must be monitor (that's what I told you to use : the MIDI data coming from input is played on output), and "S" is Solo.

So you can create a MIDI track, plug your keyboard, select it as the MIDI input, select its output as the track MIDI output, and click on "M".
Your MIDI out is plugged on MIDI IN of your Shield.

I really don't understand what is your problem with the shield. The RX pin on arduino is the Serial receive connector. If you have a MIDI shield, you just have to plug it on the top of the arduino. RX pin of the shield = Rx pin of arduino, D1 pin of the shield = D1 pin of arduino, etc...
14  Using Arduino / Audio / Re: MIDI: How to intentionally delay notes? on: June 11, 2013, 03:40:35 am
I wouldn't use delay() functions, because it will stop your listener loop, and it can be bad.
You can do, for example, when detecting the MIDI note :
long start = millis();
And in your main loop :
if(millis()>=start+DELAYTIME) { your code here }

15  Using Arduino / Audio / Re: Looping Machine on: June 10, 2013, 09:38:35 am
I can confirm that (for my opinion), it seems impossible to realize that project with a Uno. In general, Arduino is not specialized in audio handling, DSP are better.
If you want to make a cheap looper and you already have a laptop, you can do it.
I already did this with a MIDI pedal (that, you can build with an arduino Uno) plugged on a computer, and make an intelligent configuration in Abbleton Live, or if you're motivated with MaxforLive. It's really better than a looper, because you have a good MIDI synchronisation, you can add effects on each part independently, etc...
Pages: [1] 2 3 4