Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.apple2.programmer > #495

Re: mockingboard

Newsgroups comp.sys.apple2.programmer
Date 2012-09-15 19:18 -0700
References (5 earlier) <464d1c62-e863-4f3f-bcfb-eab9ce78e5a7@googlegroups.com> <9f08faf8-e636-43ed-a7dc-bc0d84b4c83f@googlegroups.com> <18c34350-229d-4b50-b3a5-0158506b0e7f@googlegroups.com> <1e7ce10a-3280-43db-8dd0-ac75743bab5a@googlegroups.com> <bcebc49b-484e-4bcc-bc98-7b967c4e14f5@googlegroups.com>
Message-ID <7bfb0a11-e052-44f6-a7a1-535cc824e5dc@googlegroups.com> (permalink)
Subject Re: mockingboard
From aiiadict@gmail.com

Show all headers | View raw


On Friday, September 14, 2012 12:16:32 PM UTC-7, (unknown) wrote:
> On Thursday, September 13, 2012 9:16:06 AM UTC-7, (unknown) wrote:



format for music Construction Set Mockingboard file:

2X1byte pairs:
--------------------------
+00 Byte1=note
+01 Byte2=duration+controlbits
+02 byte1 next note
+03 byte2 next duration


duration+controlbits: 
------------------------------
must be EVEN.  
Bits 1 to 4 are duration, 
   so duration can be from 0 and 30
   (16 possibilities)
bit 7 = set if another note,duration pair to get
Bit 6 = set if no volume reduction (see reduceVOlume routine in source)

Note:
------------------------------
is divided by two to index into a 64 byte table,
must be EVEN
Must be 0 to 128

End of song:
------------------------------
When note and duration both = 0, end of song


Note Table:
------------------------------
See 

1)disassembled MCS player Source code 
2)APPENDIX E  Equal Tempered Chromatic Scale (fCLOCK- 1.023 MHz)


note# 16 =E     Octave 6 
note# 14 =F     Octave 6 
note# 12 =F#    Octave 6 
note# 10 =G     Octave 6 
note# 08 =G#    Octave 6 
note# 06 =A     Octave 6 
note# 04 =A#    Octave 6 
note# 02 =B     Octave 6 
note# 00 = C    Octave 7 

----------------------------------------------------------------------------------------------


It looks like the file is separated into two parts,

Load address = chip 1 music?
Load Address + #$47e = chip 2 music?

Back to comp.sys.apple2.programmer | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

mockingboard aiiadict@gmail.com - 2012-09-09 12:44 -0700
  Re: mockingboard Michael J. Mahon <mjmahon@aol.com> - 2012-09-10 02:01 -0500
    Re: mockingboard aiiadict@gmail.com - 2012-09-10 08:42 -0700
      Re: mockingboard aiiadict@gmail.com - 2012-09-10 16:21 -0700
        Re: mockingboard aiiadict@gmail.com - 2012-09-11 08:10 -0700
          Re: mockingboard Antoine Vignau <antoine.vignau@laposte.net> - 2012-09-11 10:55 -0700
            Re: mockingboard aiiadict@gmail.com - 2012-09-11 13:11 -0700
              Re: mockingboard aiiadict@gmail.com - 2012-09-12 22:46 -0700
                Re: mockingboard aiiadict@gmail.com - 2012-09-13 09:16 -0700
                Re: mockingboard aiiadict@gmail.com - 2012-09-14 12:16 -0700
                Re: mockingboard aiiadict@gmail.com - 2012-09-15 19:18 -0700
                Re: mockingboard aiiadict@gmail.com - 2012-09-15 22:16 -0700
                Re: mockingboard aiiadict@gmail.com - 2012-09-16 10:20 -0700
                Re: mockingboard aiiadict@gmail.com - 2012-09-16 09:25 -0700
                Re: mockingboard aiiadict@gmail.com - 2012-09-16 09:34 -0700
    Re: mockingboard aiiadict@gmail.com - 2012-09-16 09:52 -0700
      Re: mockingboard Daniel Kruszyna <dan@krue.net> - 2012-09-16 17:04 +0000
        Re: mockingboard aiiadict@gmail.com - 2012-09-16 10:47 -0700
          Re: mockingboard aiiadict@gmail.com - 2012-09-16 11:56 -0700
          Re: mockingboard Daniel Kruszyna <dan@krue.net> - 2012-09-19 22:59 +0000
            Re: mockingboard aiiadict@gmail.com - 2012-09-19 17:46 -0700
              Re: mockingboard aiiadict@gmail.com - 2012-09-19 20:40 -0700
  Re: mockingboard aiiadict@gmail.com - 2012-09-20 09:32 -0700

csiph-web