| 
									
										
										
										
											2019-04-15 14:49:41 +02:00
										 |  |  | <?xml version="1.0" encoding="UTF-8" ?> | 
					
						
							|  |  |  | <class name="AudioEffectSpectrumAnalyzerInstance" inherits="AudioEffectInstance" category="Core" version="3.2"> | 
					
						
							|  |  |  | 	<brief_description> | 
					
						
							|  |  |  | 	</brief_description> | 
					
						
							|  |  |  | 	<description> | 
					
						
							|  |  |  | 	</description> | 
					
						
							|  |  |  | 	<tutorials> | 
					
						
							|  |  |  | 	</tutorials> | 
					
						
							|  |  |  | 	<methods> | 
					
						
							|  |  |  | 		<method name="get_magnitude_for_frequency_range" qualifiers="const"> | 
					
						
							|  |  |  | 			<return type="Vector2"> | 
					
						
							|  |  |  | 			</return> | 
					
						
							|  |  |  | 			<argument index="0" name="from_hz" type="float"> | 
					
						
							|  |  |  | 			</argument> | 
					
						
							|  |  |  | 			<argument index="1" name="to_hz" type="float"> | 
					
						
							|  |  |  | 			</argument> | 
					
						
							|  |  |  | 			<argument index="2" name="mode" type="int" enum="AudioEffectSpectrumAnalyzerInstance.MagnitudeMode" default="1"> | 
					
						
							|  |  |  | 			</argument> | 
					
						
							|  |  |  | 			<description> | 
					
						
							|  |  |  | 			</description> | 
					
						
							|  |  |  | 		</method> | 
					
						
							|  |  |  | 	</methods> | 
					
						
							|  |  |  | 	<constants> | 
					
						
							|  |  |  | 		<constant name="MAGNITUDE_AVERAGE" value="0" enum="MagnitudeMode"> | 
					
						
							| 
									
										
										
										
											2019-06-27 11:10:53 +02:00
										 |  |  | 			Use the average value as magnitude. | 
					
						
							| 
									
										
										
										
											2019-04-15 14:49:41 +02:00
										 |  |  | 		</constant> | 
					
						
							|  |  |  | 		<constant name="MAGNITUDE_MAX" value="1" enum="MagnitudeMode"> | 
					
						
							| 
									
										
										
										
											2019-06-27 11:10:53 +02:00
										 |  |  | 			Use the maximum value as magnitude. | 
					
						
							| 
									
										
										
										
											2019-04-15 14:49:41 +02:00
										 |  |  | 		</constant> | 
					
						
							|  |  |  | 	</constants> | 
					
						
							|  |  |  | </class> |