Csound Csound-dev Csound-tekno Search About

[Csnd] Csound for Godot?

Date2019-12-21 21:08
FromGerard Rodríguez
Subject[Csnd] Csound for Godot?
Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-21 21:33
FromVictor Lazzarini
SubjectRe: [Csnd] Csound for Godot?
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-21 22:17
FromRory Walsh
SubjectRe: [Csnd] Csound for Godot?
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-21 22:24
FromRory Walsh
SubjectRe: [Csnd] Csound for Godot?
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-21 22:32
FromRory Walsh
SubjectRe: [Csnd] Csound for Godot?
Actually, I'm not sure if those parts of the API are open. A quick search didn't yield much. We could just use Csound output and disable the Godot audio system completely. This would give you access to any native drivers on that platform, but would mean you have to take care of the 3d audio yourself. It's nice in Unity to be able to send Csound through the Unity 3d plugins, I'm not sure we can do that here yet.  

On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-22 00:40
FromVictor Lazzarini
SubjectRe: [Csnd] Csound for Godot?
but you'll need to wait for

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 22:18, Rory Walsh <rorywalsh@ear.ie> wrote:

I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-22 00:51
FromVictor Lazzarini
SubjectRe: [Csnd] Csound for Godot?

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-22 01:31
FromRory Walsh
SubjectRe: [Csnd] Csound for Godot?
Had you been looking at this Victor?

On Sun, 22 Dec 2019 at 00:51, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-22 08:28
FromVictor Lazzarini
SubjectRe: [Csnd] Csound for Godot?
No, I have been told to wait at this tree.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 01:32, Rory Walsh <rorywalsh@ear.ie> wrote:

Had you been looking at this Victor?

On Sun, 22 Dec 2019 at 00:51, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-22 08:37
FromJeff Harrington
SubjectRe: [Csnd] Csound for Godot?
For me it's over and done with, no matter what happens.

Jeff
On 12/22/2019 9:28 AM, Victor Lazzarini wrote:
No, I have been told to wait at this tree.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 01:32, Rory Walsh <rorywalsh@ear.ie> wrote:

Had you been looking at this Victor?

On Sun, 22 Dec 2019 at 00:51, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here



Date2019-12-22 10:42
FromGerard Rodríguez
SubjectRe: [Csnd] Csound for Godot?
I'm confused. Could you stop being cryptic and tell us so that we don't potentially waste our time doing this please :D?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 9:37:
For me it's over and done with, no matter what happens.

Jeff
On 12/22/2019 9:28 AM, Victor Lazzarini wrote:
No, I have been told to wait at this tree.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 01:32, Rory Walsh <rorywalsh@ear.ie> wrote:

Had you been looking at this Victor?

On Sun, 22 Dec 2019 at 00:51, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-22 11:03
FromJeff Harrington
SubjectRe: [Csnd] Csound for Godot?

Jeff

On 12/22/2019 11:42 AM, Gerard Rodríguez wrote:
I'm confused. Could you stop being cryptic and tell us so that we don't potentially waste our time doing this please :D?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 9:37:
For me it's over and done with, no matter what happens.

Jeff
On 12/22/2019 9:28 AM, Victor Lazzarini wrote:
No, I have been told to wait at this tree.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 01:32, Rory Walsh <rorywalsh@ear.ie> wrote:

Had you been looking at this Victor?

On Sun, 22 Dec 2019 at 00:51, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here



Date2019-12-22 11:21
FromGerard Rodríguez
SubjectRe: [Csnd] Csound for Godot?
Oh I see, I should have gotten that :P

Rory:

With that https://godotengine.org/article/godot-32-will-get-new-audio-features that was backported to 3.1 it's possible to push audio frames like you did in Unity (I think)
What I wasn't sure is how to do it on Csound's end. On a quick glance I just saw that it has the perform method wich just takes care of all the audio?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 12:03:

Jeff

On 12/22/2019 11:42 AM, Gerard Rodríguez wrote:
I'm confused. Could you stop being cryptic and tell us so that we don't potentially waste our time doing this please :D?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 9:37:
For me it's over and done with, no matter what happens.

Jeff
On 12/22/2019 9:28 AM, Victor Lazzarini wrote:
No, I have been told to wait at this tree.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 01:32, Rory Walsh <rorywalsh@ear.ie> wrote:

Had you been looking at this Victor?

On Sun, 22 Dec 2019 at 00:51, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-22 11:42
FromRory Walsh
SubjectRe: [Csnd] Csound for Godot?
Well done guys. 🤣🤣 I finally get it! 

On Sun 22 Dec 2019, 11:21 Gerard Rodríguez, <binbiniqegabenik@gmail.com> wrote:
Oh I see, I should have gotten that :P

Rory:

