Jump to content


[request] Pattern Data To Html


  • Please log in to reply
4 replies to this topic

#1 Guest_Bantai_*

Guest_Bantai_*
  • Guests

Posted 11 March 2007 - 19:02

Displaying Pattern Data as HTML. Just like code snippets. Makes it easy to share pieces of pattern, without having to resort to sending a song or using images.

This topic may eventually be merged with MickRippon's Xrns Reader For Php.


Example usage:

- copy Pattern Data as XML from Renoise
- script translates XML to HTML (a table, most likely)

Optionally:

- XML source is displayed when clicking on the HTML, for easy copying into Renoise. Unfortunately, the target Pattern must match the layout of the copy.

- converting Envelopes to html

#2 Conner_Bw

Conner_Bw

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7083 posts
  • Gender:Male
  • Location:Montreal, Quebec, Canada

Posted 11 March 2007 - 22:00

Right now, I can open an XML in Jedit and use the Code2HTML plugin to convert the buffer (or a selection in the buffer) to html.

Is this what you want?

cpu Lenovo X220, Intel i7-2640M @ 2.80GHz ×4 os Windows 10 / Ubuntu 16.04 LTS
My Homepage » : My Renoise Tools » : Normalize Your Sig » : One million clicks! »


#3 Guest_Bantai_*

Guest_Bantai_*
  • Guests

Posted 11 March 2007 - 22:44

Well, close. But it is not the XML itself I want to display, but a HTML version of the Pattern. Some sort of Code2HTML specifically for Renoise data.

eg. you paste a selection from Renoise's Pattern...

<?xml version="1.0" encoding="UTF-8"?>
<PatternClipboard.BlockBuffer doc_version="0">
  <TrackColumns>
	<TrackColumn>
		<Lines>
		  <Line index="0"/>
		  <Line index="1"/>
		  <Line index="2"/>
		  <Line index="3"/>
		</Lines>
	</TrackColumn>
  </TrackColumns>
</PatternClipboard.BlockBuffer>

... and you get the following HTML after processing.

00 ... .. 0000
01 ... .. 0000
02 ... .. 0000
03 ... .. 0000


#4 Conner_Bw

Conner_Bw

    Probably More God or Borg Than Human Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPipPipPip
  • 7083 posts
  • Gender:Male
  • Location:Montreal, Quebec, Canada

Posted 11 March 2007 - 23:15

Yeah, that's pretty cool. +1 :)

cpu Lenovo X220, Intel i7-2640M @ 2.80GHz ×4 os Windows 10 / Ubuntu 16.04 LTS
My Homepage » : My Renoise Tools » : Normalize Your Sig » : One million clicks! »


#5 MickRip

MickRip

    Local Chief Member

  • Normal Members
  • PipPipPipPipPip
  • 231 posts

Posted 12 March 2007 - 02:23

Yeah, that's pretty cool. +1 :)


Yeah, I agree. I might look into it.