Page 1 of 1

Posted: 11 Jul 2013, 02:17
by soundmind
Has anyone considered creating a user module to run pure data patches in usine? The Csound for usine module is a great accomplishment but the scripting nature of Csound is harder to master for non scripters. PD vanilla has a very unrestrictive license and runs natively on all major OS. Also there is libpd which makes it easy to incorporate pd in other apps. Any thoughts?

Posted: 17 Jul 2013, 01:43
by oli_lab
In fact, the scripting nature of CSOUND is extremely effective once passed the lower end of the learning curve...
very good for delay and electronic sound generation !
Puredata is very good for synth models : it has a way of handling digital audio that allows for logic gate on audio signals : quite fun, PWM and omission oscillators can be programmed.

I use Csound4Usine on a daily basis and I'm starting to die for a X64 version for Hollyhock !

Please !

Olivar

Posted: 17 Jul 2013, 09:32
by nay-seven
transmitted to Martin ( caco)...:)

Posted: 17 Jul 2013, 11:09
by caco
Sadly there is no x64 version of Csound 5 available so I cannot make an x64 compatible module. Csound 6 is due out imminently so hopefully there will be an x64 version of that at some point but I've looked through the release notes and there is no mention of x64 so it seems unlikely :(

I think libpd has an x64 version so that could be used for an x64 Hollyhock module but last time I checked there were issues with static variables in libpd meaning you could only ever have one instance loaded without problems occurring.

I will keep monitoring the situation and if anything changes I am happy to look into building Hollyhock user modules for them :)

Posted: 17 Jul 2013, 14:15
by soundmind
this is great news. thanks for showing interest in this and good luck

Posted: 17 Jul 2013, 14:37
by oli_lab
caco wrote:I will keep monitoring the situation and if anything changes I am happy to look into building Hollyhock user modules for them :)
thank you !

can't X64 module be bridged to X32 Csound ? or is it too much trouble?

I'll try to make usine patch in VST32 and bridged it inside hollyhock, not the straigh forward thing but.

I'm just a newbie with SDK, managing to to little things on string for now on;

but as I understand it is possible to use third party libraries in C++

like one of my goal would be to use openCV libraries with user modules, but I'm quite faraway from it !

I think objects in Pd are build in C++ as well, could it be possible to use those code to make separate user modules (mostly in audio) ?

basic building blocks at sampling rate like &&, *,cos(x) could be of great help at creating modular synth patches. (or maybe they can be built directly with what's in the SDK

cheers

Olivar

Posted: 17 Jul 2013, 20:09
by caco
You could build a bridge between the x86 Csound libraries and an x64 Hollyhock user module but Csound relies on many other external libraries itself so may well end up complicated so is not something I currently have time to do.

Pd externals are typically coded in C so in theory you could build a Hollyhock user module that can load and use them but again I suspect this would be a fair bit of work. Probably simpler to just port whichever modules you are interested in to Hollyhock's SDK or fix libpd.

Audio rate modules like cos(x) are very simple to do with the Hollyhock SDK.

Cheers

Martin

Posted: 17 Jul 2013, 20:47
by oli_lab
"Audio rate modules like cos(x) are very simple to do with the Hollyhock SDK"

I'll try that

I had a look at supercollider as well, and as I understand it is a sound server that is driven by OSC,
I just have to sort out how to handle audio between Usine and SC, but the RME sound card could solve the problem...

Posted: 18 Jul 2013, 09:40
by caco
Supercollider is not easy to embed (at least on Windows anyway) so your best bet would be using Usine to control it via OSC and then trying to route the audio back in to Usine via JACK or a virtual audio cable if your sound card cannot do it.

Posted: 31 Oct 2013, 13:33
by lalo
Hi all and caco,
any new plan on a csound6 module for Usine?
The last serial and leap motion makes my dreams wet :-D

a.

Posted: 01 Nov 2013, 16:10
by caco
I am desperate to have Csound in Hollyhock but unfortunately the Csound library is still x86 only. The day Csound becomes 64bit I will start coding the Hollyhock module :)

Posted: 02 Nov 2013, 11:11
by senso
I understand.
but a x86 is cool anyway?
the x64 version of Csound can take a long time?

Posted: 02 Nov 2013, 11:20
by lalo
yeah! i guess in the meantime we can use csound on Hollyhock x86!

Posted: 08 Nov 2013, 20:21
by oli_lab
Hi all !

in puredata, there is the [netsend~] module that allows to send audio through a network.
if we coulduse a Usine counter part, it would be then possible to run puredata for sound generation and Csound and have the audio directed to Hollyhock, even if one is 32 bits and the other 64 bits.
another way around would be to use reaplug stream VST : it's working fine bridged in Hollyhock 64bit, but haven't succeed to have it working properly with [vst~] in Puredata.

csound on Hollyhock x86 will be more straighforward, but.