With that https://godotengine.org/article/godot-32-will-get-new-audio-features that was backported to 3.1 it's possible to push audio frames like you did in Unity (I think)
What I wasn't sure is how to do it on Csound's end. On a quick glance I just saw that it has the perform method wich just takes care of all the audio?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 12:03:

Jeff

On 12/22/2019 11:42 AM, Gerard Rodríguez wrote:
I'm confused. Could you stop being cryptic and tell us so that we don't potentially waste our time doing this please :D?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 9:37:
For me it's over and done with, no matter what happens.

Jeff
On 12/22/2019 9:28 AM, Victor Lazzarini wrote:
No, I have been told to wait at this tree.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 01:32, Rory Walsh <rorywalsh@ear.ie> wrote:

Had you been looking at this Victor?

On Sun, 22 Dec 2019 at 00:51, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-22 11:46
FromRory Walsh
SubjectRe: [Csnd] Csound for Godot?
Gerard, this looks like it should work. Just need to know how to load third party libraries. Hopefully we can do with without writing a C++ module..

On Sun 22 Dec 2019, 11:42 Rory Walsh, <rorywalsh@ear.ie> wrote:
Well done guys. 🤣🤣 I finally get it! 

On Sun 22 Dec 2019, 11:21 Gerard Rodríguez, <binbiniqegabenik@gmail.com> wrote:
Oh I see, I should have gotten that :P

Rory:

With that https://godotengine.org/article/godot-32-will-get-new-audio-features that was backported to 3.1 it's possible to push audio frames like you did in Unity (I think)
What I wasn't sure is how to do it on Csound's end. On a quick glance I just saw that it has the perform method wich just takes care of all the audio?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 12:03:

Jeff

On 12/22/2019 11:42 AM, Gerard Rodríguez wrote:
I'm confused. Could you stop being cryptic and tell us so that we don't potentially waste our time doing this please :D?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 9:37:
For me it's over and done with, no matter what happens.

Jeff
On 12/22/2019 9:28 AM, Victor Lazzarini wrote:
No, I have been told to wait at this tree.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 01:32, Rory Walsh <rorywalsh@ear.ie> wrote:

Had you been looking at this Victor?

On Sun, 22 Dec 2019 at 00:51, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-22 11:58
FromGerard Rodríguez
SubjectRe: [Csnd] Csound for Godot?
I think it is the standard way, but I'm just a beginner with Godot too. I'm going to investigate some more in a few hours.

Missatge de Rory Walsh <rorywalsh@ear.ie> del dia dg., 22 de des. 2019 a les 12:46:
Gerard, this looks like it should work. Just need to know how to load third party libraries. Hopefully we can do with without writing a C++ module..

On Sun 22 Dec 2019, 11:42 Rory Walsh, <rorywalsh@ear.ie> wrote:
Well done guys. 🤣🤣 I finally get it! 

On Sun 22 Dec 2019, 11:21 Gerard Rodríguez, <binbiniqegabenik@gmail.com> wrote:
Oh I see, I should have gotten that :P

Rory:

With that https://godotengine.org/article/godot-32-will-get-new-audio-features that was backported to 3.1 it's possible to push audio frames like you did in Unity (I think)
What I wasn't sure is how to do it on Csound's end. On a quick glance I just saw that it has the perform method wich just takes care of all the audio?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 12:03:

Jeff

On 12/22/2019 11:42 AM, Gerard Rodríguez wrote:
I'm confused. Could you stop being cryptic and tell us so that we don't potentially waste our time doing this please :D?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 9:37:
For me it's over and done with, no matter what happens.

Jeff
On 12/22/2019 9:28 AM, Victor Lazzarini wrote:
No, I have been told to wait at this tree.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 01:32, Rory Walsh <rorywalsh@ear.ie> wrote:

Had you been looking at this Victor?

On Sun, 22 Dec 2019 at 00:51, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-22 13:28
FromDave Phillips
SubjectRe: [Csnd] Csound for Godot?
Favorite license plate seen in Los Angeles: W8N4GDO

So, not a lot of Samuel Beckett readers here ? ;)

On 12/21/2019 04:33 PM, Victor Lazzarini wrote:
> well, you'll have to wait for it ;)

Best,

dp

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2019-12-22 13:37
FromVictor Lazzarini
SubjectRe: [Csnd] Csound for Godot?
Everybody is a beginner with Godot.

Sorry guys, this is a neverending source of 
puns

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 11:59, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

I think it is the standard way, but I'm just a beginner with Godot too. I'm going to investigate some more in a few hours.

Missatge de Rory Walsh <rorywalsh@ear.ie> del dia dg., 22 de des. 2019 a les 12:46:
Gerard, this looks like it should work. Just need to know how to load third party libraries. Hopefully we can do with without writing a C++ module..

On Sun 22 Dec 2019, 11:42 Rory Walsh, <rorywalsh@ear.ie> wrote:
Well done guys. 🤣🤣 I finally get it! 

