• fred_dev

    Sorry, this is likely very basic and probably in the forum somewhere. I am using pd inside openframeworks as libpd, I cannot use any addons, just the vanilla pd. I need to record wav files and specify a unique name and path, using the exposed pd.subscribe("variableName"); function in c++.

    I am using writesf~ and in my pd patch this has open example.wav, start I need to keep the open and the start part of the message but I need to add the file name and path as a variable accessible from c++ through OF. I can use $ to add a float or integer, but when I need to use a string I cannot get it to work (or understand how to make it work).

    What do I need to do to create a named and accessible string variable inside PD that I can call from the pd.subscribe("variableName") function that feeds into the writesf object to create and then record to a wav file. I am performing tests on OSX but hope to deploy this on IOS and android. The variable name will be a string in c++ as that is where I can do the string manipulation.

    Again, i want to do this without any addons and using vanilla PD to keep everything compatible.

    Sorry if this is very basic and covered already, I have tried searching the forum but maybe I am not using the correct syntax

    Cheers

    Fred

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!