Jump to content
  • entries
    85
  • comments
    44
  • views
    71,076

About this blog

Hindsight and brain farts

Entries in this blog

Rotary Encoder => A8 joystick port input

Rotary Encoder => A8 joystick port input

Of course,  after an afternoon of experimenting with an Arduino and KY-040 Rotary Encoder Board, the question of how to use a Rotary Encoder attached to an ATARI joystick port became an intriguing ponderance.  After all,  the Atari can read a trackball and mouse containing two encoders. How hard can it be to read one?   For this first experiment KISS was an objective.  The objective was to be able to read the input and determine  if the knob was being turned in a CW direction or CCW di

k-Pack

k-Pack

microKorg - Assigning control changes

microKorg - Assigning control changes

A couple of days ago I grabbed the microKorg owner's manual to read on the throne. I happened to open to  Page 61 - Assigning control changes(CC).  It says you can assign numbers to the principal parameters. The edit menu section on the microKorg is shown with the principal parameters highlighted.   You can assign the CC# or just use the defaults that are assigned to those parameters.  These are listed in the Table on page 56.  The Control 2 values when OSC1-WAVE = DWGS are within the

k-Pack

k-Pack

MIDI Wind Chimes - Using M: and Atari BASIC

MIDI Wind Chimes - Using M: and Atari BASIC

The last time I tried to simulate wind chimes was by outputting MIDI data through an RS-232 port on the 850 Interface(Rn:).   A8 Wind Chimes - Gentle Breeze in C minor - Out of the Pack - AtariAge Forums   Now that I have the Wizztronics MIDIMAX,  I can hook up a MIDI synthisizer to it and output MIDI data using Atari BASIC and the MIDI device handler(M:).   There were only a couple of lines in the original code that needed to be changed to open a channel to the M:

k-Pack

k-Pack

A8 MMS - Rhythm Ukulele with CC64

A8 MMS - Rhythm Ukulele with CC64

These two MP3 files are the result  of experiments to program rhythm guitar and Ukulele tracks into the MIDI MUSIC SYSTEM software on the Atari 8bit.  The cords were programed into voice tracks and then called when needed.    The MMS files were recorded with a MIDIPLUS - miniEngine USB with reverb set to 81.  Sound 24, Acoustic Guitar(Nylon)  seemed to be the closest match to my ukulele.   "Drunken Sailor" used only down strums and both lead and rhythm tracks used Sound 24.

k-Pack

k-Pack

A8 MMS - Measure Counter

A8 MMS - Measure Counter

I have yet to input music into the MIDI MUSIC SYSTEM (MMS) software and have it correct the first play through.  I can hear the error as it is played but MMS gives no indication of  which measure it might be in.  One solution requires an Arduino, MIDI shield with a THRU port, and numeric display.   The plan was to program a MMS voice to out put a MIDI command once per measure on an unused channel and have the Arduino count the number of times the command was received.    I r

k-Pack

k-Pack

A8 - MMS - Five Part Canon - MP3

A8 - MMS - Five Part Canon - MP3

Found a good example for using the JUMP command in MIDI MUSIC SYSTEM. Once the notes were entered, I started trying out the patches during playback and found one that seemed to brighten an otherwise dreary day.    Of course bells and strings can make any music sound like it was meant for the coming holiday's. This is FIVE PART CANON by Michael Praetorius(1571-1621).   Five Part Canon.mp3 --------------------------------------------------------------------------------------  

k-Pack

k-Pack

Caverns of Zork - retro electronic music(ish)

Caverns of Zork - retro electronic music(ish)

Electronic music is a long standing interest that dates back to my 1970s Popular Electronic subscription.  Recently I was searching the Buffalo Library's database for the next episodes of Game of Thrones when I decided to search for electronic music.  One CD caught my eye with recordings from 9 BA(Before Atari). The list of LPs was much more extensive. That lead to the retrieval of my turn table from a friend, who was going to digitize his collection of LPs for the last 5 years.  I have bee

k-Pack

k-Pack

A8 MMS Sn - changing presets

A8 MMS Sn - changing presets