On Sun 22 Dec 2019, 11:21 Gerard Rodríguez, <binbiniqegabenik@gmail.com> wrote:
Oh I see, I should have gotten that :P

Rory:

With that https://godotengine.org/article/godot-32-will-get-new-audio-features that was backported to 3.1 it's possible to push audio frames like you did in Unity (I think)
What I wasn't sure is how to do it on Csound's end. On a quick glance I just saw that it has the perform method wich just takes care of all the audio?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 12:03:

Jeff

On 12/22/2019 11:42 AM, Gerard Rodríguez wrote:
I'm confused. Could you stop being cryptic and tell us so that we don't potentially waste our time doing this please :D?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 9:37:
For me it's over and done with, no matter what happens.

Jeff
On 12/22/2019 9:28 AM, Victor Lazzarini wrote:
No, I have been told to wait at this tree.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 01:32, Rory Walsh <rorywalsh@ear.ie> wrote:

Had you been looking at this Victor?

On Sun, 22 Dec 2019 at 00:51, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-23 13:16
FromGerard Rodríguez
SubjectRe: [Csnd] Csound for Godot?
OK as far as I can see there's two ways of doing it:

- Writting a module for Godot.
- Writing a module in GDNative.

GDNative is basically Godot's API, it's a C API so you can use it in any language, it's meant to be another way to write the scripts.
Writing a module means extending the engine itself. That would imply that a user that wanted to use Godot's Csound module would have to compile Godot (or get a compiled version) with that modification. Also if I'm not mistaken it wouldn't get merged because Csound's license is GPL and Godot's is MIT (and they want to keep it MIT)

So, in my opinion the way to go is to write a GDNative script (in C or C++) which would use and expose Csound's API.
Then extending https://docs.godotengine.org/en/3.1/classes/class_audiostreamplayer.html#class-audiostreamplayer-property-stream and using its stream.push method to push Csound's samples using getSpoutSample.
I'm not so sure on that last one, maybe extending a lower class would be better?

Missatge de Victor Lazzarini <Victor.Lazzarini@mu.ie> del dia dg., 22 de des. 2019 a les 14:38:
Everybody is a beginner with Godot.

Sorry guys, this is a neverending source of 
puns

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 11:59, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

I think it is the standard way, but I'm just a beginner with Godot too. I'm going to investigate some more in a few hours.

Missatge de Rory Walsh <rorywalsh@ear.ie> del dia dg., 22 de des. 2019 a les 12:46:
Gerard, this looks like it should work. Just need to know how to load third party libraries. Hopefully we can do with without writing a C++ module..

On Sun 22 Dec 2019, 11:42 Rory Walsh, <rorywalsh@ear.ie> wrote:
Well done guys. 🤣🤣 I finally get it! 

On Sun 22 Dec 2019, 11:21 Gerard Rodríguez, <binbiniqegabenik@gmail.com> wrote:
Oh I see, I should have gotten that :P

Rory:

With that https://godotengine.org/article/godot-32-will-get-new-audio-features that was backported to 3.1 it's possible to push audio frames like you did in Unity (I think)
What I wasn't sure is how to do it on Csound's end. On a quick glance I just saw that it has the perform method wich just takes care of all the audio?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 12:03:

Jeff

On 12/22/2019 11:42 AM, Gerard Rodríguez wrote:
I'm confused. Could you stop being cryptic and tell us so that we don't potentially waste our time doing this please :D?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 9:37:
For me it's over and done with, no matter what happens.

Jeff
On 12/22/2019 9:28 AM, Victor Lazzarini wrote:
No, I have been told to wait at this tree.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 01:32, Rory Walsh <rorywalsh@ear.ie> wrote:

Had you been looking at this Victor?

On Sun, 22 Dec 2019 at 00:51, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2019-12-23 16:57
FromRory Walsh
SubjectRe: [Csnd] Csound for Godot?
If you can manage to push samples into an audio then it should be ok. If you do, let me know and I will then add Csound to the equation, if you can't figure it out yourself. Btw, Godot has developed quite a lot since I last looked at it! 

On Mon 23 Dec 2019, 13:16 Gerard Rodríguez, <binbiniqegabenik@gmail.com> wrote:
OK as far as I can see there's two ways of doing it:

- Writting a module for Godot.
- Writing a module in GDNative.

GDNative is basically Godot's API, it's a C API so you can use it in any language, it's meant to be another way to write the scripts.
Writing a module means extending the engine itself. That would imply that a user that wanted to use Godot's Csound module would have to compile Godot (or get a compiled version) with that modification. Also if I'm not mistaken it wouldn't get merged because Csound's license is GPL and Godot's is MIT (and they want to keep it MIT)

