1. Not old. Vintage. :)

Audio Solutions for the Atari 8-bit Home Computer

Audio Solutions for the Atari 8-bit Home Computer


Provided as a companion Article for the Atari POKEY and Sound System Article.

__________
{From a now-defunct Atari board}

Embedded attachments and/or links may not function any longer!

Below I've listed the most commonly known audio solutions for the 8-bit range, as are, were and maybe still available. These are groups by sub-type. This list is by no means extensive, and merely serves as a "google search" assistance purposes. I may flesh this out with more detail if time permits. If you have any more info, pics or you find any other software/hardware items, please reply below and link your source. thanks


Sound & Voice Synthesisers
1400XL/1450XLD built-in voice synth chip (schematics exist for this)
Cheap-Talk - Analog Magazine No29 [Lee Brilliant
Digi-Drum / Digi Synth - 2-Bit Systems
Neotracker
Protracker - Madteam
Talk is Cheap - Antic Volume V02/04 [Ed Stewart]
Voice-Box II - The Alien Group​

Samplers & Digitisers
2-Bit Replay - 2Bit-Systems Ltd
A/D Converter - Mirage
Alphasys Sound Sampler - ANG [mono cart]
Alphasys Sound Sampler - ANG [stereo dual-pokey cart, planned but never went to production]
Analog Sample-Processor - Analog Magazine [Steven Lashower]
ARGS XE Sampler - ABBUC ARGS [protos only]
Atari Sound Sampler - Atari Magazin (Germany) [Andreas Binner/Harald Schoenfeld
Digitales Mikrofon - Compyshop
Parrot - Alpha Systems [Anthony Ramos]
Parrot 2 - Alpha Systems [Anthony Ramos]
Sample Utility Disk and Home Studio - ANG
Sound Digitiser - Ralf David
Sound Digitizer - Irata
Sound Meister - Irata
Sound N'Sampler - Ralf David
Voice Master - Covox Inc​

MIDI
Midi-Mate - Hybrid Arts
Midi-Track - Hybrid Arts
MIDI Master - 2-Bit Software
MIDI interface - DIGICOMM
MIDIMAX - Wizztronics
Atari-Midi-Interface - Computer Kontact magazine Nov 1986, Germany [Karlheinz Metscher]
Midi-Interface for Atari XL/XE - ABBUC magazine No65 [Ireneusz Kuczek]​

+++++++++++++++++


Ok, Baz is currently working on some ideas to get some digitised sound into a program he's writing. So i thought i'd dump some useful links here and see if anyone else has any ideas/stuff to add

+++++++++++++++++++++++

SOFTWARE ONLY:
one way of getting actual digitised audio into your Atari8 software would be to
use your pc and convert the sampled sound to atari-compatible format
here's a some starting points:​

introduction/discussion page
atarimusic.exxoshost.co.uk/atari-music-network/viewtopic.php?f=124&t=113
has a prog that'll convert MONO PC wav files to MPT (atari Music Pro Tracker) and NEO (Atari neotracker) format

download link for the converter - works with Music Pro Tracker and Neotracker
yerzmyey.republika.pl/WAV_to_Atari_XL.zip

protracker
madteam.atari8.info/uzytki/pro_tracker.zip

Neotracker
epi.atari8.info/download.php?file=neotracker-1.8.zip
epi.atari8.info/download.php?file=neotracker-1.7.zip


other relevant audio prog links - these will give you plenty of guidance on file formats and all the technical info
madteam.atari8.info/uzytki/audiomaster.zip
gury.atari8.info/pc_files.php
asma.atari.org/

=======================================
Below are additional contributions to the thread:
=======================================

Post by 8bitbaz on Jan 27, 2017 at 3:16pm
Yeah, I hear that Parrot system loud and clear when I've been conducting a little research the past 24hrs, so thanks go to Baker and Brenski for setting me off down this interesting path.

However, what appears now certain is that there is NO WAY a 2 player arcade game can have 'instant' digitised sound effects 'on the fly' as it were, whilst still updating the screen, moving PM graphics around etc as the processor just can't handle it.

I've read plenty about 'advanced sound techniques' and 'Pushing Pokey' and am indebted too, to the guys at IRONMAN ATARI over at atariwiki.org:

atariwiki.org/wiki/Wiki.jsp?page=Ironman%20Atari#section-Ironman+Atari-DigitalSamples

Here are the pertinent parts:

POKEY is capable of playing digital sound by setting the channel to volume only and then rapidly storing values into the volume register. Volume on the Atari is only a 4-bit register, so digital samples are limited to 4-bit resolution. Although it limits the sound quality possible, it does halve the memory requirement per sample. The first digital sampling and playback routines I used came with an interesting device called the Parrot.

This device plugged into the joystick port on the Atari and was read as a paddle. By rapidly sampling POT0 and storing this into memory, the Atari was capable of recording and playing back digital samples. Now, however, it is easier to record a sound on the PC (or rip from another source) and convert it into the appropriate format for the Atari.

Sample conversion is easiest to do in steps. The first is to convert the original sound into an unsigned 8-bit sound at an appropriate sample rate. For the playback routine described below, this should be about 3.9khz.

Initial sample conversion can be performed with a tool such as sox.

Depending on the sound source, it may be a good idea to add a low-pass filter when downsampling. See the soxexam man page for more details.

Once a sound is in unsigned raw 8-bit format at the appropriate sample rate, a second conversion pass needs to be mad to convert the raw sound to 4-bit big-endian sample.

Once an Atari native sample has been created, a playback routine is required before it is useful. The more CPU time can be devoted to the task of playback, the clearer the sample will be, and the higher sample rate can be used. Optimally, the playback routine should shut-off the DMA, and all non-vital interrupts and devote complete time to playback. However, realistically, a game or demo will want to display something on screen. So, a compromise must be made. One method used by Chris Hutt in his Space Harrier conversion is to use the VCOUNT register to synchronize playback, creating a solid playback frequency. (Note: this routine has since been replaced with in Space Harrier XE. Now, the sample playback is preformed via IRQs) Another possibility is to include the playback inside of a DLI routine.

Guys, I attach a smashing MG42 machine gun wav sound sample in 16bit mono and down to 8khz (Atari 8bit really needs to be 4khz... which I translate as TWICE AS DEGRADED!)

I'm sure that you'll agree that even if it were possible to play the digitised sounds in BASIC, the final results at that low sample rate, are just not worthwhile.

A pity, but I won't give up on creating a reasonable machine gun sound via SOUND statements.

I've already got reasonable results creating engine pitch sounds and crashes etc.

Onwards and upwards, chaps...

CHOCKS AWAY!
Attachments:
MG-42 16bit mono.wav (116.44 KB) {link defunct}
Last Edit: Jan 27, 2017 at 3:18pm by 8bitbaz

Post by admin on Jan 27, 2017 at 5:30pm
well, i had a feeling that it wasn't impossible to do what you want in BASIC or CBT, having had a search around i found an old Antic article. bear with, cos there's a lot here
reproduced from an old Antic Mag

++++++++++++++++++++++

SUPER DISK BONUS
Antic Sampling Processor

By Steven Lashower

New breakthrough from the author of Antic Music processor

Build yourself a sampling processor for under $15 - and create sound samples for your own BASIC programs. This slick, machine-language software can be used on 8-bit Atari computers with at least 48K memory.

This issue 's Super Disk Bonus is the Antic Sampling Processor, a high-powered audio digitizer written in fast machine language by Steven Lashower, who programmed the very popular Antic Music Processor which appeared in the December 1989 and July 1990 issues of Antic. Antic Sampling Processor requires a bit of hardware construction, with some basic knowledge of electronics and soldering, but the results are well worth the effort. To hear just how good these results are, you can play the music samples included on this month's Antic Disk. No special digitizer hardware is required for playing back the sounds recorded into your 8-hit Atari by the Antic Sampling Proessor.

Lashower also provided a very well-documented player utility written in BASIC, for use with your ownprograms. We are looking forward to your Disk Bonus submissions which employ digitized speech and sound effects, created with The Antic Sampling Processor. --ANTIC ED

DIGITIZING AND MIDI

The Antic Sampling Processor (ASP) is a sophisticated combination of Atari 8-bit software and hardware audio digitizing technology. Written in MAC/65 assembly language, ASP captures pure digital sound (through a process called sampling or digitizing) from any stereo or amplifier source.

In the July 1983 issue of Antic, an article called Talk Is Cheap by Ed Stewart gave specifications for an 8-bit Atari digitizing circuit on which the ASP hardware is loosely based. The new circuit was designed by John Shook and Jim Burgess of the Disneyland Sound Department. The software is written in MAC/65 with core digitizing routines for recording and playback based on the old 1983 routines.

Once the sound, or sample is stored in the computer's memory, you can play it back at any speed -- forward or backward. Some commercial recordings have various sounds and vocals recorded in reverse. Since Antic Sampling Processor has a back-masking feature that allows you to play your samples backwards, you will be able to hear those special parts of the Beatles' notorious "Revolution #9" without ruining your phonograph.

No sampler is complete without MIDI support -- Antic Sampling Processor is compatible wit Hybrid Arts' MIDI interface and any MIDI-capable synthesizer. With a synthesizer, you can actually "play" the sound samples, thus turning your Atari into a low-cost high quality, digital sampling work-station. For the programmer, Antic Sampling Processor comes with some easy-to-use routine's written in Atari BASIC that load and play Antic Sampling Processor samples.

RUNNING ASP

To record your own samples, you will need to build the digitizer as shown below. However, you can run Antic Sampling Processor and play pre-recorded files without a digitizer.

Use DOS command [C] to copy ASP.COM to another disk that contains the DOS.SYS file (DOS 2 or 2.5). Then use command [E] to rename "ASP.EXE" to "AUTORUN.SYS". Turn your computer off, remove all cartridges, and turn your computer on again (XL/XE users hold down [OPTION]. Antic Sampling Processor will load and run automatically.

SAMPLE TEST RUN

With the ASP Main Menu onscreen, insert your copy of this issue's Antic Disk in drive 1 with Side B up. Press [L] to load a file, and at the prompt type D:SLOOPJB.ASP [RETURN]. Once the file loads, press
to play.

To see the color display during playback, press [C], then play the sample again. Press B] to play it backwards. Press [O] to change the playback rate -- enter 20 and then press [RETURN] to play the sample faster.

HOW IT WORKS

Every sampler needs a hardware A/D (Analog to Digital) converter that enables it to translate speech (analog information) to data that the computer can understand (digital information). We are indeed in luck because the Atari joystick ports are actually A/D converters. The Atari paddle controllers are analog input devices.

As the controller (or paddle) is turned, the converter generates a count in response to circuit resistance the time it takes for a capacitor inside the computer to charge up. Turning the *ZX80* to the right lowers the resistance, so the capacitor charges up quickly. Turning the *ZX80* to the left increases the resistance and the charging time. If these resistance changes are recorded fast enough, and if they have a direct relationship to the sound waves produced by speech, then we can read these numeric values from a paddle port and store them in the computer as speech patterns.

A simple hardware circuit is required to convert the voltage produced by any audio source into a variable resistance that the computer reads. These values are read at very high speeds (approaching 5,000 times per second, the sampling rate) and stored in memory. Then they are sent to the video speaker to produce a voltage which is in direct propertion to paddle resistance. The result is a pretty good reproduction of whatever sounds were played through the circuit. Admittedly, the higher the sample rate the less distortion during playback. But saved samples are notorious RAM hogs.

Item Description Radio Shack Part# Price
9-pin female cbnnector 276-1428 $1.19
Hood for 9-pin connector 276-1539 $1.19
Phono Plug to Stripped Wire 42-2370 $1.69
1.0 uF capacitor 272-1434 $ .59
NPN transistor (NTE 123AP) 276-2058 $ .49
1M Ohm potentiometer 271-229 $ .69
100K Ohm potentiometer 271-220 $ .69
100K Ohm fixed resistor 271-045 $ .19
IC-Spacing Perfboard 276-1365 $1.79
BUILDING THE CIRCUIT

The ASP circuit can be built for about $3 and all parts are available at almost any electronics store, including Radio Shack. One of each of the following items is required to build the circuit shown in Figure 1.

Note that Radio Shack 9-pin female connectors will not work directly with the Atari 130XE and XEGS computers because the shield surrounding the connector is too large. You can solve this problem with a joystick extension cable, available from Radio Shack or from just about any toy store or department store that sells video game accessories for the Atari and Sega game systems. Plug the female end of the joystick cable into the XE computer, and the male end into the connector for this digitizing circuit. The "ears" in the Radio Shack connector do not interfere with this setup.

The small AC current sent to the digit circuit from your audio source causes the base current to change through the transistor. This in turn varies the effective resistance presented to the paddle port. The computer believes that a paddle controller is connected and is being turned back and forth at a very high rate. The 1M pot is used as the circuit's gain control to get rid of most unwanted noise during program execution. The 100K pot is used to control input volume into the circuit.

A patch cable can be used to connect the RCA phono plug to any receiver/amplifier. I have found that the best sampling results can be obtained by recording from a small, portable cassette deck with a MINI (1/8 inch) earphone output. To do this, you will need a PHONO to MINI converter plug (Radio Shack #274-330 - $1.69.) Make sure that the volume level on the cassette is turned almost all the way down, assuring as little distortion as possible.

USING ASP

Start the Antic Sampling Processor program as outlined above. To sample any new sounds of your own you must plug the digitizer circuit into the second joystick port. Select from ASP's nine functions on the Main Menu by typing the highlighted letter that appears just to the left of the function name.

P] Playback Sample. Use P] to play a sample stored in memory.

R] Record Sample. Use R] to record a new sample storing it in memory.

