ZX Forum #04
19 ноября 1997

world of sound Spectrum - Chapter 5.2: Making Music on PLAYe.

<b>world of sound Spectrum</b> - Chapter 5.2: Making Music on PLAYe.
      5.2. Making Music on PLAYe


   Using the operator can very PLAY
easy to create good trehgolosye tunes. All its features are 
described in chapter 5, so here I am limited to a few

Examples:


   10 PLAY "T60W0X10000U3g4g1CCb5b3f4f1aag

           5g3eag1g # f5f3feda5g "


   10 PLAY "T180W0X10000U7c6e3f9 & 7c6e3f & O4

           efefe5g & "," O3U3c & & & e & & f & E & F & 6G3

           c & & & e & & f & O4EFEFE5G3c "


   Melody can be customized with a
percussion instruments. For example, all
well-known song "The grass grasshopper sat"
punk rock:


   10 PLAY "T240M35fcfcfee & ececeff & fcfcfee

           & EcecefH "," V14O4 & f & c & e & c & e & c & f &

           c & f & c & e & c & e & c & f "," W0X2000Uc &) "


   Despite the fact that with the help of the operator PLAY you 
can create good music and effects, the most beautiful versions 
of the codes are obtained. Therefore, we strongly advise you to 
explore the next chapter. 


  6. Managing music coprocessor


   Music coprocessor AY-3-8910 (AY3-8912) allows us to generate 
a three-channel sound with adjustable volume and sound effects. 
This chip contains a sixteen registers that control

sound. Registers designated R0 ... R15.

   The choice of register is done by writing its number to port 
65533 (# FFFD), and then reading the contents of a selected 
register from the same port, or writing the new value of the 
selected register in the port 49,149 (# BFFD). Selecting the 
register number of a again, you can perform any number of

read or write. And only when
require access to other registers must be
Change the contents of port 65533.

   After specifying the necessary parameters
coprocessor begins to generate sound,
Z80 freeing to perform other operations.

   All time slots on a chip AY
obtained by dividing the clock frequency is equal to 1.7734 
MHz, at a certain number.







Other articles:

Help - Description of the shell of an electronic book "ZX-FORUM 4.

Secrets of Successful Design - Head for the book "Design your Programs

screen effects - Running a string of R-Type.

screen effects - clearing the screen of Zynaps.

screen effects - "minimize" the screen from Comando Tracer.

screen effects - smooth "decay" of the screen Sommando Tracer.

screen effects - changed the character set for the original stylized font from the game Rockstar.

screen effects - "running out the string" out of the game Rockstar.

screen effects - "pouring" the screen of the game Rockstar.

screen effects - a complex multi-effects from the game Bubbler.

New top 40 procedures - scrolling display, a fusion of two images, inverting screen, rotate characters, replacement of attributes, fill a closed loop, the calculation of addresses in the screen, copy of the screen, etc.

Technology sprites - Part 1: Introduction.

Technology sprites - Part 2: The hunt for sprites (search and pulling).

Technology sprites - Part 3: Format of sprites.

Technology sprites - Part 4: Format of sprites with a mask.

Technology sprites - Part 5: Structure sprite blocks (both co-exist in memory sprite and mask, what data to help us quickly find the address of the sprite in memory, and much more.)

Technology sprites - Part 6: preparation of data for publication.

Technology sprites - Part 8: Printing sprites (coordinates are given in familiarity).

Technology sprites - Part 9: Printing sprites (coordinates given in pixels).

Technology sprites - Part 10: a review of programs to work with sprites and graphics.

world of sound Spectrum - Chapter 1: The Physics of Sound.

world of sound Spectrum - Chapter 2: Operator BEEP, Creating effects on BEEPe, Making Music on BEEPe.

world of sound Spectrum - Chapter 3: How is the sound device (BEEP'ra and methods of sound production).

world of sound Spectrum - Chapter 4: Programming sound in assembler.

world of sound Spectrum - Chapter 4.1: Programming sound effects - Tone, Noise, Complexes effects.

world of sound Spectrum - Chapter 4.2: Programming Sound Effects - Volume Control.

world of sound Spectrum - chapter 4.3: Sound Effects - Management timbre.

world of sound Spectrum - Chapter 4.4: Programming sound effects - music programming.

world of sound Spectrum - Chapter 4.5: Programming sound effects - Polyphonic ringtones (polyphonic).

world of sound Spectrum - chapter 4.6: Treatment of external signals - digitization.

world of sound Spectrum - Chapter 4.7: Handling of external signals - Reverberation.

world of sound Spectrum - chapter 4.8: Synthesis of speech.

world of sound Spectrum - Chapter 4.9: audio playback interrupt.

world of sound Spectrum - Chapter 5: The operator PLAY for music coprocessor AY- 3-8910 (AY-3-8912).

world of sound Spectrum - Chapter 5.1: Creating effects operator PLAY.

world of sound Spectrum - Chapter 5.2: Making Music on PLAYe.

world of sound Spectrum - Chapter 6.1: Description of the coprocessor registers of the musical AY- 3-8910 (AY-3-8912).

world of sound Spectrum - Chapter 6.2: Programming effects and music under the musical coprocessor AY- 3-8910 (AY-3-8912).

world of sound Spectrum - Chapter 7: Software Review ZX-Spectrum to create sounds and music.

world of sound Spectrum - chapter 7.1: Editor, Sound Effects SUPER SOUND.

world of sound Spectrum - Chapter 7.2: Music Editor Wham the Music Box.

world of sound Spectrum - Annex 1, 2: Listings sound effects SUPER SOUND'a, tips assembler.


Темы: Игры, Программное обеспечение, Пресса, Аппаратное обеспечение, Сеть, Демосцена, Люди, Программирование

Similar articles:
Amiga Sensor - Models of the Amiga.
Reflections on - On the Establishment and Development Company Ltd. "Condor".

В этот день...   23 November