So, in my opinion the way to go is to write a GDNative script (in C or C++) which would use and expose Csound's API.
Then extending https://docs.godotengine.org/en/3.1/classes/class_audiostreamplayer.html#class-audiostreamplayer-property-stream and using its stream.push method to push Csound's samples using getSpoutSample.
I'm not so sure on that last one, maybe extending a lower class would be better?

Missatge de Victor Lazzarini <Victor.Lazzarini@mu.ie> del dia dg., 22 de des. 2019 a les 14:38:
Everybody is a beginner with Godot.

Sorry guys, this is a neverending source of 
puns

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 11:59, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

I think it is the standard way, but I'm just a beginner with Godot too. I'm going to investigate some more in a few hours.

Missatge de Rory Walsh <rorywalsh@ear.ie> del dia dg., 22 de des. 2019 a les 12:46:
Gerard, this looks like it should work. Just need to know how to load third party libraries. Hopefully we can do with without writing a C++ module..

On Sun 22 Dec 2019, 11:42 Rory Walsh, <rorywalsh@ear.ie> wrote:
Well done guys. 🤣🤣 I finally get it! 

On Sun 22 Dec 2019, 11:21 Gerard Rodríguez, <binbiniqegabenik@gmail.com> wrote:
Oh I see, I should have gotten that :P

Rory:

With that https://godotengine.org/article/godot-32-will-get-new-audio-features that was backported to 3.1 it's possible to push audio frames like you did in Unity (I think)
What I wasn't sure is how to do it on Csound's end. On a quick glance I just saw that it has the perform method wich just takes care of all the audio?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 12:03:

Jeff

On 12/22/2019 11:42 AM, Gerard Rodríguez wrote:
I'm confused. Could you stop being cryptic and tell us so that we don't potentially waste our time doing this please :D?

Missatge de Jeff Harrington <jeff@parnasse.com> del dia dg., 22 de des. 2019 a les 9:37:
For me it's over and done with, no matter what happens.

Jeff
On 12/22/2019 9:28 AM, Victor Lazzarini wrote:
No, I have been told to wait at this tree.

Prof. Victor Lazzarini
Maynooth University
Ireland

On 22 Dec 2019, at 01:32, Rory Walsh <rorywalsh@ear.ie> wrote:

Had you been looking at this Victor?

On Sun, 22 Dec 2019 at 00:51, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:

On 21 Dec 2019, at 22:32, Rory Walsh <rorywalsh@ear.ie> wrote:
I'm not sure we can do that here yet.  
We must wait.


On Sat, 21 Dec 2019 at 22:24, Rory Walsh <rorywalsh@ear.ie> wrote:
Remember when I said I don't know anything about Godot? You wouldn't be so kind as to create a simple project with a single object, and a script attached to it that object. I can use that to load Csound. If you get me that I'll look into getting Csound working. 

Btw, there is a Cabbage for Games subforum on the Cabbage forum that we often discuss things like this on. I'm happy to discuss here, but you might be much quicker there, and it's also nice to share with people who are not on this particular list. 


On Sat, 21 Dec 2019 at 22:17, Rory Walsh <rorywalsh@ear.ie> wrote:
I did look at Godot some time back. It looks promising for sure. I've kind of hit saturation point on game engines at this stage. Between all the JS based frameworks, Unity and UE4 I just haven't had time to look into it some more. 

I just had another quick look, and it seems that Godot allows C# plugins. If these plugins are allowed to call underlying libraries, which I'm sure they are, then this interface wouldn't be any different to how it is done with CsoundUnity. I use a set of a C# scripts to load and manage Csound. The game objects script can then access Csound at any point. We just need to see if Godot lets us access and feed the audio subsystem. In Unity we have the OnFileRead() method which let's us do this. Perhaps see if there are any functions that expose the audio system. That will be the place to start. I'm happy to help get this going. But I'm a total noob with Godot. 

On Sat, 21 Dec 2019 at 21:33, Victor Lazzarini <Victor.Lazzarini@mu.ie> wrote:
well, you'll have to wait for it ;)

Prof. Victor Lazzarini
Maynooth University
Ireland

On 21 Dec 2019, at 21:08, Gerard Rodríguez <binbiniqegabenik@gmail.com> wrote:

Hi folks,

I've seen that there's a Csound wrapper for Unity.
Godot is an opensource game engine similar to Unity, it would be really cool to have Csound for it.

https://godotengine.org/

Looking at:

http://write.flossmanuals.net/csound/a-the-csound-api/
and
It seems it shouldn't be too hard to write a wrapper. However godot also has AudioStreams which seems it could be a cleaner solution:

https://docs.godotengine.org/en/3.1/development/cpp/custom_audiostreams.html

I'm not sure if the csound API is capable of outputting audio frames instead of outputting the audio directly.

Maybe someone who is experienced at writing Csound wrappers could take a look at that (wink, nudge Rory)

Thank you.
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here


Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here