T] Test Microphone. With this option, ASP digitizes audio for an unlimited period of time, echoing the data it receives through the computer speakers so you can adjust volume and noise control potentiometers. The sample is not stored in memory. Press [RESET] to return to ASP's main menu.

L] Load Sample. This command loads in a digital sample file from the disk drive specified (Dn:filename.ext). Drive 1 will be used if no drive number is specified. (You may use a RAMdisk of 40K or larger.) The sample is loaded into the same area of memory from which it was saved. Please see [O] Set Options for more information on memory management.

S] Save Sample. Save a digital sample in memory to a disk. Type S], then enter a filename. If you do not specify a drive, the file will be saved to drive 1. Please note that sample files can get quite large (over 32K, or 250 sectors). Disks fill up quite fast.

C] Color Display. Use C] to toggle the Color Display option ON or OFF. When the color option is enabled, a graphic display flashes different colors on the screen in response to the audio data. This visual effect only works during playback. B] Back-Masking. Plays your sample backwards. Use B] to toggle the Back-Masking option ON or OFF.

Using Back-Masking, you can really experience some weird and unusual sounds. Some major rock-and-roll groups use backmasking to record special audio effects. For example, try sampling the Beatles' "Revolution #9" from their White Album or the Electric Light Orchestra's "Fire on High" from their album, Face the Music. The voices that seemed to be speaking gibberish will speak in pure and clear English once played back with ASP's Back-Masking feature.

