Metadata-Version: 2.1
Name: LvAut
Version: 2021.0.7
Summary: Audio wav file test module
Home-page: https://github.com/Lorrytoolcenter/LvAut
Author: lorry_rui
Author-email: lrui@logitech.com
License: UNKNOWN
Description: Copyright (c) 2021 lorry_rui  
        
        //////////usage:///////////////// 
         
        for test sweep tone WAV file only  
        
        VC_tde USE only  @ logitech , Lorry RUi  
        
        https://pypi.org/project/LvAut  
        
        https://github.com/Lorrytoolcenter/LvAut  
        |tests| |coverage| |docs| |python-versions| |license|
        
        The Python package **audio_wav** handles all kind of audio files
        sample code:
        ============== 
        .. code:: python  
        
           import LvAut.lvaut_THD as AUT 
           filename='yourfile.wav' 
           signal, sample_rate, channels=AUT.load(filename) 
        
        analyze_channels
        -----------------
         
        .. code-block:: python 
        	import LvAut.lvaut_THD as AUT  
        	filename='Device_Mic_THD_R_3.wav'  
        	trigeFrequncy=400  ## this need sweep from high(above 400) to low sweep tone  
        	stopananlysis=100   ## stop analyze_channels  
        	channaelselect=1 ### if recording is dual channel ,leftchannel=1, rightchannel=2, otherwise no need to define  
        	freq,thdh,thd_N,power,Freq_THD,thd_data,Freq_Power,PowerS,RubBuzz_data=AUT.analyze_channels(filename, trigeFrequncy,stopananlysis,channaelselect) 
        	print('FFT Frequency:   %.1f Hz' % freq)  
        	print("Sweep Max THD:   %.4f%% " %thdh)  
        	print("Sweep Max THD+N: %.4f%%      Note, this is single tone use only " %thd_N)  
        	print("Max Power:       %.2fdB " %power)     
        	
        	
        	
        ============== 
        -freq  means: single tone , measured frequncy  
        -thdh   means: Sweep Max THD 
        -Freq_THD, measure THD's frequency
        -thd_data, measure THD's data
        -Freq_Power,measure Power's frequency
        -PowerS,  measure Power's data
        -RubBuzz_data    measure RB's data
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
