Giter VIP home page Giter VIP logo

pd-fileutils's People

Contributors

dependabot[bot] avatar dromer avatar kaosbeat avatar sebpiq avatar toolness avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

pd-fileutils's Issues

add width & height to the rendered SVG

Otherwise the SVG is cropped inside the page :

<!doctype html>
<html>
  <head>
    <style>
      body {
        background-color: black;
      }
img {
        background-color: red;
}
    </style>
  </head>
  <body>
    <img src="https://enzienaudio.com/a/dave?fetch=https://raw.githubusercontent.com/mhroth/ZenGarden/master/test/MessageInteger.pd" />
  </body>
</html>

chunk #C

Add support for it. First maybe find what it is :)

[bug] comments are shown in different position than expected

For some reason, comments are being shown higher than expected. These can cause some conflicts, since comments are sometimes used to describe an object to its immediate side. E.g., look for the two comments <- input 1, 2, 3 or 4 here and <- input a, b, c or d in the following patch:

https://enzienaudio.com/a/dave?fetch=http://forum.pdpatchrepo.info/uploads/files/upload-e60ec29d-d318-4a97-bd8b-d223650acc35.pd

Corect display: http://forum.pdpatchrepo.info/uploads/files/upload-cf44d166-49be-4ef4-9adb-dd90079f8d3b.png

Limit width of rendered objects

I found two displaying problems with objects in general. The first is that objects are not limited in span as they are in pd vanilla, extended or l2Ork. The second one is when an object contains a comma (such as when using [expr if]), the comma is displayed as , and not simply ,

These problems may also appear in messages, although I haven't test that yet.

Example. Compare this...: https://enzienaudio.com/a/dave?fetch=http://forum.pdpatchrepo.info/uploads/files/upload-4b5f0aba-6363-4f49-975f-df5a26f4a66a.pd

...to this: http://forum.pdpatchrepo.info/uploads/files/upload-76b1b5da-45ac-48be-b406-a93c883518cc.png

EDIT: I also noted that the messages are truncated. Where the png shows [0.123456789( pd-fileutils shows [0.1234567(

semicolon and messages

When one types a semicolon inside a message in Pd, next time the patch is opened there is a line break between the semicolon and the rest of the message. Currently, pd-fileutils does not do that (see both messages in the right side of the patch below):

https://enzienaudio.com/a/dave?fetch=http://forum.pdpatchrepo.info/uploads/files/upload-e60ec29d-d318-4a97-bd8b-d223650acc35.pd

Corect display: http://forum.pdpatchrepo.info/uploads/files/upload-cf44d166-49be-4ef4-9adb-dd90079f8d3b.png

[bug] object width information should not be displayed

The width of an object is written in a .pd file as , f <n>, where is a number (note that only pd vanilla and l2ork can change the width of an object). Pd-extended, for instance, is programmed to ignore such (which is fairly easy, since no object name can contain a comma). The same should be applied to pd-fileutils: either ignore these information or make use of it for correct width, but do NOT display it such as below (see the last [unpack s s] in the very bottom of the patch which contains an , f 14):

https://enzienaudio.com/a/dave?fetch=http://forum.pdpatchrepo.info/uploads/files/upload-e60ec29d-d318-4a97-bd8b-d223650acc35.pd

Corect display: http://forum.pdpatchrepo.info/uploads/files/upload-cf44d166-49be-4ef4-9adb-dd90079f8d3b.png

check that ids are contiguous

When rendering to pd, ids are inferred from position of the object in the file, so we should check that when creating/rendering a patch, ids are contiguous.

clean json format

In parsing.parse, make a nicer format for when the graph is parsed.

Arrays aren't being displayed

Hi all,

Arrays are not displayed.. They show up simply as a box with the word "graph" written in it...

Anyone else with the same issue?

Tiago

Multi-line text wrap

Comments in pd patches are rendered on a single line, even though the text-box has line-breaks.

Work-around is to specifically create separate text-boxes for each line, but this is very tedious (and writing docs is already a lot of effort).

Ideally pd-fileutils takes into account multi-line text objects and renders them accordingly.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.