[M] MIDI Playback. Plays the sample through an attached MIDI device. Use [M] to toggle the MIDI Playback option ON or OFF.

MIDI Playback requires a MIDI compatible synthesizer (the Casio CZ series instruments are great, low-cost, full featured MIDI synthesizers) and a Hybrid Arts (or compatible) MIDI interface. A MIDI cable connected from MIDI-OUT on the synthesizer to MIDI-IN connector on the Hybrid Arts box is also necessary. ASP requires that the synthesizer transmit data through MIDI Channel 1.

Once MIDI Playback is ON and a sample is in memory, type
for playback, and then play some notes on your synthesizer's keyboard. Since Antic Sampling Processor acts as a monophonic sampler (a synthesizer that can play only one note at a time), make sure that you only press one key at a time on your synthesizer. On my 61-key synthesizer, I have found that the upper two keyboard octaves yield the best results for actual playing. For extra fancy sounds, try Back-Masking in conjunction with MIDI-Play.

(We are not equipped to test MIDI operation with ASP. -- ANTIC ED)

[O] Set Options. Use this to change the sampling rate for playback and record, as well as sample length and location in memory. A flashing cursor appears on the second status line located in the upper half of the screen. Change the sampling rate for playback
and recording [R] by using the
. Note that ASP uses hexadecimal values for these settings. Press [RETURN] to save the new values in memory and return to the Main Menu. Press [ESC] to return to the Main Menu without saving any changes.

