2022-10-16 01:53:05 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								# ZX Spectrum beeper
  
						 
					
						
							
								
									
										
										
										
											2022-06-06 10:49:39 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2022-10-16 01:53:05 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								rather than having a dedicated sound synthesizer, early ZX Spectrum models had one piezo beeper, controlled by Z80 CPU and ULA chip. its capabilities should be on par with an IBM PC speaker... right?
							 
						 
					
						
							
								
									
										
										
										
											2022-06-06 10:49:39 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-09-10 18:58:49 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								not really - very soon talented programmers found out ways to output much more than one square wave channel. a lot of ZX beeper routines do exist, but Furnace only supports two engines:
							 
						 
					
						
							
								
									
										
										
										
											2023-07-09 08:21:12 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  a Follin/SFX-like engine with 6 channels of narrow pulse wave and click drums. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  QuadTone: PWM-driven engine with 4ch of pulse wave with freely variable duty cycles and 1-bit PCM drums. 
						 
					
						
							
								
									
										
										
										
											2022-06-06 10:49:39 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-09-10 20:34:13 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## effects
  
						 
					
						
							
								
									
										
										
										
											2022-06-06 10:49:39 -04:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-06-23 21:13:37 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								-  **`12xx`**: set pulse width. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  **`17xx`**: trigger overlay drum. 
						 
					
						
							
								
									
										
										
										
											2022-08-15 23:44:55 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  -  `xx`  is the sample number.
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								  -  overlay drums are 1-bit and always play at 55930Hz (NTSC) or 55420Hz (PAL).
							 
						 
					
						
							
								
									
										
										
										
											2022-10-16 01:53:05 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								  -  the maximum length is 2048!
							 
						 
					
						
							
								
									
										
										
										
											2023-08-04 12:11:53 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-09-10 20:34:13 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								## info
  
						 
					
						
							
								
									
										
										
										
											2023-08-04 12:11:53 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2023-09-11 00:57:46 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								this chip uses the [Beeper ](../4-instrument/beeper.md ) or [Pokémon Mini/QuadTone ](../4-instrument/pokemini.md ) instrument editor.
							 
						 
					
						
							
								
									
										
										
										
											2024-07-06 15:52:07 -04:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								## chip config
  
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								the following options are available in the Chip Manager window:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  **PAL**: run at 3.54MHz instead of 3.58MHz. 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								QuadTone provides this additional option:
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								-  **Disable hissing**: disables TDM hissing.