lua scripting and TempoMap

Eric Würbel <[email protected]>
Newsgroups gmane.comp.audio.ardour.user
Message-ID <[email protected]>
Hi,

I want to write a lua script (EditorAction) which needs to clear the
tempo map entirely and then write new tempo at some positions.

I managed to find how to get the tempo map from the session with
Session:tempo_map(). I understand that to add tempo events I have to use
the add_tempo method from the TempoMap class, but I don't see any way to
remove existin tempo events (TempoSection objects ?)

Is it possible to iterate over these objects ?

Thanks

Eric
-- 
http://www.vents-sauvages.fr/
_______________________________________________
Ardour-Users mailing list
[email protected]
To unsubscribe  or change your mailing preferences please visit:
http://lists.ardour.org/listinfo.cgi/ardour-users-ardour.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.