More advanced users will appreciate the ability to change the length of the sample and its memory location. If you're familiar with the way data is stored in the computer, you may use this function to change the address where the sample is stored in memory. Multiple samples can be stored in memory. Antic Sampling Processor allocates the area of memory from $2B00 to $BC00 for sample storage.

BASIC ROUTINE

How would you like to use some of the samples in your own BASIC programs? Well, its no problem because Antic Sampling Processor comes with some easy-to-use routines that you can implement in your own programs. Extensive REMarks make PLAYER.BAS easy to follow. You could use it to try to make a Battleship-type game where the computer actually calls out coordinates, hits, and misses, for example. The possibilities are endless.
Attachments (see zip) Listing1:ASP.COM - Listing2:pLAYER.BAS Listing3:pLAYER.M65 Listing4:GBUSTER.ASP Listing5:JACKSON.ASP Download Listing6:RPALMER.ASP
ASP.zip (59.21 KB)

Steven Lashower studies Computer Science at California State University, Fullerton, and works at Disneyland. His Antic Music Processor appeared in the December 1988 issue of Antic, and the new, improved AMP, Version 2.0 with lyric editor ran in June 1989.
Post by 8bitbaz on Jan 27, 2017 at 6:08pm
Hmm... not sure how I'm going to store this sample 'in the computer's memory' and be able to access it quickly without, say, turning off the display to play it back at any reasonable quality/clarity, ie. for instant action response at the moment when the player presses the joystick button.

