#NEWLINE# def stero_pan( x_coord , screen_width ) : #NEWLINE# #INDENT# right_volume = ( float ( x_coord ) / screen_width ) #NEWLINE# left_volume = ( 1.0 - right_volume ) #NEWLINE# return ( left_volume , right_volume )