Changing presets/patches/voices/instruments/programs on your MIDI gear was rather easy in the early 80's. Having more the 128 instruments on a digital synth was unbelievable.  So unbelievable that the original MIDI standard got a special command number( 192+channel #-1 ) and a 7bit number (0  - 127) to made the change.    The MIDI Music System software provided the command Sn to accomplish this. Insert Sn  between two notes in a voice and the patch magically changes.   Then

k-Pack

k-Pack

A8 MMS programing drum tracks

A8 MMS programing drum tracks

I never really thought about it but a drummer has 2 hands and 2 feet; that's 4 percussion instruments that can be struck at the same time.  But are they really?   I'm no drummer so the best place to start programming drum patterns was using a book of drum patterns. I chose to start with 200 Drum Patterns by Rene-Pierre Bardet and a chart of the standard MIDI note number for the percussion instruments.   MIDI Music System was loaded up and a drum pattern was entered. Two or th

k-Pack

k-Pack

A8 MMS Voice File Data Explanation

A8 MMS Voice File Data Explanation

Using MIDI MUSIC SYSTEM software to build music compositions seems to fit my skill set.  I'm not proficient at reading music but I can translate it.  My latest arrangement was a Celtic folk song for flute and drums.  Music was entered into MMS and a simple drum pattern was added.  It sounded terrible. Turns out that a synthesized flute doesn't need to breath and sounds very mechanical without those breaks.   Selected notes were shortened and rests were inserted to maintain timing and g

k-Pack

k-Pack

 

Easy Atari Page Flipping - a tutorial

If you typed in your first BASIC "HELLO" program and  made some small modification then there's a chance you've been typing ever since.  I've had some time on my hands and read an old tutorial that begged to be inputted and modified.   COMPUTE! September 1983 contains the article  "Easy Atari Page Flipping" by Chris Allen.  It's  a program to demonstrate page flipping on the Atari with plenty of room for experimentation.   https://www.atarimagazines.com/compute/issue40/page_f

k-Pack

k-Pack

Digitizing 8-bit sound with the PO-33 K.O!

Digitizing 8-bit sound with the PO-33 K.O!

Teenage Engineering's PO-33 K.O! is an 8bit sampler.    I've had mine for a few months and am just now finding the free time to play with it.  The video is a first attempt at a loop using samples from the Atari 130XE.  The MP3 is the same set of patterns looped 6 times.     atari8ko33 loop01.mp3   You may recognize where some of the samples are from. You may also want to see how many you can recognize before you read on.     *************************

k-Pack

k-Pack

Atari Monotone Synth -  software for AU2PORTA

Atari Monotone Synth - software for AU2PORTA

There were several issues left unresolved while programing the MIDI IN  interface for the ATARI8 joystick ports.  The first was to revert back to using the Cassette Motor Control pin on the SIO port for data flow control.  This was accomplished with the AU2PORTA shield design.     The second consideration was the startup default joystick pin status.  The joystick pins are set to high on startup and then grounded to zero by the joystick switches.  There is some reverse logic

k-Pack

k-Pack

XBOX Controller With CX40 Cord mod

XBOX Controller With CX40 Cord mod

There I was, in garage sale heaven. Standing over a box of second hand XBOX controllers.  I got a little less excited when I noted how second hand they were. I thought I would salvage parts and asked, "How much?".  She said, "$2". I said, "OK."  He looked like he just lost an old friend and his wife was telling herself, "I should have said 3!"   Fast forward 16 months and I'm sorting them into a box labeled "electronic recycle" because I was to lazy to open them up for salvage.  One di

k-Pack

k-Pack

Ping)) / AU2PORTA Controls Atari pitch

Ping)) / AU2PORTA Controls Atari pitch

Back in January of 2015, I wanted of use a PING)) ultrasonic sensor to measure distance and send it to the Atari using the 850 - RS232 ports.  I initially thought that  I could move my hand in front of the sensor and the resulting change in desistance could be used to change the frequency of the sound command.  This might have worked if the SIO port could be used to make sound .AND. transmit data to the 850 interface at the same time. It doesn't. So, I forgot about the sound and just got the dis

k-Pack

k-Pack

Arduino Shield For PORTA Input

Arduino Shield For PORTA Input

