Hi guys,

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.

--
Fergal Toohey
------------------------------------------------------------------------------
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