cheers,
Olivar

Posted: 11 Nov 2013, 10:25
by caco
oli_lab wrote:Hi all !

in puredata, there is the [netsend~] module that allows to send audio through a network.
if we coulduse a Usine counter part, it would be then possible to run puredata for sound generation and Csound and have the audio directed to Hollyhock, even if one is 32 bits and the other 64 bits.
another way around would be to use reaplug stream VST : it's working fine bridged in Hollyhock 64bit, but haven't succeed to have it working properly with [vst~] in Puredata.

csound on Hollyhock x86 will be more straighforward, but.

cheers,
Olivar
Interesting, I wonder if reaplug stream vst would work loaded inside Csound??

But yes, Csound for x86 Hollyhock would be easier. I am very busy over the next few weeks but as soon as I get some free time I will take a look at it :)

Posted: 25 Dec 2013, 23:39
by oli_lab
:)

Posted: 17 Jan 2014, 21:53
by AndrewChi
The way pd patches look in notepad, look a bit similar to the .txt files in the Templates folder of Usine to me.
http://puredata.hurleur.com/sujet-7365-files-just-text

I recently discovered that Hollyhock's patches also don't look bad either :-)
I think this is a really powerful feature. Would it be possible to create a converter maybe?
Recently I was looking a bit into Rebol (and Red language) and it looks ?possible? at least for
something like standalone file conversion. Perhaps I'm overlooking some major problems, I'm a dreamer ;-) ...

Since Usine's graphical capibilities are much stronger and having a similar workflow and filetype, maybe it would be nice to be able to benefit from Pd's processing alone (oscillators, filters, user library), without having to adopt another "patching syntax" within Usine.
If a user module could just port the "missing" modules then Usine and Pd could be compatible.

Or is there something fundamentally different in the way Usine and Pd treat data?

Posted: 28 Jan 2014, 00:45
by oli_lab
Csound in Hollyhock X86 would be really great ! the power of synthesis meeting the live ability of Hollyhock !

:D

Posted: 26 Feb 2014, 14:05
by Shintylla
Why don't we include ReWire in usine?id like to be able to use Max.If not the only option left is bidule..Has anyone used it?

Posted: 26 Feb 2014, 14:11
by nay-seven
Rewire is on the road map for the futures Hollyhock version .

Posted: 01 Mar 2014, 23:04
by oli_lab
rewire won't resolve the Csound interoperability with Hollyhock :o

Posted: 16 Apr 2014, 10:58
by oli_lab
this is still in alpha but could be cool :

http://puredata.info/downloads/libpd

but still missing the CSOUND module in Hollyhock....sniff

Posted: 16 Apr 2014, 20:10
by caco
There has been some discussion on the Csound list about recently around making x64 builds available so hopefully it is getting closer.

However, I am currently unsure what would a Hollyhock-specific module could provide that Csound Cabbage cannot? If the answer is nothing then there is no real point to the module as it is just repeating something that already exists but if Cabbage is missing any functionality we need for Hollyhock then please post here so I know what needs addressing for the future Hollyhock module.

Posted: 17 Apr 2014, 18:25
by oli_lab
do you mean that cabbage should work with hollyhock 32 ?
this is great !

Olivar

Posted: 17 Apr 2014, 21:57
by oli_lab
it does it does !

great!

let's go back to work !

Posted: 26 Apr 2014, 23:33
by oli_lab
Actually I didnt find a way to make cabbage plug ins with more than 2 outputs...:/

Posted: 12 May 2015, 12:25
by lalo
Hi all, Cabbage doesn't provide yet multi in out functionalities. But i guess Rory will try to implement this soon.
Given that pd and csound modules for Hollyhock would be a dream!
And a fausgen one? or a faustgen script exporting usine modules?

Posted: 01 Oct 2015, 12:45
by oli_lab
Hi !

There is the VST32 & 64 Cabbage alternative, that's cool, but it is not really maintained and the User module was better for many reasons :
- you can open the CSound script from within Usine, tweaking is faster
- values can be input on any scale i.e. 0 to 1 float, Integers... (VST is limited to 0-1, which is a pain for frequency values...)

would it be possible now ? with CSound6
there is 2 flavour of CSound : single précision and double. I'm not sure double means that the software is 64bits but the internal computing is done in 64bit.
Cabbage manage to work as a 64bit vst with Csound double in the X86 programme folder...

Posted: 01 Oct 2015, 13:24
by lalo
AFAIK Cabbage is mantained...Rory is workin' on it..

Posted: 01 Oct 2015, 22:53
by oli_lab
:) this is good

Posted: 04 Oct 2015, 23:27
by oli_lab
lalo wrote:AFAIK Cabbage is mantained...Rory is workin' on it..
new version for cabbage is online, but no WIN64 build so far.

should be soon, I'm sure.

https://github.com/rorywalsh/cabbage/releases