예제 #1
0
파일: test_audio.py 프로젝트: tnoff/hathor
 def test_volume_data_png(self): #pylint:disable=no-self-use
     with test_utils.temp_audio_file(open_data=False) as temp_audio:
         with utils.temp_file(suffix='.png') as temp_png:
             editor.volume_data_png(temp_audio, temp_png)
예제 #2
0
파일: audio_cli.py 프로젝트: tnoff/hathor
def volume_png(args):
    print 'Writing data to %s' % args.output_file
    editor.volume_data_png(args.input_file, args.output_file)