Logo Search packages:      
Sourcecode: jokosher version File versions  Download package

def EventViewer::EventViewer::volFromPixy (   self,
  pixy 
)

Converts a Y pixel position in the waveform into a volume (0.0-1.0)

Definition at line 687 of file EventViewer.py.

00687                                 :
            """Converts a Y pixel position in the waveform into a volume (0.0-1.0)"""
            return 1.0 - (float(pixy) / self.allocation.height)

      #_____________________________________________________________________
      
      def setAudioFadePointsFromCurrentSelection(self):


Generated by  Doxygen 1.6.0   Back to index