In an effort to work around the data lost at
the end of a file encoded to mp3 (Lame)
I am trying to append a blank to the end
of my source and have it cut off instead
of actual sound information, but I cannot
make heads or tails of the append function
in the documentation:
append(?id:string,?insert_missing:bool,?merge:bool,source('a),
(([(string*string)])->source('a)))->source('a)
What would an actual call to this function
look like? I can only find one example of its
use (in utils.liq) but I find it equally baffling:
fun (s,~pattern=p) ->
append(s,fun (m) -> request.queue(queue=[request.create(pattern % m)],
interactive=false))
Let's say I have a source:
source = once(single(argv(1)))
and I want to append 100ms of blank data to it..:
once(blank(duration=0.1))
What would the append call look like? Is it some kind of queer oCaml thing?
append(merge=true, once(blank(duration=0.1)), source)
does not work...
source -> append(merge=true, once(blank(duration=0.1)) -> source)
does not work...
I have no idea what the documentation is trying to say. It just makes no sense.
I just wan't to append/merge a bit of blank data to the end of my source.
Does anybody know how to do that?
Or does anyone understand the syntax of append?
------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users