Giter Site home page Giter Site logo

port's People

Contributors

coderofsalvation avatar eerne 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

Watchers

 avatar  avatar

port's Issues

Very slow with arrays

This project is incredible. It really helps me with my PhD dissertation. Is there any more intent to work on it? There seems to be a data transmission between puredata and javascript through stderr text, which seems to be very slow. Is there a way to pass the data directly into PD so that it is faster? I might be misinterpreting the documentation.

Thanks,
Nakul

node v0.10.0

node tests/run.js

Starting Tests..

Port create (6 Tests):
 - should create a Pd process with -nogui flag and receive data from [print]... Passed (4/4).
 - should create and destroy 20 times in a row... Passed (20/20).
 - should create a Pd process with -stderr flag and receive data from [print]... Passed (8/8).
 - should send a message to Pd using the -send flag... Passed (2/2).
 - should send a long message to Pd using the -send flag... Passed (1/1).
 - should send many messages to Pd using the -send flag... Passed (2/2).
End Port create: Passed (Passes: 6, Failures: 0).

Port connection (11 Tests):
 - should expose 2 sockets for [netsend] and [netreceive]... connections property is deprecated. Use getConnections() method
Passed (3/3).
 - should echo messages sent to Pd... Passed (5/5).
 - should pass the raw buffer object if no encoding is specified... connections property is deprecated. Use getConnections() method
Passed (2/2).
 - should connect to two Pd instances in parallel... connections property is deprecated. Use getConnections() method
Passed (3/3).
 - should establish a oneway sending connection... connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
Passed (3/3).
 - should establish a oneway receiving connection... Passed (4/4).
 - should receive data from 2 [netsend] objects... connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
Passed (3/3).
 - should limit the incoming connections to 1... connections property is deprecated. Use getConnections() method
Passed (3/3).
 - should create and destroy a one way connection 16 times in a row... connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
Passed (32/32).
 - should allow to connect to a manually spawned Pd process... connections property is deprecated. Use getConnections() method
Passed (2/2).
 - should dismiss invalid write data... connections property is deprecated. Use getConnections() method
Passed (2/2).
End Port connection: Passed (Passes: 11, Failures: 0).

Port Events (2 Tests):
 - should test the scope of all event callbacks... connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
Passed (14/14).
 - should create, write and destroy 20 times... connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
connections property is deprecated. Use getConnections() method
Passed (40/40).
End Port Events: Passed (Passes: 2, Failures: 0).

Tests Finished: Passed (Passed: 19, Failed: 0)

Building pd with gyp?

I guess most people using Pd on OS X use millers pre build app or Pd-extended. Assumed that Pd is available on cli on linux. Not sure about how people use Pd on windows. It is currently configurable which pd should be used

port/port.js

Lines 23 to 25 in 812cb52

pd: (('darwin' == process.platform)
? '/Applications/Pd-0.45-5-64bit.app/Contents/Resources/bin/pd'
: 'pd'),

Personally I build Pd with something like this: https://gist.github.com/thisconnect/1971808 (it's a bit out of date).

Should the pd binary be installed and put into port/bin/pd on npm install?

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.