samplerate for each frame to calculate the duration
of that frame.
1152 samples / 44100 samples per second ~ 0.026 seconds
I don't exactly know whether you need to include mono/stereo into the
calculation, you would have to test that out.
Regards,
Florian Schulze
--
http://mail.python.org/mailman/listinfo/python-list
7;1','\\n',s)
'\n'
>>> '\\n'
'\\n'
>>> re.sub('1',r'\\n',s)
'\\n'
>>> s.replace('1','\\n')
'\\n'
>>> repl = '\\n'
>>> re.sub('1',repl,s)
'\n'
>>> s.replace('1',repl)
'\\n'
Why is the behaviour of the regexp substitution so weird and can I prevent
that? It breaks my asumptions and thus my code.
Regards,
Florian Schulze
--
http://mail.python.org/mailman/listinfo/python-list