Copy Paste Track in TXT not XML

Hello,

I want to know if it is possible to copy notes as simple basic text and not as complex XML in order to paste the result into a TXT file ? To be more clear, with OpenMPT, when you copy (CTRL+C) a selection, you paste things like below and it can be an easy way to show something to someone. If not possible under Renoise, perhaps a way to convert XML into readable TXT?

|C-410…|C-502…|C-509…|…

|…|C-502…|C-509…SD2|…

|…|…|C-509…SD4|…

|…|C-602…|…|…

|C-410v00…|C-602…|C-509…|…

|C-410…SD2|…|C-509…SD2|…

|…|C-502…|C-509…SD4|…

|…|…|…|…

|…|C-602…|C-509…|C-503…

|C-410v00…|…|C-509…SD2|…

|C-410…SD4|C-502…|C-509…SD4|…

|…|C-602…|…|C-503…

|…|…|C-509…|…

|…|C-602…|C-509…SD2|C-503…

|…|C-502…|C-509…SD4|…

|C-410v00…|…|…|…

Thanks for help!

Sokoban

To try and quickly answer your question Sokoban. The way I’d start this is to write a small script/tool that outputs say a selection as a text file (then you copy that from a text editor to place it on the clipboard.) Probably just slightly easier than parsing and extracting the XML from what Renoise puts on the clipboard via cut/copy etc…

So as a very crude example I’d add a menu item to the Pattern:Selection context menu (via right click):

Attachment 7032 not found.

Ask the user for a filename and save out. I’ve attached a quick (it’s not perfect!) tool that begins this idea for you :slight_smile:

Ot maybe, but fyi there has also been this tool for displaying pattern content;

PMChordsLrg_0.png

https://renoise.com/tools/print-my-chords

Thank you for quick answers.

It seems to be good starting points. I tried to see if I can convert XML with XSL/XSLT, or with online tools, but the XML seems to be not very easy to convert this way. I keep all this in mind for later.

But before to learn LUA, I have to learn Renoise itself :lol: