IDE inside Usine?
-
Clearscreen
- Member
- Posts: 482
- Location: Australia
- Contact:
Nice, seems to be a huge work, have you try it in Usine, at least the examples included..?
-
Clearscreen
- Member
- Posts: 482
- Location: Australia
- Contact:
So far it's crashing Usine & Live 9 here, so maybe it needs more work... Worth keeping an eye on though.
Seems to work now, on x64, albeit sluggishly (GUI update wise), but audio stream is sweet.

I imagine this shall come in very useful.

I imagine this shall come in very useful.
-
Clearscreen
- Member
- Posts: 482
- Location: Australia
- Contact:
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
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
I thought I want to learn Spanish but now I want to learn this crazy fucking language.
I wonder if it's possible for 40-year-old losers to code
I wonder if it's possible for 40-year-old losers to code
seamus: Lua is considered an easy language to grasp. not sure about CSound. Lua was also based conceptually on Pascal, so you will also be learning how to script in Usine 
40 is very young.
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
Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces
follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social
Ah so I could find some learning materials on Lua and it would be like learning to script in Usine.
I need to start at the beginning. I don't know anything about it.
S
I need to start at the beginning. I don't know anything about it.
S
Csound seems to have a reputation for being a difficult but really it's not that hard at all, plus there is a great book to teach you everything you need to know about the language - http://www.amazon.co.uk/The-Csound-Book ... 0262522616ceasless wrote:seamus: Lua is considered an easy language to grasp. not sure about CSound. Lua was also based conceptually on Pascal, so you will also be learning how to script in Usine
The big advantage of Csound is that it comes with all the audio modules you'll ever need built in. Whether you want to use FFT, filters, envelope followers, oscillators etc you just need to write the code to connect them. With something like Lua you'll also have to write the code to implement the dsp and the mathematics too.
Csound + Usine is an amazing combination that covers pretty much anything you could ever want to do
Unfortunately it would not be much like scripting in Usine. I realize the way I worded it made it sound that way. Programming is a trick of the mind, really. In that way the language isn't as important. I was just looking at the Usine SDK, which is in C++, and I am understanding a lot of it even though I don't know the language. It helps that I've programmed in the Pascal scripting of Hollyhock, as certain patterns appear again.
It's funny to use this term 'scripting', because Pascal is not a 'scripting language'. It has always meant something different, and in the 90s meant "bad performance (not compiled)" or "not to be taken seriously" or "hard to maintain". Now all those languages (Perl and her various daughters: Python, Ruby, PHP, etc.. Lua is a beautiful exception, because the godmother of her style is bricolage) are the heart of most major internet sites. And I'm "scripting" in Pascal, which is a compiled language and thus cannot be considered a 'scripting language' by the 90s definition I came up with.
But in the end, learning Pascal has been quite eye opening. There is a lot we are able to "get away with" once we understand the language. Part of that resides in Pascal's strictness with how you are able to define and operate on things. This strictness is confusing while learning the language but is what has allowed such powerful access to Usine's features. Like everything, it cuts both ways.
And the strictness is also why it is considered a good language to learn programming. It was in fact designed to help make expressing and learning what it means to program. So there are many books available, and perhaps quite cheap on the used market, that can teach you a lot.
@caco, I've looked further into Csound, and that indeed sounds very powerful. I didn't mean to imply that it is difficult, only that I don't know how easy it is to learn programming with. It may be even better than Pascal, since it makes sound and can provide immediate feedback. But it also has cryptic keywords, which is the opposite of another of Pascal's legacies (no cryptic keywords) whose influence permeates programming languages today. (Immediately starts dreaming of a Csound DSL transpiler).
It's funny to use this term 'scripting', because Pascal is not a 'scripting language'. It has always meant something different, and in the 90s meant "bad performance (not compiled)" or "not to be taken seriously" or "hard to maintain". Now all those languages (Perl and her various daughters: Python, Ruby, PHP, etc.. Lua is a beautiful exception, because the godmother of her style is bricolage) are the heart of most major internet sites. And I'm "scripting" in Pascal, which is a compiled language and thus cannot be considered a 'scripting language' by the 90s definition I came up with.
But in the end, learning Pascal has been quite eye opening. There is a lot we are able to "get away with" once we understand the language. Part of that resides in Pascal's strictness with how you are able to define and operate on things. This strictness is confusing while learning the language but is what has allowed such powerful access to Usine's features. Like everything, it cuts both ways.
And the strictness is also why it is considered a good language to learn programming. It was in fact designed to help make expressing and learning what it means to program. So there are many books available, and perhaps quite cheap on the used market, that can teach you a lot.
@caco, I've looked further into Csound, and that indeed sounds very powerful. I didn't mean to imply that it is difficult, only that I don't know how easy it is to learn programming with. It may be even better than Pascal, since it makes sound and can provide immediate feedback. But it also has cryptic keywords, which is the opposite of another of Pascal's legacies (no cryptic keywords) whose influence permeates programming languages today. (Immediately starts dreaming of a Csound DSL transpiler).
I take your point, there is no denying that CSound has many cryptic keywords built into the language that can make it seem confusing 
As for your DSL transpiler, it already exists http://faust.grame.fr/
You can write your dsp in Faust and either export the C code to compile a Csound plugin or run the Faust code directly within Csound using FaustGen http://www.csounds.com/manual/html/faustgen.html
Any volunteers to embed Faust in a Hollyhock plugin
As for your DSL transpiler, it already exists http://faust.grame.fr/
You can write your dsp in Faust and either export the C code to compile a Csound plugin or run the Faust code directly within Csound using FaustGen http://www.csounds.com/manual/html/faustgen.html
Any volunteers to embed Faust in a Hollyhock plugin
Who is online
Users browsing this forum: No registered users and 41 guests