I can't see it happening, man, but it still makes for a very interesting article and perhaps I could have some digitised sounds/speech at the beginning of the game a la Mirax Force?

It's food for thought.

Cheers for the research and that article.​


Post by Baker on Jan 27, 2017 at 9:01pm
Here is a couple links to info on another A/D product called Replay:

www.atarimax.com/freenet/freenet_material/5.8-BitComputersSupportArea/10.ProductReviews/showarticle.php?63

www.retrogames.co.uk/031665/Atari/-Replay-Sound-Sampling-System-by-Gralin

I am going to see if I can find more info on this one...

A bit more info at this link below. I'm not sure if the Digidrum is for 8-bits or the ST as 2-bit Systems made hardware/software for both, but the Replay description below that is definitely for our 8-bits!

www.page6.org/archive/issue_23/page_45.htm

Link below has some info on most of what we have discussed and more!


gury.atari8.info/categ/h_speech.php

Here is a site that is linked to from the site above, as an example:


atariki.krap.pl/index.php/Mirage_AD_Converter


Rate This Article:

    1. Timothy Kline May 20, 2020
      For example, Andy:

      Attachments:
      MG-42 16bit mono.wav (116.44 KB) {link defunct}
      Last Edit: Jan 27, 2017 at 3:18pm by 8bitbaz

      Attachments (see zip) Listing1:ASP.COM - Listing2:pLAYER.BAS Listing3:pLAYER.M65 Listing4:GBUSTER.ASP Listing5:JACKSON.ASP Download Listing6:RPALMER.ASP
      ASP.zip (59.21 KB)
    2. Timothy Kline May 20, 2020
      If you have any of the files mentioned in the recreated post, I'll be happy to re-integrate them into the article, Andy.
    3. Andy Barr May 19, 2020
      Wow, great work there, Tim, salvaging that little lot - marvellous.
      Timothy Kline likes this.