<div dir="ltr"><div class="gmail_extra">On 8 March 2013 13:25, Doug Cooper <span dir="ltr"><<a href="mailto:doug.cooper.thailand@gmail.com" target="_blank">doug.cooper.thailand@gmail.com</a>></span> wrote:</div><div class="gmail_extra">
<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div id=":2ff">Yes, this states the server solution exactly.  This does not pose any<br>

technical barrier (it's just a matter of providing a wrapper for<br>
something like sox or mp3splt). </div></blockquote></div><br><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:12.727272033691406px">I recently knocked up something that did exactly what John described. I implemented it as a Python CGI script running on a web server. You pass a filename and the start/end time periods and it uses the Python Wave library to simply generate a new wave file and then sends that to the web browser as Content-Type: audio/wav.</div>
<div class="gmail_extra" style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div class="gmail_extra" style="font-family:arial,sans-serif;font-size:12.727272033691406px">As you say if you're working on mp3 data it would need to be more sophisticated, piping to mp3splt etc. </div>
<br clear="all"><div>-- <br></div>Regards,<br><br>Mat Bettinson<br><br>
</div></div>