Difference between revisions of "Unconventional use of hardware to produce sounds"
From CPCWiki - THE Amstrad CPC encyclopedia!
(→Cassette Motor Relay) |
|||
(One intermediate revision by one other user not shown) | |||
Line 7: | Line 7: | ||
* Does not work on 464 and 464+ (which have internal transistor-driven tape drives without relays). | * Does not work on 464 and 464+ (which have internal transistor-driven tape drives without relays). | ||
* Does not work on 6128+ (which has no tape drive connector, and thus no relay). | * Does not work on 6128+ (which has no tape drive connector, and thus no relay). | ||
+ | |||
+ | == Disc Drive Motors == | ||
+ | |||
+ | The two disc motors can produce some sound: The spinning motor isn't very loud, but the track stepping motor can produce some knock-knock-knock sounds; the stepping rate and number of steps can be controlled by software. | ||
== Printer Beeper == | == Printer Beeper == | ||
Line 12: | Line 16: | ||
Several printers do have an beep function (for example, the [[Amstrad/Schneider DMP2000 Printer]]), producing a beep sound on receiving chr(7). | Several printers do have an beep function (for example, the [[Amstrad/Schneider DMP2000 Printer]]), producing a beep sound on receiving chr(7). | ||
* Works only if the printer is connected and switched on, only if the printer supports beeps, and only if the beep feature isn't disabled (via DIP-switch). | * Works only if the printer is connected and switched on, only if the printer supports beeps, and only if the beep feature isn't disabled (via DIP-switch). | ||
+ | |||
+ | [[Category:Programming]][[Category:Peripherals]] |
Latest revision as of 07:03, 1 September 2014
Some peripherals can be mis-used to produce sound effects...
Cassette Motor Relay
Switching the casette Motor On relay on or off can produce a 'click' sound (done via PPI Port C, Bit 4).
- Works only on 664 and 6128 (which contain a relay for use with external cassette drives).
- Does not work on 464 and 464+ (which have internal transistor-driven tape drives without relays).
- Does not work on 6128+ (which has no tape drive connector, and thus no relay).
Disc Drive Motors
The two disc motors can produce some sound: The spinning motor isn't very loud, but the track stepping motor can produce some knock-knock-knock sounds; the stepping rate and number of steps can be controlled by software.
Printer Beeper
Several printers do have an beep function (for example, the Amstrad/Schneider DMP2000 Printer), producing a beep sound on receiving chr(7).
- Works only if the printer is connected and switched on, only if the printer supports beeps, and only if the beep feature isn't disabled (via DIP-switch).