using the delay isn't your best option. The delay basically "pauses" your sketch, so if in that time you would press any other button, or need anything else to happen, then it won't work as you planned. You can take a look at the BlinkWithoutDelay tutorial to see a better way to achieve a "delay effect" without using the delay() function (so you can still do something else in that time, like printing to your lcd, for example). http://arduino.cc/en/Tutorial/BlinkWithoutDelay
Hi the code for the Jalka is attached there on the original post. Just click where there is the attachment sign and the file is called Jalka_1_0.ino I wrote that code, but i+m not so good, so i am sure that there are MANY things that could be improved. But you can use it as you would like (non-profit)...
Well boguz that loks good but i'm user of windows not mac and that software that you where using is it free or samething. I'm one of those who don't want to pay for eny kind of software.
if you don't want to pay for software why are you using windows? Take a look into Linux, i bet you'll be surprised!!
Well, that software is not free, but i think if you make a search in google for free looping software you will get a lot of hits. I also use another software which is FREE, and i think they also have a windows version. Sooperlooper: http://sonosaurus.com/sooperlooper/
i have also looked into this. One of the problems (no need to talk about many others) would be that with a loop station we often want many loops to play simultanously, and even be able to controll each of them independently. I found that this whole thing isn't so easy to do with an Arduino.
in the end, i decided to make just an Arduino midi foot controller, to be able to use looping software in my laptop keeping my hands free to play some music, which turned out working great! You can see a small example here: http://youtu.be/x1z_OL6l7G4
I think i will try that. I'm not too worried with the velocity ("or "how hard we pluck it"), but i do agree that that would be maybe hard to achieve with this kind of setup. I think a on/off kind of thing would be much easier.
At the moment, now that i start seeing things better, i think the biggest obstacle for this project will be budget. If i build a laser harp, i would like to build it with, at least, 8 string. I can see the price of the component add up very quicly to several hundred dollars... Maybe i have to start thinking about something else... :S
Are we talking about playing in private or giving a performance?
I do play in a couple different groups/bands. in one we play classical music and in the other we play a little bit like klezmer/gypsy/fun music. I can imagine that if a project like this would turn out well, i would maybe use it for our klezmer band, but i would mainly use it at home and to have some fun in our jam sessions.
So, let me ask you guys a question: What would be the safest usable (hmmm, cheap!) laser for this kind of project?
I don't know anything about lasers. i have started reading about it, but i am having trouble "deciding" anything on my own. i'm kind of afraid actually... I think a laser from Classes 1 and even maybe 2 would be ok. Class 2 goes up to 1mW. I'm not so worried with the color... Would it be better to get a laser diode and build a circuit for it, or could i actually buy some laser pointer and use those parts (i have seen some laserpointer a lot cheaper than laser diodes...)
Is this a project for a beginner like me? Or should i stick with something safer for a couple more projects? I can always try to build an EWI or something...
well, the fog machine sounds like an idea that would work. But i think it is very unpractical. Maybe it is better stop dreaming about seeing those "strings" and thinking about something that will actually work well!
What about "non-visible-string-harps", what would be a good idea? What kind of sensors would be good?
I am afraid that those light sensors will work differently for instance while playing in a park outside on a sunny day and playing inside in a dark concert room. Any ideas?
Now that my Arduino MIDI Footcontroller project is ready and working it's time for me to start thinking about the next project. Hmmm, well, actually i have already been thinking about it for quite some time.
I would like to make some kind of Laser Harp. I searched here in the forum and in the internet, and there are many pages talking about it. I have read through many of them, but as a beginner i have some concerns about this project. I would greatly appreciate any advice you can give me...
So, for what i can gather, there are two main kinds of Laser Harps: - those super cool made out of really powerful Lasers (you can see the "strings" and all); - and those made out of weaker lasers, or even photosensors (you cannot see the "strings").
The thing is, and i think most of you will agree with me, what makes the laser harp cool, are those laser beams and the way you can interact with them to play some music. That being said, i have also read in many pages that they can be very harmfull to your eyes. Hmmm, i kind of like my eyes, so i would rather if no harm would come to them!
My question is: What would be a good compromise between having some super-cool-laser-strings-awe-inspiring-harp and a safe-and-working-but-kind-of-boring harp?
I have NEVER worked with lasers and i also don't know many other alternative ways to do it. Some ideas that come to my mind (and that i have seen on other websites) 1) Super powerfull laser 2) Weaker laser (like a laser pointer) directed to a photo sensor <--- maybe the most doable? 3) photo sensors? 4) IR sensor? 5) distance sensors?
As i said before, the idea would be to built an Arduino based Laser Harp, as cool as possible, but keeping it safe (to build and to play)! And all your inputs are very welcome.
Hmmm, you didn't see the video, did you? Well, i just though having some knobs could come handy, so i decided to add some to the project and, to tell you the truth, i actually use them quite often! ...with my HANDS!!!
I finally got my latest project assembled and running.
The JALKA is an Arduino based MIDI Footcontroller and – yes, yes, I know the code isn’t the most elegant you have ever seen – I am quite happy with the way it turned out! =)
JALKA is the finish word for “Foot”, so I thought it would be an appropriate name for my Footcontroller!
At the moment (v1.0) it has: - 8 Assignable buttons (each with Click and Click+Hold messages); - 8 Assignable Pots; - 4 Modes (kind of like banks, each offering a different set of messages for the buttons, so making kind of 64 “buttons” in total); - Reset (well, it’s not a real reset. It’s a “All notes off” message for the eventual stuck note…)
At the moment the Pots don’t change with the Modes. I found it annoying to always have to pickup the value when you change to a different mode. Who knows in a future version I’ll think of something better…
Even though I am very inexperienced with this, I gave a go at drawing the schematics for the JALKA controller (it was actually fun! ):
Just in case someone is interested, here is also the “plan” for the wood enclosure:
And I’ll attach also a file with the complete sketch! I know there are LOTS of things that could be done in a better way, but i'll work on that for a future version of the sketch.
And I made a little video to show it working with Ableton Live.
The objective of this project, apart from having my own Footcontroller , was to learn and practice new technics and concepts with Arduino. I am a starter with this whole electronics/ programming thingy (this was my 2nd project), and I find it much easier to stay motivated to learn while working on a project that interests me. I hope someone else likes it and, who knows, maybe there are even other people out there interested in making their own JALKA!
I would love to know what you think about it and hear any comments or ideas for new features for a future sketch v2.0! =)
Hmmm, and while we’re at it, what is JALKA in your mother language? In mine – Portuguese - is “Pé ”!
i have tried it with Baud Rate 115200 and everything works fine. I have no idea why this is, but as i don't need to plug the foot controller to any other MIDI devices (just the computer), so i guess i will just leave it at 115200...
But i would imagine with bounce something would happen very fast, like several signals, or a crazy signal being sent really fast, almost imediately after the "original" click (maybe < 50ms?) What i am getting in Ableton is taking some time, maybe around 1.5~2 seconds. Both in the Serial Monitor and in the MIDI Monitor (after converting with the SpikenzieLabs converter) i am getting "clean" results. only one message per click...
I don't know if this makes any difference, but i am using (good quality) Arcade Buttons and 10k Pull-up resistors. I am also sending the messages on Button Release (so i can have short and long clicks).