On 11/9/06, Cesare Marilungo cesare@poeticstudios.com wrote:
I'm not an expert in electronics. But I believe that this should need a microcontroller.
You send the notes you want to play via serial port to the microcontroller, which sends a pwm signal that can be flattened with a simple rc circuit (a condenser and a resistor).
I've done this some years ago to control my Korg MS20. I've used an IC (Max232, IIRC) and the PIC 16f84a. It costed less than 5 EURO in parts.
There are plenty of ready made projects and schematics for this task (just google for it).
I have, repeatedly, and it would take me more than the time I have left in school to read everything.
I don't understand why the serial port itself couldn't send the PWM... Of course I don't understand a lot of things, but is that what you're saying? I do happen to have a Max232 lying around, but I have no idea what to do with it. I've asked about this numerous times here, and probably annoyed people. If it's going to be that complicated, I can't do it.
I really just want to know how the [comport] object works.