Over the years I've been using an Arduino UNO to setup data for transfer to the Atari Joystick ports.  The first attempt was to read the data from a  Wii nunchuk and translate it to joystick movements.  Lately I've been experimenting reading midi data using an Arduino Midi Shield, along with using the Cassette Motor Control pin on the SIO port as feedback to the Arduino. You may have read some of these blogs.   During the "Switched On POKEY" music experiments, there were many modificat

k-Pack

k-Pack

 

A Sound Understanding

I have spent a little time looking through some ATARI Assembly Language books for sound routines that I might find useful. I found several examples in ATARI Assembly Language Programmer's Guide by Allan Moose and Marian Lorenz. Chapter 5, appropriately titled "Sound", has 3 programs that I wanted to hear. BOX 31 - Envelope, BOX 32 - Tremolo, and BOX 33 - Vibrato. These are BASIC examples using USR routines. The ml programs were listed in BOX31A, BOX32A, and BOX33A. The first program was

k-Pack

k-Pack

 

Finally, I'm Playing MIDI Notes using MAC/65 Assembler Code

Do you remember me mentioning that the first attempt to write a machine language program to read MIDI data delivered to the Atari joystick port was a complete failure? The Arduino hardware has remained the same. The joystick trigger and cassette motor control(CMC) pin on the SIO port are still being used to control data flow. But this time I redefined the project specs to simplify the ML program and tested the ML data transfer routine as a USR call. The USR routine was written to replace th

k-Pack

k-Pack

 

SAM sings a round

There was a Korg microKorg under the Christmas tree last year; only because my wife wouldn't let me set it up in November when it was purchased. I did manage to get the manual out of the box before it was wrapped. So for a whole month I read the manual and watched youTube videos.   The microKorg has a vocoder. This suggested that the audio output from an Atari running SAM could be hooked up to the line-in on the Korg. Then the Korg could modifiy, modulate, or magically manipulate the signa

k-Pack

k-Pack

 

A journey to Bach's Invention 1 and other miscellaneous updates

After recording PRELUDE1.MP3 it seemed that the Atari BASIC sound program needed to be reprogrammed in assembly. I got out the MAC65 cart and two days later things were so messed up I wasn't sure if it was the Arduino and/or Atari software or the Arduino interface hardware giving me the headaches.   I decided to go back and setup the equipment/software as it was for "house of the Rising sun". That seemed to work fine and it still did.   I couldn't just turn it off and start programming.

k-Pack

k-Pack

 

AMS v1.0 Command Summary and Stereo Recording

I've started a project to recreate W. Carlos's Switched on Bach album playlist using the Atari8 as a sound source. A goal on my bucket list is to finish it. I intend to use the MIDI Music System to send data to other Ataris that will act as sound synthesizers. My original thought was to have the ability to play the songs in real time; something Carlos couldn't do in 1968 when the album was published. Then I thought of something else that lead me to something else until I asked, "Am I ever

k-Pack

k-Pack

 

MIDIPLUS miniEngine USB - first impressions

I ordered the MIDIPLUS miniEngine USB sound synthesizer to reward myself for doing something special. This is the first chance I've had to play with it and can't remember exactly what that something was. Maybe it wasn't that special.   The thing that interested me most about this general midi sound module is its size( 3" X 4" X 1"). I just don't have the room to keep the TG-33 and sound mixer on my desk. If I want to have a short retro session, it can quickly be set up in a few minuet

k-Pack

k-Pack

 

DB9 Experimenter Box

Someday I'm going to take a photo while experimenting with DB9 connectors on the Atari Joystick ports or RS-232 ports and this box is going to be in the middle of a mess of wires. Some one is likely to ask, "What's up with that box?" This is an attempt to have this information ready to answer that very question.         If your from the future, I guess it worked.       It is simply a pass through box for each of the pins of a DB9 connector. It simply passes the signal for a pin to p

k-Pack

k-Pack

 

Metronome - Software Timer Demo in DE RE Atari

I was thinking about making an 8-step sequencer for a Gakken SX-150 Mark II analog synthesizer using the Atari8. Then I thought, "Why not just use the Pokey chip instead of the Gakken? " Then I thought, "Why not develop it using Diamond GOS? I'll bet no one has done that yet." While reading up on the hardware and software timers, the metronome program in De Re Atari looked like it could be easily modified with a Diamond upgrade to change the tempo using a slide bar. It was a good idea but

k-Pack

k-Pack

×
×
  • Create New...