I need to recover the audio amplitude of the used file in the export  (LipsyncDoc.py) . there some way to have an access to it ?
thanks in advance 
and sorry for my english.
			
			
									
									
						audio amplitude
Moderators: Víctor Paredes, slowtiger
- Lost Marble
 - Site Admin
 - Posts: 2368
 - Joined: Tue Aug 03, 2004 10:02 am
 - Location: Scotts Valley, California, USA
 - Contact:
 
Since it sounds like you're working with the source, search in the file WaveformView.py for a call to the function GetRMSAmplitude(). It takes two arguments - the start time and the duration of the section of time you want the amplitude. There are two similar functions: GetAmplitude() gets the average amplitude for the time slice, and GetMaxAmplitude() gets the maximum amplitude for the time slice.