Loading patch in n-Track Studio 8 beta
HI Everyone,
I’m one of the developers of n-Track Studio, a cross-platform Digital Audio Workstation available for Mac, Windows, iOs and Android (www.ntrack.com).
The new beta version of n-Track Studio 8 now include a new VST3 to allow to load and use Pure Data patches inside the workstation.
I'm still working on a complete user guide and I have prepared a temporarily FAQ page to help user to create compatible pd patch and test them in n-Track Studio:
http://en.ntrack.com/faq.php?category=13&showAll=1
I hope you’ll enjoy our project to make a new tool for the Pure Data community.
Marco
Pure Data VST3 in n-Track Studio 8 Beta
HI Everyone,
I’m one of the developers at n-Track Software, a little audio software house based in Rome since 1993.
Our main product is n-Track Studio a cross-platform Digital Audio Workstation available for Mac, Windows, iOs and Android (www.ntrack.com).
n-Track Studio is an entry level software, designed for hobbyists and semi-professional musicians, as well as researchers and students.
For these reasons, we have also developed a new VST3 available only for desktop version of the Studio to allow to load and use Pure Data patches inside the workstation.
Currently we only support the patches created using Pure Data Vanilla distribution and we only support the visualization of sliders, canvas, radio buttons, buttons and toggle items.
I’m still working to improve the plugin and its features.
I’m also adding a section in the user guide and a tutorial to help users use the plugin. The links are available as soon as possibile on our web site.
We’re currently looking for beta tester to help us to improve the plugin.
You could download the Studio at this link:
http://en.ntrack.com/download.php
I have also prepared a temporarily FAQ page to help user to create compatible pd patch for n-Track Studio:
http://en.ntrack.com/faq.php?category=13&showAll=1
I hope you’ll enjoy our project to make a new tool for the Pure Data community.
Marco
Networked Audio problems
Hey guys,
It's a super old post but since the netsend~ and netreceive~ are old as well I thought to add my 2 cents here.
I ran into similar problems connecting a Linux desktop to a Raspberry Pi with netsend~ and netreceive~. My desktop cpu (x86_64) and the ARMv7 of the Raspberry have different word lengths (64bit vs. 32bit). The problem is that the header tag uses long datatype for the members count and framesize, which the compiler maps to the word length of the current architecture. Thus, the send and receive ends of the transmission interpreted a different sized header tag, causing strange error messages about too many channels and incompatible header size.
To fix it, I simply edited the file netsend~.h and changed the datatypes of the members from long to unsinged int (or to something that is guaranteed to stay as standard size like __u32 just to make sure). I also wonder if the array extension is necessary because if you order the larger datatypes first, the compiler seems to pad the overall size of the struct to 12 in both 64 and 32 bit machines.
typedef struct _tag { /* size (bytes) */
__u32 count; /* 4 */
__u32 framesize; /* 4 */
char version; /* 1 */
char format; /* 1 */
char channels; /* 1 */
//char extension[5]; /* */
} t_tag; /*--------------*/
/* 11 */
Btw, does anyone know if there is a more updated version of netsend~ and netreceive~ available since the 1.0b by Remu?
Network-setup: basic problem
Hi there,
I have a very basic question about netsend /netreceive (as it does not not work on my test-setting).
The aim: I'm working on an installation with 28 mono speakers, connected to computers. On bang, they have to start playing pre-recorded audiofiles.
The idea is to use [netsend Host_IP PortNumber] at my hostcomputer and [netreceive PortNumber 1] at all clients.
As long as Host and Client 1 are on the same machine, it's all fine.
The problem:
In my test-network with two computers (it works for several months: two mac osx, pd extended, already connected via lan-gigabit-switch, sharing same subnetmask and static ip-adresses) Client 2 (not running the Host) does not react.
I tried as seen in all helpfiles [netsend PortNumber 1] (as it works for Client 1): no reaction.
I tried to define the host-ip by inserting [netsend Host_IP PortNumber 1]: error: bad arguments for message 'netreceive' to object 'objectmaker' ... couldn't create.
What is the trick to let pd connect between two computers?
Thanks in advance,
phili2p
UDP for headtracking using netreceive
I'm trying to get a data stream from a headtracking application (Facetrack Noir) into PD. Currently the best I could do was to get the first of a string of 6 doubles sent by Facetrack Noir. I tried both udpreceive and netreceive (netreceive set to udp mode using the "1" specifier). For some reason, only the netreceive works right now, not udpreceive (yes, mrpeach library is loaded).
I use the netreceive, and output to print and to an unpack object. I can see the data stream corresponding to the first data object in the UDP packet, both at the print and on the number box at the first output of the unpack. But nothing on the other number boxes at the outputs of unpack object.
[netreceive 5551 1]
|
|\
| \
| \
| \
| \
| \
| \
[print] [unpack f f f f f f ]
| | | | | | |
The Facetrack Noir (FTN) app is set to broadcast to localhost at port 5551, and is sending an ascii string with ";" separators. Here is the relevent code section from FTN:
sprintf_s(data, "%.2f;%.2f;%.2f;%.2f;%.2f;%.2f\n\0", FlightData.x, FlightData.y, FlightData.z, FlightData.p, FlightData.h, FlightData.r);
if (outSocket != 0) {
no_bytes = outSocket->writeDatagram((const char *) &data, strlen( data ), destIP, destPort);
if ( no_bytes > 0) {
qDebug() << "FGServer::writePendingDatagrams says: bytes send =" << data;
}
else {
qDebug() << "FGServer::writePendingDatagrams says: nothing sent!";
}
}
writeDatagram is using Qt 4.6.2.
Could it be the separator used? I can't find much documentation on how to use UDP in PD in general. Any help appreciated.
ADDED: I just saw that I am in fact seeing all 6 data items in the print stream, just not unpacking correctly.
Todd Welti
Netsend/Netreceive and MIDI
Hi Simon,
Fun idea - yes, it can be done (I found it usable on a wired Ethernet LAN). I'd recommend using UDP mode for the netsend/netreceive, since you're dealing with events and you want the lowest latency.
In the netreceive help patch, note that the "send foo" stuff is actually a message box, it's not a send object - that's why your receive doesn't see anything. Open the netsend and netreceive help patches, then click the "connect localhost 3001" message for netsend. Then, twiddle the number in the netsend patch and you should see the messages printed to the main Pd window.
If you hook up a number box to the netreceive's output and delete the "foo" from the netsend's message, you should see the number changing in the netreceive patch itself.
Hope this helps!
Netreceive from remote location
I am trying to receive info from a VBScript. If I am listening with [netreceive] on port 4000, wouldn't TCP messages sent to my computer's IP address port 4000 over the network be received by the [netreceive]? Does [netreceive] only work on the locally?
Any ideas?
I am using windows xp.
Thanks
Dsp clics
hi hardoff! recently weve been having quite a dialogue
im having flash to send via php all the spacialization info i need every frame in a second(writing a text file), when it finishs writing it sends pd an order (via netreceive) to load the file:
[netreceive 4000]
[bang]
[;
mytable read myfile.txt;]
this process is going every 25 times per second, but only when spacialization values change in flash it makes these weird clics.
other weird thing i cannot understand is that is i open my flashplayer in my computer(localhost) dsp goes around 84%, but if i open it in other machine it goes up to (120%) and then it clics a lot!!!
do you know were i can find info to understand dsp? i think the problem might come from here!!
Online mixing sound
@mcardoso said:
dont use osc! netsend/netreceive is much faster.
use php to write big blocks of data and netsend/netreceive to alert pd that info was sent!!
whats netsend/netreceive?
Online mixing sound
dont use osc! netsend/netreceive is much faster.
use php to write big blocks of data and netsend/netreceive to alert pd that info was sent!!