tag:blogger.com,1999:blog-23217409.post5326144303366382288..comments2024-03-15T15:10:58.249+10:30Comments on little-scale: Arduino MIDI out exampleSebastian Tomczakhttp://www.blogger.com/profile/12712567577323498804noreply@blogger.comBlogger31125tag:blogger.com,1999:blog-23217409.post-88047268872994667412011-01-23T09:35:13.664+10:302011-01-23T09:35:13.664+10:30Hi!
I really like your project. I want to build an...Hi!<br />I really like your project. I want to build and would like to use with tractor dj. But I do not know if this works the tractor dj crossfader with potmeter. How do I connect the arduinohoz and send a signal with the crossfader.<br />Thank you.TobyaszAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-755639629778544832010-07-25T01:34:55.630+09:302010-07-25T01:34:55.630+09:30Hi
This is a great project! I would love to use up...Hi<br />This is a great project! I would love to use up to 8 multiplexers. Please could you advise me how to change the code to support this. I'm still beginning...<br /><br />Thanks!!Alexhttp://alkexnoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-81753481370225406812010-02-04T17:19:21.383+10:302010-02-04T17:19:21.383+10:30Good article, thanks. Many people have written pet...Good article, thanks. Many people have written petition for Puma / Nike shoes act. There are many people over the world protested. <a href="http://www.chaussurestnfr.com" rel="nofollow">Chaussures Sport</a>,<a href="http://www.tennisracketsshop.com" rel="nofollow">tennis rackets</a>,<a href="http://www.crazypurchase.com/cheap-cosplay-and-costumes-wholesale-893_894" rel="nofollow">cosplay costumes</a>,<a href="http://www.edhardy-au.com/" rel="nofollow">ed hardy clothing</a>,<a href="http://www.clothingol.com/" rel="nofollow">Cheap Polo Shirts</a>,<br /><a href="http://mensclothingstore.us/" rel="nofollow">The North Face Jackets</a>,<br /><a href="http://www.cheapbootsshop.com/" rel="nofollow">cheap ugg boots</a><br /><a href="http://www.tnrequin.eu/" rel="nofollow">tn requin</a>,<br /><a href="http://www.edhardy-au.com/" rel="nofollow">ed hardy online store</a>,<br /><a href="http://www.chaussurestnfr.com" rel="nofollow">Nike Chaussures Hommes</a><br /><a href="http://www.cheapbootsshop.com/" rel="nofollow">discount Ugg boots</a>,<br /><a href="http://www.tnrequin.eu/" rel="nofollow">Chaussures Requin tn</a>Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-7100735987416664582010-01-12T06:22:33.377+10:302010-01-12T06:22:33.377+10:30In response to the arduino midi over usb issue.. I...In response to the arduino midi over usb issue.. I also wanted my arduino midi projects to work without a custom listener, so for a few of them, I embeded the guts of a cheap ($6) usb-midi interface cable right into the project.. I wrote it up in detail <a href="http://shiftmore.blogspot.com/2010/01/quick-and-dirty-arduino-midi-over-usb.html" rel="nofollow">here</a>. Also have an example of a midi controller that uses it <a href="http://shiftmore.blogspot.com/2009/12/calculator-midi-usb-controller.html" rel="nofollow">here</a>. <br /><br />Its a hack, but it works really well for what I need it to do. Hope that helps.<br /><br />btw, Sebastion.. This is an awesome blog. Lots of great ideas.Nathaniel Shiftmorehttps://www.blogger.com/profile/04481292350575189257noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-35504145835332275282009-09-08T01:58:01.198+09:302009-09-08T01:58:01.198+09:30Great thing! Do you think it's possible to do ...Great thing! Do you think it's possible to do the same with 4 or 6 multiplexers? And what would be the changes in the code?Tobiasnoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-57594184882105999542009-08-01T03:01:33.510+09:302009-08-01T03:01:33.510+09:30Great post, in fact great blog all around. I'm...Great post, in fact great blog all around. I'm subscribing (can't wait to see what you do with the Genesis next!) <br /><br />I am trying to do something similar but the pots I'm using are 25ohm. In order to adapt your circuit to 25ohm pots is it sufficient to add a 25ohm resistor going to the ground between the analog input on the arduino and the mux's output? Or do I need to add a 25ohm resistor going to ground to the wiper on each pot (so the wire to the Mux's input and the resistor to ground are both connected to the wiper?)<br /><br />I started out with a simple voltage divider with 4 25ohm pots/4 25ohm resistors but my plan grew. Now I wish I had started over from scratch with 10k pots instead of using the hardware I had laying around!TFrnoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-61873271849691978632009-03-31T01:37:00.000+10:302009-03-31T01:37:00.000+10:30hiThanks for that program and circuit. Very useful...hi<BR/><BR/>Thanks for that program and circuit. Very useful and efficient.<BR/><BR/>Well, I'm trying to get this working under 9v external powwer but it appears the arduino doesn't want to work without a connection to usb. I tried to learn more by doing many tets and it appears that the arduino needs to be plugged during a few seconds to the computer and after that it works on its own with an external power. I tried with other programs for midi code loaded into it and that doesn't need to be initialized by usb plug to work in a standalone way. It's the first time I see the arduino needing a usb initianilisation to work afer it has a program loaded. Is there any mistery?<BR/><BR/>Thanks<BR/><BR/>regards<BR/><BR/>Lucluchttp://luc.kerleo.free.fr/noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-39437187400082238392009-03-15T02:34:00.000+10:302009-03-15T02:34:00.000+10:30I am designing and manufacturing a device for a un...I am designing and manufacturing a device for a university project <BR/>that will allow a band member, in this case the singer, to alter the volume of the overall monitor mix they hear. They can only increase or decrease the final mix. The Front Of House engineer should have overall control of what they are doing so some kind of automation can be set up at the main desk so the engineer knows what the output levels are at. <BR/><BR/>I have since been advised to find out more on MIDI Shields.<BR/><BR/>I realise this may seem like a totally random post but any input<BR/>would be greatly appreciated.Haddarellihttps://www.blogger.com/profile/16229883954008932855noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-5525755810109601132008-11-26T05:59:00.000+10:302008-11-26T05:59:00.000+10:30Is there any good reason why i shouldnt be reading...Is there any good reason why i shouldnt be reading switches with multiplexors ? it seems to work fine. Also i couldnt get this sketch to work, the example you have with only one multiplexor and eight pos worked fine but for some reason this one in addition to sending the read values spewed out loads of cc_messages as though something was unearthed and not connected to 5v either, and proceded to do this even when i plugged analog inputs 0 and 1 directly into earth. i worked around it by adapting the other code (probably in a stupid and unelegant way) to read a second mux after looping through the 8 inpus on the first.Unknownhttps://www.blogger.com/profile/12696182091028764597noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-40667605556785059472008-02-10T06:27:00.000+10:302008-02-10T06:27:00.000+10:30Hi Sebastian thanks for your help. Hey i was wonde...Hi Sebastian thanks for your help. Hey i was wondering if you could shed some light on the monome schematic here i see that they are using a 74hc165 parallel to serial chip but was wondering how they are using the 74hc164 in this situation. they bot go to the keyboard led matrix board with the max 7219 controlling the leds. just if you have a sec. don't want to keep bugging you hehe. perhaps it's the canadian in me. have a great weekend <BR/>http://monome.org/here/monome40h_thrulogic_schem.pngAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-59460617256938361032008-02-07T14:12:00.000+10:302008-02-07T14:12:00.000+10:30well, i was thinking perhaps an 8 x 8 using a 595,...well, i was thinking perhaps an 8 x 8 using a 595, some diods and a 4021. <BR/><BR/>then, the 595 has 8 outputs and the 4021 has 8 inputs. you just hold one of the outputs of the 595 high whilst measuring the state of the eight inputs on the 4021, then repeat for all 8 outputs on the 595. connected from the outputs to the inputs are 64 buttons or whaetver. <BR/><BR/>dunno if this would work though.Sebastian Tomczakhttps://www.blogger.com/profile/12712567577323498804noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-76655487996228231242008-02-07T14:08:00.000+10:302008-02-07T14:08:00.000+10:30what about 8x8 matrix using 2 4021's? or am i nuts...what about 8x8 matrix using 2 4021's? or am i nuts.Johnhttps://www.blogger.com/profile/13675940464860056220noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-22648046493921703212008-02-07T13:33:00.000+10:302008-02-07T13:33:00.000+10:30ok cool. think i might have a few of those around ...ok cool. think i might have a few of those around even. i'm still thinking about a monome like arduino though hehe. but that's a different story. thanks for your time and cheers from Vancouver CanadaJohnhttps://www.blogger.com/profile/13675940464860056220noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-1376492594295842252008-02-07T13:25:00.000+10:302008-02-07T13:25:00.000+10:30Well, if you are looking for more digital inputs, ...Well, if you are looking for more digital inputs, perhaps using a 4021 shift register will help you. <BR/><BR/>That way you can have 8 bits of data (ie. 8 switches) using just three lines on the Arduino. <BR/><BR/>cheerioSebastian Tomczakhttps://www.blogger.com/profile/12712567577323498804noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-16257287223464511092008-02-07T12:34:00.000+10:302008-02-07T12:34:00.000+10:30i got it to send midi with some switches with the ...i got it to send midi with some switches with the remaining digital in's but now im wondering if i could add more as my inputs are filled up. sorry in advance if you have posted something like this before. <BR/>Thanks for all your help and awesome arduino experiments.Johnhttps://www.blogger.com/profile/13675940464860056220noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-19363183006373681402008-02-06T10:49:00.000+10:302008-02-06T10:49:00.000+10:30think i may have posted this already. ya i wanted ...think i may have posted this already. ya i wanted to have 8 or 16 pushbuttons for now to send midi note info-thanks for your help.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-53750036183970261922008-02-06T10:47:00.000+10:302008-02-06T10:47:00.000+10:30thanks for the reply. was hoping with just 8 or 16...thanks for the reply. was hoping with just 8 or 16 pushbuttons for now. love what you've done so far though it rocks.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-61310607053241962282008-02-05T12:42:00.000+10:302008-02-05T12:42:00.000+10:30hi there, glad you have got it working. yes there ...hi there, glad you have got it working. <BR/><BR/>yes there is. how were you wanting to trigger the MIDI notes? ie. buttons, sensors, pure code?Sebastian Tomczakhttps://www.blogger.com/profile/12712567577323498804noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-57553185272269289672008-02-05T12:29:00.000+10:302008-02-05T12:29:00.000+10:30very cool got this working with absynth it's great...very cool got this working with absynth it's great. is there a way of also having midi notes triggered with arduino at the same time? like an octave or two?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-81309099075794480702007-11-08T16:24:00.000+10:302007-11-08T16:24:00.000+10:30Okay, here it is:http://little-scale.blogspot.com/...Okay, here it is:<BR/>http://little-scale.blogspot.com/2007/11/pots-and-switches-to-midi-data.html<BR/><BR/>Let me know how you go. I know the code is not very optimised yet, but it is something i whipped up just now. <BR/><BR/>regards,<BR/><BR/>sebastian tomczalSebastian Tomczakhttps://www.blogger.com/profile/12712567577323498804noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-21125993038805682822007-11-07T23:01:00.000+10:302007-11-07T23:01:00.000+10:30that's great. thanx seb...that's great. thanx seb...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-21624851832477145982007-11-07T22:37:00.000+10:302007-11-07T22:37:00.000+10:30okay, cool. i only have 4021s lying around here at...okay, cool. i only have 4021s lying around here at the moment, so any example i make will use a 4051 to multiplex the pots and a 4021 to shift in the digital states. give me a day or two...Sebastian Tomczakhttps://www.blogger.com/profile/12712567577323498804noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-2608947578628064432007-11-07T22:27:00.000+10:302007-11-07T22:27:00.000+10:30oh that would be great..I'm usimg analog multiplex...oh that would be great..I'm usimg analog multiplexers but I don't use them for switches. Only for pots.<BR/>Then i can use digital shift registers for the switches..Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-23217409.post-41022317773340559552007-11-07T22:05:00.000+10:302007-11-07T22:05:00.000+10:30I don't think what you want to do is exactly possi...I don't think what you want to do is exactly possible. <BR/><BR/>The closest would be to use a MIDI interface and then just go MIDI output from the Arduino to the MIDI input on the interface.<BR/><BR/>It is absolutely possible to generate CC data using digital as well as analog inputs. No worries. <BR/><BR/>I will have a look at it if you like.Sebastian Tomczakhttps://www.blogger.com/profile/12712567577323498804noreply@blogger.comtag:blogger.com,1999:blog-23217409.post-57874471678919716782007-11-07T21:31:00.000+10:302007-11-07T21:31:00.000+10:30hi,I'm aware of the Max / Processing solution. How...hi,<BR/><BR/>I'm aware of the Max / Processing solution. <BR/><BR/>However, I would prefer to use arduino as standalone for MIDI out over USB. That is, no need for a Max patch inbetween the Arduino and the Host application (say Logic).<BR/><BR/>I'm thinking of building a midi controller with pots and switche (as digital inputs). I don't really need to extract pitch data but only MIDI cc. <BR/>Do you believe it's possible to use both analog (pots) and digital (switches) inputs as MIDI cc? <BR/><BR/>I've tried to modify your code in order to add digital inputs but with no luck. I'm kinda new to Arduino language ( and C) so I hope it is possible to be done.<BR/><BR/>cheersAnonymousnoreply@blogger.com