doorbell on AY

ZXNet echo conference «hardware.zx»

From WoWan Nickolaev To All 11 February 2002

How's yours, All? 22 Feb 02 16:16, Vadim Chumachenko -> All: VC> give me an idea on how to better make the subject. thank you! To make sounds when your doorbell rings. WBR, Lynx //Black Sand project! [team ZX] [Dark Jungle] [GoA] [Black Sand project] [PLUt0N!um] [GmD] [club LuK] [BoundLEss] [Zhabanina - mazdie]

From Ilya Chemistoff To Sergey Kovinov 14 February 2002

Hello Sergey! February 12, 2002 (it was 10:37 then) Sergey Kovinov in his letter to Vadim Chumachenko wrote: Everything is much simpler. I have a bell like this at home. He plays the envelopes and all three channels, and on the side it’s not very complicated. there it is divided into Mouzons, each 11 seconds, exactly that much fits into 16384 bytes, Thus, 8 Mouzons fit into the 27010 mikruhu. I have it at home 8, there are 37 ready-made tracks. The circuit is designed for a maximum of 27080.64 Mouzon. Actually, the most expensive of all this is the ROM and AY percentages. Everything... It has been working for about two years without any problems. SK> Hello, Vadim. SK> Wrote once by Vadim Chumachenko to All, and I decided to drop a couple SK> lines: VC>> give me an idea on how to better make the subject. thank you! SK> Offhand. A bunch of counters, ROM, AY SK> I.e. 50 times per second (to take existing melodies) from ROM SK> throw 14 bytes (16 to simplify addressing) into AY and enjoy SK> melody. Problems: 1. 16*50=800 bytes per second, i.e. will be included in 27512 SK> approximately 82 seconds (it seems normal for a call, even for a few SK> melodies) 2. if the melody uses envelopes, then you cannot change SK> envelope registers at this time, so you need to abandon the effects SK> envelope in the melody or introduce tricks into the circuitry. SK> if 16 bytes is a lot, then we start cutting: SK> 1. the last 2 registers are not needed immediately, but will need to be monitored SK> by allocating 14 bytes, this is done by an end-to-end counter using ROM and SK> additional by 14 for recording. 2. do we need an envelope? savings SK> 2-3 more registers (I don’t remember how many exactly) 3. do we need 3 SK> channel audio? each channel 3 bytes (2-tone, 1 volume) 4. is it necessary SK> noise? 1 byte 5. Is it necessary to change the channel mode? (7 register AY) 1 byte SK> these abbreviations will _significantly_ complicate the scheme. SK> Here's another option: SK> Expand the ROM capacity to 12 bits (27512+27256 with KP11 on the last one) SK> there will be 1 byte of data and 4 address bits for AY SK> then a general 16-bit counter to the ROM address of the pulse generator SK> start loading AY (50Hz), i.e. AY loading starts every 20ms SK> (at a high frequency, about 500 kHz, there is still a frequency of 1.75 MHz SK> for AY) To stop you can (_need_) use the left address - 15. SK> Address 14, for example, can be used to stop the melody as a whole. SK> We get that the data block will be from 1 (nothing has changed in 20ms) to SK> 15 (full load AY) It all depends on the melody (for example, silence SK> will be 65536/50/60=21.8453min) And the melody can be anything SK> If you need ideas for a specific scheme, write... SK> That's all. /Sergey/ [] SK> With a large carriage of regards and viciouses. SK> (Pickup from the station SVERDLOVSK-SORTING car #965499445) Best regards, Ilya

From Vadim Chumachenko To All 22 February 2002

Hello, All! Give me an idea on how to make the subject better. Thank you! Best regards, Vadim.