Le 7 novembre 2011 20:33, Fergal Toohey <[email protected]> a écrit :
> Hi guys,

Hi!

> I'm working on a project which requires the cue-out points to be specified
> during the playback of a track.
> At the moment, all tracks are chosen as requests over Telnet. In doing this,
> I'm able to set the liq_cue_in points via annotate as follows:
> request.push annotate:liq_cue_in="100.":G:\Music\monster.mp3
> Which works fine, the tracks start at the desired point in the song.
> Unfortunately, however, I cannot use this method to set the liq_cue_out
> metadata, as the desired cue-out point will only be chosen at some point
> during playback.
> So far, I am attempting to update the meta-data with an interactive.string
> via Telnet, as follows.
> --------------------
>
> cue_out = interactive.string("cue_out", "200.")
> s = request.queue(id="request")
> def update_metadata(m) =
> [("liq_cue_out", cue_out())]
> end
> s = map_metadata(update_metadata(), s)
> s = cue_cut(s)
> s = mksafe(s)
>
> output.ao(fallible=true,s)
> -----------------------
> The telnet command I'm sending is: var.set cue_out = "115.0"
> This successfully updates the metadata of the track that starts AFTER this
> command is sent, however, it does not appear to affect the metadata of the
> currently playing Request, which still maintains the old cue_out value - I
> need to be able to change the cue_out point of the currently playing
> Request.
> I should add that I will also need to adjust crossfade settings during
> playback, but I guess once I get the cue metadata behaviour right, the fade
> settings will be similar.
> Thanks in advance for any advice you might have. I've had a long search
> through all the documentation and the mailing list here, but I can't find
> anything about changing cue points on playing tracks.

Unfortunately, what you intent to do is not currently supported: the
cue operator only considers metadata at the beginning of the track...

I also do not see any sane alternative implementations. Thus, I
believe that the only solution is to add this feature to the code..
Could you fill a feature request there:
http://dev.sourcefabric.org/browse/LS so we can keep track of this?

Thanks,
Romain

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Savonet-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/savonet-users

Reply via email to