Welcome to %s forums

BrainModular Users Forum

Login Register

pd for usine?

Create your own modules in C++
Post Reply
soundmind
Member
Posts: 236
Contact:

Unread post by soundmind » 11 Jul 2013, 02:17

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?

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 17 Jul 2013, 01:43

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
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 17 Jul 2013, 09:32

transmitted to Martin ( caco)...:)

caco
Member
Posts: 306
Contact:

Unread post by caco » 17 Jul 2013, 11:09

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 :)

soundmind
Member
Posts: 236
Contact:

Unread post by soundmind » 17 Jul 2013, 14:15

this is great news. thanks for showing interest in this and good luck

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 17 Jul 2013, 14:37

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
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

caco
Member
Posts: 306
Contact:

Unread post by caco » 17 Jul 2013, 20:09

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

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 17 Jul 2013, 20:47

"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...
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

caco
Member
Posts: 306
Contact:

Unread post by caco » 18 Jul 2013, 09:40

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.

lalo
Member
Posts: 200
Location: italy
Contact:

Unread post by lalo » 31 Oct 2013, 13:33

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.

caco
Member
Posts: 306
Contact:

Unread post by caco » 01 Nov 2013, 16:10

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 :)

User avatar
senso
Site Admin
Posts: 4424
Location: France
Contact:

Unread post by senso » 02 Nov 2013, 11:11

I understand.
but a x86 is cool anyway?
the x64 version of Csound can take a long time?

lalo
Member
Posts: 200
Location: italy
Contact:

Unread post by lalo » 02 Nov 2013, 11:20

yeah! i guess in the meantime we can use csound on Hollyhock x86!

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 08 Nov 2013, 20:21

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
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

caco
Member
Posts: 306
Contact:

Unread post by caco » 11 Nov 2013, 10:25

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 :)

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 25 Dec 2013, 23:39

:)
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

AndrewChi
Member
Posts: 62
Location: Belgium
Contact:

Unread post by AndrewChi » 17 Jan 2014, 21:53

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?

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 28 Jan 2014, 00:45

Csound in Hollyhock X86 would be really great ! the power of synthesis meeting the live ability of Hollyhock !

:D
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

Shintylla
Member
Posts: 125
Contact:

Unread post by Shintylla » 26 Feb 2014, 14:05

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?

User avatar
nay-seven
Site Admin
Posts: 5684
Location: rennes France
Contact:

Unread post by nay-seven » 26 Feb 2014, 14:11

Rewire is on the road map for the futures Hollyhock version .

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 01 Mar 2014, 23:04

rewire won't resolve the Csound interoperability with Hollyhock :o
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 16 Apr 2014, 10:58

this is still in alpha but could be cool :

http://puredata.info/downloads/libpd

but still missing the CSOUND module in Hollyhock....sniff
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

caco
Member
Posts: 306
Contact:

Unread post by caco » 16 Apr 2014, 20:10

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.

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 17 Apr 2014, 18:25

do you mean that cabbage should work with hollyhock 32 ?
this is great !

Olivar
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 17 Apr 2014, 21:57

it does it does !

great!

let's go back to work !
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 26 Apr 2014, 23:33

Actually I didnt find a way to make cabbage plug ins with more than 2 outputs...:/
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

lalo
Member
Posts: 200
Location: italy
Contact:

Unread post by lalo » 12 May 2015, 12:25

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?

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 01 Oct 2015, 12:45

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...
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

lalo
Member
Posts: 200
Location: italy
Contact:

Unread post by lalo » 01 Oct 2015, 13:24

AFAIK Cabbage is mantained...Rory is workin' on it..

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 01 Oct 2015, 22:53

:) this is good
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

User avatar
oli_lab
Member
Posts: 1261
Location: Brittany, France
Contact:

Unread post by oli_lab » 04 Oct 2015, 23:27

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
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests