Great snippet, I have a couple of songs in need. I changed the snippet into a tool for ease of access.
edit: Changed to taktiks improved code.
edit (16.11.2010): v 0.2 Added recalculation of beat synced instruments.
edit (19.03.2011): v 0.3 Improved error handling and updated for 2.7 beta (76 dl)
edit (23.04.2012): v 0.4 Version Notes:
- Updated to API version 3 for Renoise 2.8
- Added recalculation of delay column values for note columns.
- Added handling of (some) effect column commands related to time. (ZL, ZD, ZQ, 0U, 0D, 0G, 0I, 0O, 0Q, 0C)
- Added handling of (some) effect commands in volume (Ix, Ox, Qx, Cx) and panning (Jx, Kx, Qx, Cx) columns.