Author |
Message |
Grumble

Joined: Nov 23, 2015 Posts: 1310 Location: Netherlands
Audio files: 30
|
Posted: Tue Sep 20, 2016 12:13 pm Post subject:
|
 |
|
Giving each Arduino a different name is totally possible as long as they have a 16u2 on board (that goes for the UNO and MEGA Arduino's). I have tried it this afternoon and it'll work!
And why I stay with the 80's baudrate is because I have old keyboards and electronics I use that is still 31.25 kbaud. |
|
Back to top
|
|
 |
MusicMan11712
Joined: Aug 08, 2009 Posts: 1082 Location: Out scouting . . .
|
Posted: Tue Sep 20, 2016 2:35 pm Post subject:
|
 |
|
Grumble wrote: | Giving each Arduino a different name is totally possible as long as they have a 16u2 on board (that goes for the UNO and MEGA Arduino's). I have tried it this afternoon and it'll work! |
Thanks for the reply. Mine is the original Mega--pre-revisions, so it only has the 8U2. Maybe someday I will update to an R3 (or whatever comes after that). |
|
Back to top
|
|
 |
Grumble

Joined: Nov 23, 2015 Posts: 1310 Location: Netherlands
Audio files: 30
|
|
Back to top
|
|
 |
Grumble

Joined: Nov 23, 2015 Posts: 1310 Location: Netherlands
Audio files: 30
|
Posted: Tue Sep 20, 2016 11:57 pm Post subject:
|
 |
|
Just realised: the website where you can "pimp your hiduino" is also based upon the code from Dimitri Diakopoulos, so my guess is that it also works with the 8u2, maybe you can try this?
If it fails, you can still revert to the standard MEGA by flashing usbserial_mega_8u2.hex in the 8u2 residing on your MEGA (also found on the github from DDiakopoulos. |
|
Back to top
|
|
 |
Grumble

Joined: Nov 23, 2015 Posts: 1310 Location: Netherlands
Audio files: 30
|
|
Back to top
|
|
 |
MusicMan11712
Joined: Aug 08, 2009 Posts: 1082 Location: Out scouting . . .
|
Posted: Wed Sep 21, 2016 9:05 am Post subject:
|
 |
|
Grumble wrote: | Even the 8u2 can be programmed acting as a midi device, though at 31.25kbaud. (I don't know how your arduino/atmega skills are, but this is to program the ATMEGA8U2 and NOT the ATMEGA2560 and/or the ATMEGA328)
Only downside is that You can only use one Mega at a time, because they all have the same name (HIDUINO). |
Thanks for the clarifications. I have never programmed the chips themselves, just the full development board using the Arduino IDE. I have read up on the structure of the AVR chip and a little bit of programming the chip--mainly in connection with trying to understand the possible uses of the interrupts.
I have programmed simple midi output using the hairless midi/usb serial bridge. Also, I have played with simple midi I/O with the mega2560 to and from 5-pin din midi gear by connecting the arduino to a joystick port midi interface--very simple TX and RX to the RX and TX pins of the joystick connector and the current loop (I forget the pins).
I have never used more than one Arduino connected to the same PC, but since you mention it--I will have to dig mine out!!
PS: It was with the original Mega2560 and the hairless usb/serial midi bridge that I was successful with 115200 kbaud midi (as long as I didn't echo the data to the IDE console IIRC). |
|
Back to top
|
|
 |
Cfish

Joined: Feb 24, 2016 Posts: 477 Location: Indiana
|
Posted: Wed Sep 21, 2016 6:03 pm Post subject:
|
 |
|
At the risk of sounding like an idiot. What would be the purpos of having the microprocessor decide the next cord in the music?
I'm in to pretty traditional folk type music. So I'm sure I'm just not grasping the Purpos. However I am very curious, and would love to understand the utility behind the idea.
Another very ambitious project grumble. Looking forward to see where it goes. |
|
Back to top
|
|
 |
Grumble

Joined: Nov 23, 2015 Posts: 1310 Location: Netherlands
Audio files: 30
|
Posted: Wed Sep 21, 2016 10:05 pm Post subject:
|
 |
|
Well to keep me busy is the most importand reason to do this
But from a musical point of view the reason I started this is: Say you have a sequencer slowly playing a sequence of four notes (or eight, or.....) and than have a module transforming each note into a sequence of triades that sounds oke or even good and slowly changes in time without user interference.
Like an arpeggiator fed with notes from a sequencer or keyboard that produces a number of triades that fit the given notes...
How cool is that? |
|
Back to top
|
|
 |
Cfish

Joined: Feb 24, 2016 Posts: 477 Location: Indiana
|
Posted: Fri Sep 23, 2016 5:28 am Post subject:
|
 |
|
Pretty darn cool.
You have great ideas grumble |
|
Back to top
|
|
 |
Grumble

Joined: Nov 23, 2015 Posts: 1310 Location: Netherlands
Audio files: 30
|
Posted: Sun Nov 13, 2016 1:47 am Post subject:
|
 |
|
to show that I'm still working on this idea...
One music generator (YM2149) wired, time to start coding to see if I can get it to work.
After that: three more generators to wire...
Description: |
|
Filesize: |
1.63 MB |
Viewed: |
581 Time(s) |
This image has been reduced to fit the page. Click on it to enlarge. |

|
Description: |
|
Filesize: |
1.74 MB |
Viewed: |
583 Time(s) |
This image has been reduced to fit the page. Click on it to enlarge. |

|
|
|
Back to top
|
|
 |
Cfish

Joined: Feb 24, 2016 Posts: 477 Location: Indiana
|
Posted: Sun Nov 13, 2016 8:55 am Post subject:
|
 |
|
You do really neat work grumble! |
|
Back to top
|
|
 |
Grumble

Joined: Nov 23, 2015 Posts: 1310 Location: Netherlands
Audio files: 30
|
|
Back to top
|
|
 |
Grumble

Joined: Nov 23, 2015 Posts: 1310 Location: Netherlands
Audio files: 30
|
Posted: Fri Dec 30, 2016 8:39 am Post subject:
|
 |
|
I quit with the approach to this project.
The three psg's are working, but there is only one envelope per chip (= three voices) so it is not going to work.
But I don't give up, so I've ordered some new chips being some YMF262, which is an FM Operator chip and see what I can do with this type of psg. |
|
Back to top
|
|
 |
|