From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: 103376,9d4129b011f14c7a X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news2.google.com!news.glorb.com!news2.glorb.com!news-xfer.nntp.sonic.net!posts.news.sonic.net!nnrp0.nntp.sonic.net!not-for-mail Newsgroups: comp.lang.ada From: R Tyler Croy Subject: Re: A very Hacky Holidays References: Reply-To: R Tyler Croy User-Agent: slrn/0.9.9p1 (Linux) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: Date: 17 Dec 2010 18:16:34 GMT Organization: Sonic.Net NNTP-Posting-Date: 17 Dec 2010 18:16:34 GMT NNTP-Posting-Host: 92035752.news.sonic.net X-Trace: DXC=^hXABWmh8o_[`YTMdRIRTSm4K\QM1CV^P1OYf0H`?;XQYo:MbC6c7;Z]C\c48cD:I[UA`=R[a1BQWXnjCDEa4<6^ X-Complaints-To: abuse@sonic.net Xref: g2news2.google.com comp.lang.ada:16984 Date: 2010-12-17T18:16:34+00:00 List-Id: On 2010-12-17, Warren wrote: > R Tyler Croy expounded in > news:slrnigl66m.b8b.tyler@kiwi.local: > >> For me Ada is relegated to being used in my free time, a >> lot of which I will be having to hack on things over the >> upcoming vacation. >> >> I wanted to ask you all what you may/may not be hacking on >> over the break, perhaps we could cheer each other on ;) >> >> A little positive reenforcement from your peers can never >> hurt :) > > I've been working on an analog synthesizer. My MIDI module > uses an ATmega168 using code written in Ada (thanks to Rolf's > AVR-Ada project). My MIDI module seems to be exhibiting key > rollover problems, which won't be hard to fix. I just need to > add a nested "Note On" counter, so that I don't prematurely > execute a physical "Note Off". > > The code is written in two tasks (actually threads under AVR- > Ada). The main task processes MIDI events and queues some > events for the 2nd task. The 2nd task takes care of waking up > at the right time (via timeouts) and performing ADSR voltage > changes (DAC # 2) and creation of trigger and gate signals > (digital outputs). Pitch is also established by sending a > value to the first DAC, using an SPI interface. > > My original code was all C-ish Arduino stuff, which I was not > very happy with. When I discovered AVR-Ada, I jumped at the > opportunity and rewrote it all in Ada. It is so much nicer to > work with and Ada actually pointed out a couple of previously > hidden bugs (in the C code). > > My latest adventures with the recently built VCA synth module, > can be found below (there is at least one picture of the MIDI > module in there somewhere): > > http://experimentalistsanonymous.com/board/index.php?topic= > 2445.0 > > ( http://tinyurl.com/2d2p9vh ) > > I don't think you need to be a member to view the forum. > > Merry Christmas and Hacky New Year! Wow, sweet project! I was wondering when an AVR-Ada user was going to pipe up with a neat project. Does Ada have a theme song you'll be able to pipe through the device? -- - R. Tyler Croy -------------------------------------- Code: http://github.com/rtyler Chatter: http://twitter.com/agentdero http://identi.ca/dero