GENWiki

Premier IT Outsourcing and Support Services within the UK

User Tools

Site Tools


archive:music:hardware
           MODPLAY  *********                            (C) Mark J Cox
           MODPLAY  **                                        1990/1991
           MODPLAY  *******                              
           MODPLAY  **************   
           Amiga fourÄchannel sound module player for PC's
           Hardware devices for great sound output!
  I. CONTENTS
  ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  How to make:
              Mono output from a parallel port for about 5 pounds
              Mono output from a parallel port for around 1 pound
              Stereo from one parallel port for about 12 pounds
	A +5v power supply
	A 22W amplifier
  This document has been supplied with MODPLAY or MODRES and the
  license agreement attached to the MODPLAY documentation applies
  to this file.
  I. INTRODUCTION
  ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  MODPLAY will play modules through the PC Speaker as mentioned above, via
  an D to A converter on any of the three possible parallel ports, in stereo
  if you have an D to A converter on both LPT1 and LPT2 (this sounds really
  good) and also through a special board that plays stereo from one
  printer port ("stereoÄonÄ1")
  1. HOW TO MAKE A D/A CONVERTER FOR FIVE POUNDS
  ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  A simple circuit for HiFi quality sound needs only a few components (and
  this circuit will work with other software).   It even sounds better than
  a Sound Blaster for sampled output!
  You need:
  IC1 a ZN426E (about 3 pounds) (Ferranti or Plessey are UK manufacturers)
  C1 a 10micro-farad electrolytic capacitor (10V or greater)
  C2 a 4.7micro-farad electrolytic capacitor (10V or greater)
  R1 a 380ohm resistor (5%, 1/8W)
  CON1 a phono socket for connecting a lead to your amplifier
  CON2 a 25 way male D-type connector for your parrallel port
  A bit of 10 way cable - or 10 short wires.
  A +5v supply
                             Zn426e    +5V
  D-type pin no  \          ÚÄÄÄÄÄÄÄÄ¿  ³  
                (2)  D0  ÄÄÄ´9     14ÃÄÄ´
                (3)  D1  ÄÄÄ´10      ³ ÚÁ¿ 
                (4)  D2  ÄÄÄ´11      ³ ³ ³ 390ê
                (5)  D3  ÄÄÄ´12      ³ ÀÂÙ
                (6)  D4  ÄÄÄ´13     5ÃÄÄ´
                (7)  D5  ÄÄÄ´1      6ÃÄÄ´       +
                (8)  D6  ÄÄÄ´2      4ÃÄijÄÄÄÄÄÄÄÄ´ÛÄÄÄÄ> TO AMPLIFIER
                (9)  D7  ÄÄÄ´3   7   ³  ³        10æF  
                            ÀÄÄÄÄÂÄÄÄÙ +Ï        (may not be needed)
                                 ³ 4.7æFÛ  
                                 ³      ³  
                (25) GND ÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄ GND
                                 
  2. USING A DIFFERENT DAC
  ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  Lots of people have found that they cannot get the ZN* chips outside
  the UK - so heres a circuit that will do the same as above..
  Use a DAC0800 or DAC0801 or DAC0803 from National Semiconductors...
                             DAC 080x   
 Parallel Port Pin          ÚÄÄÄÄÄÄÄÄ¿0.01æF  0.1æF
                (2)  D0  ÄÄÄ´12    16ÃÄÄ´ÛÄÄÄÄ´ÛÄÄÄÄÄÄÂÄÄÄ GND 
                (3)  D1  ÄÄÄ´11      ³                ³
                (4)  D2  ÄÄÄ´10    15ÃÄÄÄÄÄÄÄÄÄÛÛÛÛÛÛÄÙ5kê 
                (5)  D3  ÄÄÄ´9       ³                 
                (6)  D4  ÄÄÄ´8     14ÃÄÄÄÄÄÄÄÄÄÛÛÛÛÛÛÄ¿5kê 
                (7)  D5  ÄÄÄ´7     13ÃÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´
                (8)  D6  ÄÄÄ´6      2ÃÄÄ´ÛÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄ +5V
                (9)  D7  ÄÄÄ´5 3 1  4ÃÄÄÄÄÄÄÄÄÄÄ´ÛÄÄÄÄ> TO AMPLIFIER
                            ÀÄÄÂÄÂÄÄÄÙ0.1æF    + 10æF  
                               ÀÄ´             (may not be needed)
                                 ³        
                (25) GND ÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ GND
  The 0.01uF and 2x 0.1uF   capacitors are Ceramic.  Resistor values
  not critical
   
  2. GETTING A +5V POWER SUPPLY
  ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  Catalogues such as MAPLIN (uk) provide simple circuits for obtaining
  a +5v power supply (it only has to be 100mA maximum).  Alternatively
  you could tap +5v off the keyboard connector or use 3 1.5volt
  batteries (or even 4 1.5volt batteries with two diodes in series to
  drop the voltage).  In fact, anything that produces a voltage in the
  range 4.5 Ä 5.5 volts. (in fact you can even tap +5v from the game
  port).  Don't forget to connect the 0v of your power supply to the GND
  rail shown.
  Heres a simple circuit for +5v from mains.  Mains voltage is lethal
  so always get a qualified person to make this if you are unsure.  Make
  certain that the mains voltage is completely isolated from the computer
  side and that it is impossible to touch - If you don't want to take the
  risk then don't make this circuit.
         ÚÄÄÄÄÄÄÄÄÄÄÄ¿     ÷ÚÄÄÄ¿+                  ÚÄÄÄÄÄÄ¿
         ³           ³      ³ B ÃÄÄÄÄÄÂÄÄÄÄÄÄÄÂÄÄÄÄÄ´ 7805 ÃÄÄÄÄÂÄÄÄÄÄÄ +5V
  ÄÄÄÄÄÄÄ´Step down  ÃÄÄÄÄÄÄ´ R ³     ³+      ³     ÀÄÄÂÄÄÄÙ    ³+
  Mains  ³transformer³ 6V   ³ I ³    ÍØÍ C1  ÍØÍ C2    ³       ÍØÍ C3
         ³to 6VAC    ³ AC   ³ D ³     ³       ³        ³        ³
  ÄÄÄÄÄÄÄ´           ÃÄÄÄÄÄÄ´ G ³     ³       ³        ³        ³
         ³           ³      ³ E ÃÄÄÄÄÄÁÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄÄÄÁÄÄÄÄÄÄ 0V
         ÀÄÄÄÄÄÄÄÄÄÄÄÙ     ÷ÀÄÄÄÙ-
  C1     1000 æF electrolytic capacitor            (Circuit from Kenneth
  C2     0.1 æF  ceramic capactitor                 Aaron, Israel)
  C3     100 æF  electrolytic capacitor
  BRIDGE any diode bridge
  3. HOW TO MAKE AN EVEN CHEAPER D/A
  ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  For the price of 20 1% resistors and a plug, with no power supply
  needed you can make a D/A converter that sounds close to the IC
  one above (it seems only the UK can get a Plessey ZN426E)
  You need one plug for your amp, one for your parallel port and
  9 20k and 9 10K resistors
  Use 1% resistors if possible Ä and 20k sound much better than 22k
        Printer Port:
        signal   pin        20k   20k
        D0       2      >ÄÄÄ°°°ÄÂÄ°°°ÄÄ0v
                            20k ° 10k
        D1       3      >ÄÄÄ°°°Ä´
                            20k ° 10k
        D2       4      >ÄÄÄ°°°Ä´
                            20k ° 10k
        D3       5      >ÄÄÄ°°°Ä´
                            20k ° 10k
        D4       6      >ÄÄÄ°°°Ä´
                            20k ° 10k
        D5       7      >ÄÄÄ°°°Ä´
                            20k ° 10k
        D6       8      >ÄÄÄ°°°Ä´
                            20k ° 10k
        D7       9      >ÄÄÄ°°°Ä´
                            20k ° 10k  100nF
                                ÃÄÄÄÄÄÄ´ÛÄÄÄÄ> TO AMPLIFIER
                                ° 10k
        GND      20     >ÄÄÄÄÄÄÄÅÄÄÄÄÄÄÄÄÄÄÄÄ>
                                0v
        
   Thanks to Harry Stox for the above circuit.  Again, make sure all
   the 0v lines are connected together.  The 100nF capacitor may not
   be needed, try removing it if this circuit sounds poor.
  4. STEREO-ON-1 BOARD
  ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
  It is possible to play in stereo with only one parallel port (MODPLAY
  version 2.00 onwards) using the circuit below.  MODPLAY will
  automatically detect this circuit if it is present and work out what
  address it is at Ä so you can plug it into any of your parallel ports. 
  MODPLAY needs no further options and will default to playing through
  this device.  The +5v supply can be  anywhere between 4.5 and 5.5 volts
  so it could be run from three 1.5v  batteries. (Or from four
  rechargable batteries as these are only 1.2v) 
  • Stereo-on-1 works from MODPLAY 2.03 onwards where it did not in 2.00 *
  You can use your stereo-on-1 board with other programs that require
  a single D/A on the port as follows:
  Find out what address your port is at (LPT1 = 0378, LPT2 = 0278) and
  add 2 (LPT1 = 037A, LPT2 = 027A).  Go into DEBUG and type
  o 37a,0       (replacing 37a with the port address)
  q
  Then all sound directed to the parallel port will come out of both
  channels. 
                              ZN428
                              ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿         390ê
            ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´11           6ÃÄÂÄÄÄÄÂı±±±±ÄÄ+5v
            ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´12           7ÃÄÙ    ³ 
            ³ ³ ÚÄÄÄÄÄÄÄÄÄÄÄÄÄ´13           3ÃNC    ³      
            ³ ³ ³ ÚÄÄÄÄÄÄÄÄÄÄÄ´14            ³      ³  + 10æF
            ³ ³ ³ ³ ÚÄÄÄÄÄÄÄÄÄ´15           5ÃÄÄÄÄÄijÄÄĶÃÄÄÄÄÄ> Left out
            ³ ³ ³ ³ ³ ÚÄÄÄÄÄÄÄ´16            ³      ³     0vÄÄÄ>
    20 >Ä0v ³ ³ ³ ³ ³ ³ ÚÄÄÄÄÄ´1           10ÃÄÄ+5v ³ 
            ³ ³ ³ ³ ³ ³ ³ ÚÄÄÄ´2            9ÃÄÂÄ0v ³      
    14 >ÄÄÄijijijijijijijijÄÄÄ´4            8ÃÄÙ    ³    
            ³ ³ ³ ³ ³ ³ ³ ³   ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ      ³    
    11 >ÄÄÄÄ´ ³ ³ ³ ³ ³ ³ ³   ZN428                 ³  + 1æF    
            ³ ³ ³ ³ ³ ³ ³ ³   ÚÄÄÄÄÄÄÄÄÄÄÄÄÄÄ¿      ÃÄÄĶÃÄ0v
     9 >ÄÄÄÄÁijijijijijijijÄÄÄ´11 D7   VRIN 6ÃÄÄÄÄÄÄÙ
     8 >ÄÄÄÄÄÄÁijijijijijijÄÄÄ´12 D6  VROUT 7à NC
     7 >ÄÄÄÄÄÄÄÄÁijijijijijÄÄÄ´13 D5     NC 3à NC     
     6 >ÄÄÄÄÄÄÄÄÄÄÁijijijijÄÄÄ´14 D4         ³        + 10æF
     5 >ÄÄÄÄÄÄÄÄÄÄÄÄÁijijijÄÄÄ´15 D3    OUT 5ÃÄÄÄÄÄÄÄÄĶÃÄÄÄÄÄ> Right out
     4 >ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁijijÄÄÄ´16 D2         ³           0vÄÄÄ>
     3 >ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁijÄÄÄ´1 D1     +V 10ÃÄÄ+5v    
     2 >ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄ´2 D0     0v  9ÃÄÂ0v
     1 >ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ´4 !EN    0v  8ÃÄÙ
    25 pin male D connector   ÀÄÄÄÄÄÄÄÄÄÄÄÄÄÄÙ 
    Notes:
    Make sure all the 0v lines are connected together and connected to the
    0v line of your power source.  Also, make sure the +5v lines are 
    connected together.  The lines marked 'NC' do not need to be connected.  
    If a ZN428 is not available, any D/A with input latches will work -
    the D/A should latch the data bus when pin 4 (!EN) is low.
    Ä³Ä = No connection, ÄÅÄ = joined
    The above circuit (Stereo-on-1) is (C) Mark J Cox 1991, 29 Lundie Close
    Stenson Fields, Derby DE2 3AN; and is supplied for personal use only.  
    For any other use, please contact the author at the address above. If 
    this circuit is abstracted or incorporated into any other document or
    circuit then that document or documentation supplied with that circuit
    must contain this paragraph of text.  Any commercial use where not 
    agreed by written contract with the author (Mark J Cox) is prohibited.
   13. STEREO AMPLIFIER
   ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
   For those of you who have built a stereo DAC and haven't enough
   inputs to your Amplifier - Kenneth Aaron has supplied this
   circuit which is designed to give a high power (11W per channel)
   high quality, low interference, single rail supply amplifier!
    Enable
   >ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÂÄÄÄÄÄÄÄÄ¿   ÚÄÄÄÄÂÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ +12v
                  ³+       ³   ³    ³
                 ÍØÍ 10æFÚÄÁÄÄÄÁÄÄÄÄÁÄÄÄÄÄ¿
         0v ÄÄÄÄÄÄÙ      ³ 7   13   3    1ÃÄÄÄÄÄÄÄÄÄÄÄÄ Left
    Left     470nF    ÚÄÄ´4              2ÃÄÄÄÄÄÄÄÄÄÄÄÄ Speaker
   >ÄÄÄÄÄÄÄÄÄ×ÄÄÄÄÄÄÄÄ´  ³                ³
                      ÀÄÄ´5   TDA 7370  14ÃÄÄÄÄÄÄÄÄÄÄÄÄ Right
    Right    470nF    ÚÄÄ´11            15ÃÄÄÄÄÄÄÄÄÄÄÄÄ Speaker
   >ÄÄÄÄÄÄÄÄÄ×ÄÄÄÄÄÄÄÄ´  ³                ³
                      ÀÄÄ´12              ³
                  +ÚÄÄÄÄÄ´6    8   9    10ÃÄNC
             47æF ÍØÍ    ÀÄÄÄÄÄÂÄÄÄÂÄÄÄÄÄÄÙ
                   ³           ³   ³
                   ÀÄÄÄÄÄÄÄÄÄÄÄÁÄÄÄÁÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ 0v
   Make sure that 0v of the +12v supply is connected to all the 0v
   connections on the main circuit.   The enable line has to be tied
   to +12v to 'switch on' the amp
   14. AUTHOR
   ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
   Before June 1992:
   ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
   Mark J Cox                 Electronic Mail:
   17 Kirkburn Place                   m.j.h.cox@bradford.ac.uk
   Bradford                    
   W. Yorks, UK               If that fails - try:
   BD7 2BZ                             bc732@cleveland.freenet.edu
                             
   After June 1992:
   ÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄÄ
   29 Lundie Close           	Check the latest version out!
   Stenson Fields            	For a Bradford Address.... after
   Derby, UK                 	June!
   DE2 3AN                   
/home/gen.uk/domains/wiki.gen.uk/public_html/data/pages/archive/music/hardware.txt · Last modified: 2000/06/21 04:38 by 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki