Csound Csound-dev Csound-tekno Search About

A game using Csound

Date2016-02-06 20:14
FromZ1X
SubjectA game using Csound
Hello y'all,

I'm trying to distribute a game which employs csound (called Zone: X), but
before I do, I need to package Csound for deployment. I want the game to be
easy to install and play, ideally it would be as simple as double clicking a
.exe. You see, part of the philosophy behind my game design is that it
should be accessible to a wide user base regardless of technical ability.  I
already tried adding the csound dll's to the folder, and while that gets it
to open, it doesn't get Csound working.  I also tried using 's
system() to load the paths for OPCODE64 and OPCODE, but to no avail.  Any
advice about how to distribute this game would be appreciated greatly.

Thank you,
Kevin Herald



--
View this message in context: http://csound.1045644.n5.nabble.com/A-game-using-Csound-tp5746960.html
Sent from the Csound - General mailing list archive at Nabble.com.

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

Date2016-02-06 20:57
FromVictor Lazzarini
SubjectRe: A game using Csound
Why don't you include the Csound installer with the game installation?

> On 6 Feb 2016, at 20:14, Z1X  wrote:
> 
> Hello y'all,
> 
> I'm trying to distribute a game which employs csound (called Zone: X), but
> before I do, I need to package Csound for deployment. I want the game to be
> easy to install and play, ideally it would be as simple as double clicking a
> .exe. You see, part of the philosophy behind my game design is that it
> should be accessible to a wide user base regardless of technical ability.  I
> already tried adding the csound dll's to the folder, and while that gets it
> to open, it doesn't get Csound working.  I also tried using 's
> system() to load the paths for OPCODE64 and OPCODE, but to no avail.  Any
> advice about how to distribute this game would be appreciated greatly.
> 
> Thank you,
> Kevin Herald
> 
> 
> 
> --
> View this message in context: http://csound.1045644.n5.nabble.com/A-game-using-Csound-tp5746960.html
> Sent from the Csound - General mailing list archive at Nabble.com.
> 
> 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

Date2016-02-06 21:27
FromKevin Legrismith
SubjectRe: A game using Csound
Well I think that's a grand idea!  If I'm not mistaken the Linux version is a little involved, but to be fair, I guess a bit more technical ability can be expected of a linux user :)

Thanks,
Kevin Herald

On Sat, Feb 6, 2016 at 3:57 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Why don't you include the Csound installer with the game installation?

> On 6 Feb 2016, at 20:14, Z1X <hallelujah.hephzibah@GMAIL.COM> wrote:
>
> Hello y'all,
>
> I'm trying to distribute a game which employs csound (called Zone: X), but
> before I do, I need to package Csound for deployment. I want the game to be
> easy to install and play, ideally it would be as simple as double clicking a
> .exe. You see, part of the philosophy behind my game design is that it
> should be accessible to a wide user base regardless of technical ability.  I
> already tried adding the csound dll's to the folder, and while that gets it
> to open, it doesn't get Csound working.  I also tried using <stdlib.h>'s
> system() to load the paths for OPCODE64 and OPCODE, but to no avail.  Any
> advice about how to distribute this game would be appreciated greatly.
>
> Thank you,
> Kevin Herald
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/A-game-using-Csound-tp5746960.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> 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

Date2016-02-06 21:35
FromSteven Yi
SubjectRe: A game using Csound
Hi Kevin,

Could you describe a bit more of what you mean by "doesn't get Csound
working"?  Are there particular error messages you see?  If you have
the main Csound library loading, the rest should be an issue of
getting the OPCODE6DIR64  set up correctly (also, in your email you
mentioned OPCODE64; I'm not sure if that was a typo but the full name
should be used).

I think if you could describe the error a little more it'd give some
information we could use to help diagnose.

steven

On Sat, Feb 6, 2016 at 3:14 PM, Z1X  wrote:
> Hello y'all,
>
> I'm trying to distribute a game which employs csound (called Zone: X), but
> before I do, I need to package Csound for deployment. I want the game to be
> easy to install and play, ideally it would be as simple as double clicking a
> .exe. You see, part of the philosophy behind my game design is that it
> should be accessible to a wide user base regardless of technical ability.  I
> already tried adding the csound dll's to the folder, and while that gets it
> to open, it doesn't get Csound working.  I also tried using 's
> system() to load the paths for OPCODE64 and OPCODE, but to no avail.  Any
> advice about how to distribute this game would be appreciated greatly.
>
> Thank you,
> Kevin Herald
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/A-game-using-Csound-tp5746960.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> 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

Date2016-02-06 22:53
FromVictor Lazzarini
SubjectRe: A game using Csound
Depending on the linux distro, all you need to do is to make your package depend on the Csound package. Even simpler.

On 6 Feb 2016, at 21:27, Kevin Legrismith <khlegrismith@GMAIL.COM> wrote:

Well I think that's a grand idea!  If I'm not mistaken the Linux version is a little involved, but to be fair, I guess a bit more technical ability can be expected of a linux user :)

Thanks,
Kevin Herald

On Sat, Feb 6, 2016 at 3:57 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Why don't you include the Csound installer with the game installation?

> On 6 Feb 2016, at 20:14, Z1X <hallelujah.hephzibah@GMAIL.COM> wrote:
>
> Hello y'all,
>
> I'm trying to distribute a game which employs csound (called Zone: X), but
> before I do, I need to package Csound for deployment. I want the game to be
> easy to install and play, ideally it would be as simple as double clicking a
> .exe. You see, part of the philosophy behind my game design is that it
> should be accessible to a wide user base regardless of technical ability.  I
> already tried adding the csound dll's to the folder, and while that gets it
> to open, it doesn't get Csound working.  I also tried using <stdlib.h>'s
> system() to load the paths for OPCODE64 and OPCODE, but to no avail.  Any
> advice about how to distribute this game would be appreciated greatly.
>
> Thank you,
> Kevin Herald
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/A-game-using-Csound-tp5746960.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> 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

Date2016-02-06 23:45
FromKevin Legrismith
SubjectRe: A game using Csound
Alas, there is no console output from the .exe, regardless of whether it works (if Csound6 isn't hidden) or if it doesn't.  Also, Dr. Yi, I was working from memory, so it was an error, and I did wish to include the DIR suffix in my post, but no I didn't have the 6 in there; I was getting my info from https://csound.github.io/docs/manual/Configuring.html, so it was a little outdated.  Unfortunately this change didn't resolve the problem completely, because "set" appears to set environmental variables only for the duration of a cmd prompts life.  I'm looking into setx as a more permanent solution, but with no joy so far.
On Sat, Feb 6, 2016 at 3:35 PM, Steven Yi <stevenyi@gmail.com> wrote:
Hi Kevin,

Could you describe a bit more of what you mean by "doesn't get Csound
working"?  Are there particular error messages you see?  If you have
the main Csound library loading, the rest should be an issue of
getting the OPCODE6DIR64  set up correctly (also, in your email you
mentioned OPCODE64; I'm not sure if that was a typo but the full name
should be used).

I think if you could describe the error a little more it'd give some
information we could use to help diagnose.

steven

On Sat, Feb 6, 2016 at 3:14 PM, Z1X <hallelujah.hephzibah@gmail.com> wrote:
> Hello y'all,
>
> I'm trying to distribute a game which employs csound (called Zone: X), but
> before I do, I need to package Csound for deployment. I want the game to be
> easy to install and play, ideally it would be as simple as double clicking a
> .exe. You see, part of the philosophy behind my game design is that it
> should be accessible to a wide user base regardless of technical ability.  I
> already tried adding the csound dll's to the folder, and while that gets it
> to open, it doesn't get Csound working.  I also tried using <stdlib.h>'s
> system() to load the paths for OPCODE64 and OPCODE, but to no avail.  Any
> advice about how to distribute this game would be appreciated greatly.
>
> Thank you,
> Kevin Herald
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/A-game-using-Csound-tp5746960.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> 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

Date2016-02-07 01:39
FromSteven Yi
SubjectRe: A game using Csound
That's odd that there is no console output.  I would have thought that
Csound would default to print out to stderr even when linked in and
used as a library.  Are you executing the .exe from a commandline to
start or just double-clicking?  If the latter, could you try the
former?

Also, csound is certainly used embedded via API from CsoundQT and
Cabbage.  Maybe one of the developers from those systems could comment
on how OPCODE6DIR64 is being set within those applications?

On Sat, Feb 6, 2016 at 6:45 PM, Kevin Legrismith  wrote:
> Alas, there is no console output from the .exe, regardless of whether it
> works (if Csound6 isn't hidden) or if it doesn't.  Also, Dr. Yi, I was
> working from memory, so it was an error, and I did wish to include the DIR
> suffix in my post, but no I didn't have the 6 in there; I was getting my
> info from https://csound.github.io/docs/manual/Configuring.html, so it was a
> little outdated.  Unfortunately this change didn't resolve the problem
> completely, because "set" appears to set environmental variables only for
> the duration of a cmd prompts life.  I'm looking into setx as a more
> permanent solution, but with no joy so far.
> On Sat, Feb 6, 2016 at 3:35 PM, Steven Yi  wrote:
>>
>> Hi Kevin,
>>
>> Could you describe a bit more of what you mean by "doesn't get Csound
>> working"?  Are there particular error messages you see?  If you have
>> the main Csound library loading, the rest should be an issue of
>> getting the OPCODE6DIR64  set up correctly (also, in your email you
>> mentioned OPCODE64; I'm not sure if that was a typo but the full name
>> should be used).
>>
>> I think if you could describe the error a little more it'd give some
>> information we could use to help diagnose.
>>
>> steven
>>
>> On Sat, Feb 6, 2016 at 3:14 PM, Z1X 
>> wrote:
>> > Hello y'all,
>> >
>> > I'm trying to distribute a game which employs csound (called Zone: X),
>> > but
>> > before I do, I need to package Csound for deployment. I want the game to
>> > be
>> > easy to install and play, ideally it would be as simple as double
>> > clicking a
>> > .exe. You see, part of the philosophy behind my game design is that it
>> > should be accessible to a wide user base regardless of technical
>> > ability.  I
>> > already tried adding the csound dll's to the folder, and while that gets
>> > it
>> > to open, it doesn't get Csound working.  I also tried using 's
>> > system() to load the paths for OPCODE64 and OPCODE, but to no avail.
>> > Any
>> > advice about how to distribute this game would be appreciated greatly.
>> >
>> > Thank you,
>> > Kevin Herald
>> >
>> >
>> >
>> > --
>> > View this message in context:
>> > http://csound.1045644.n5.nabble.com/A-game-using-Csound-tp5746960.html
>> > Sent from the Csound - General mailing list archive at Nabble.com.
>> >
>> > 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

Date2016-02-07 09:36
FromTarmo Johannes
SubjectRe: A game using Csound

Hi,

 

Having a look at the CsoundQt source code (qutecsound.cpp:1000), here it is done by:

 

csoundSetGlobalEnv("OPCODE6DIR64", m_options->opcode6dir64.toLatin1().constData());

 

https://csound.github.io/docs/api/group__MISCELLANEOUS.html#ga0183dad9bbc4961d66a280e5292091ed

 

 

Greetings,

tarmo

 

On Saturday 06 February 2016 20:39:24 you wrote:

> That's odd that there is no console output. I would have thought that

> Csound would default to print out to stderr even when linked in and

> used as a library. Are you executing the .exe from a commandline to

> start or just double-clicking? If the latter, could you try the

> former?

>

> Also, csound is certainly used embedded via API from CsoundQT and

> Cabbage. Maybe one of the developers from those systems could comment

> on how OPCODE6DIR64 is being set within those applications?

>

> On Sat, Feb 6, 2016 at 6:45 PM, Kevin Legrismith <khlegrismith@gmail.com> wrote:

> > Alas, there is no console output from the .exe, regardless of whether it

> > works (if Csound6 isn't hidden) or if it doesn't. Also, Dr. Yi, I was

> > working from memory, so it was an error, and I did wish to include the DIR

> > suffix in my post, but no I didn't have the 6 in there; I was getting my

> > info from https://csound.github.io/docs/manual/Configuring.html, so it was

> > a little outdated. Unfortunately this change didn't resolve the problem

> > completely, because "set" appears to set environmental variables only for

> > the duration of a cmd prompts life. I'm looking into setx as a more

> > permanent solution, but with no joy so far.

> >

> > On Sat, Feb 6, 2016 at 3:35 PM, Steven Yi <stevenyi@gmail.com> wrote:

> >> Hi Kevin,

> >>

> >> Could you describe a bit more of what you mean by "doesn't get Csound

> >> working"? Are there particular error messages you see? If you have

> >> the main Csound library loading, the rest should be an issue of

> >> getting the OPCODE6DIR64 set up correctly (also, in your email you

> >> mentioned OPCODE64; I'm not sure if that was a typo but the full name

> >> should be used).

> >>

> >> I think if you could describe the error a little more it'd give some

> >> information we could use to help diagnose.

> >>

> >> steven

> >>

> >> On Sat, Feb 6, 2016 at 3:14 PM, Z1X <hallelujah.hephzibah@gmail.com>

> >>

> >> wrote:

> >> > Hello y'all,

> >> >

> >> > I'm trying to distribute a game which employs csound (called Zone: X),

> >> > but

> >> > before I do, I need to package Csound for deployment. I want the game

> >> > to

> >> > be

> >> > easy to install and play, ideally it would be as simple as double

> >> > clicking a

> >> > .exe. You see, part of the philosophy behind my game design is that it

> >> > should be accessible to a wide user base regardless of technical

> >> > ability. I

> >> > already tried adding the csound dll's to the folder, and while that

> >> > gets

> >> > it

> >> > to open, it doesn't get Csound working. I also tried using

> >> > <stdlib.h>'s

> >> > system() to load the paths for OPCODE64 and OPCODE, but to no avail.

> >> > Any

> >> > advice about how to distribute this game would be appreciated greatly.

> >> >

> >> > Thank you,

> >> > Kevin Herald

> >> >

> >> >

> >> >

> >> > --

> >> > View this message in context:

> >> > http://csound.1045644.n5.nabble.com/A-game-using-Csound-tp5746960.html

> >> > Sent from the Csound - General mailing list archive at Nabble.com.

> >> >

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

 


Date2016-02-07 16:15
FromPeter Burgess
SubjectRe: A game using Csound
Can I ask which libraries you have added already? In the app I'm
developing, I haven't bothered sorting through what parts of csound I
do and don't need yet, so all I've done is add the entire csound
folder to my c++ project directory, and add the relevant linkage and
search locations in my project. After that, csound seems to know what
to do, both in the linux and windows versions.

Pete

On Sun, Feb 7, 2016 at 9:36 AM, Tarmo Johannes
 wrote:
> Hi,
>
>
>
> Having a look at the CsoundQt source code (qutecsound.cpp:1000), here it is
> done by:
>
>
>
> csoundSetGlobalEnv("OPCODE6DIR64",
> m_options->opcode6dir64.toLatin1().constData());
>
>
>
> https://csound.github.io/docs/api/group__MISCELLANEOUS.html#ga0183dad9bbc4961d66a280e5292091ed
>
>
>
>
>
> Greetings,
>
> tarmo
>
>
>
> On Saturday 06 February 2016 20:39:24 you wrote:
>
>> That's odd that there is no console output. I would have thought that
>
>> Csound would default to print out to stderr even when linked in and
>
>> used as a library. Are you executing the .exe from a commandline to
>
>> start or just double-clicking? If the latter, could you try the
>
>> former?
>
>>
>
>> Also, csound is certainly used embedded via API from CsoundQT and
>
>> Cabbage. Maybe one of the developers from those systems could comment
>
>> on how OPCODE6DIR64 is being set within those applications?
>
>>
>
>> On Sat, Feb 6, 2016 at 6:45 PM, Kevin Legrismith 
>> wrote:
>
>> > Alas, there is no console output from the .exe, regardless of whether it
>
>> > works (if Csound6 isn't hidden) or if it doesn't. Also, Dr. Yi, I was
>
>> > working from memory, so it was an error, and I did wish to include the
>> > DIR
>
>> > suffix in my post, but no I didn't have the 6 in there; I was getting my
>
>> > info from https://csound.github.io/docs/manual/Configuring.html, so it
>> > was
>
>> > a little outdated. Unfortunately this change didn't resolve the problem
>
>> > completely, because "set" appears to set environmental variables only
>> > for
>
>> > the duration of a cmd prompts life. I'm looking into setx as a more
>
>> > permanent solution, but with no joy so far.
>
>> >
>
>> > On Sat, Feb 6, 2016 at 3:35 PM, Steven Yi  wrote:
>
>> >> Hi Kevin,
>
>> >>
>
>> >> Could you describe a bit more of what you mean by "doesn't get Csound
>
>> >> working"? Are there particular error messages you see? If you have
>
>> >> the main Csound library loading, the rest should be an issue of
>
>> >> getting the OPCODE6DIR64 set up correctly (also, in your email you
>
>> >> mentioned OPCODE64; I'm not sure if that was a typo but the full name
>
>> >> should be used).
>
>> >>
>
>> >> I think if you could describe the error a little more it'd give some
>
>> >> information we could use to help diagnose.
>
>> >>
>
>> >> steven
>
>> >>
>
>> >> On Sat, Feb 6, 2016 at 3:14 PM, Z1X 
>
>> >>
>
>> >> wrote:
>
>> >> > Hello y'all,
>
>> >> >
>
>> >> > I'm trying to distribute a game which employs csound (called Zone:
>> >> > X),
>
>> >> > but
>
>> >> > before I do, I need to package Csound for deployment. I want the game
>
>> >> > to
>
>> >> > be
>
>> >> > easy to install and play, ideally it would be as simple as double
>
>> >> > clicking a
>
>> >> > .exe. You see, part of the philosophy behind my game design is that
>> >> > it
>
>> >> > should be accessible to a wide user base regardless of technical
>
>> >> > ability. I
>
>> >> > already tried adding the csound dll's to the folder, and while that
>
>> >> > gets
>
>> >> > it
>
>> >> > to open, it doesn't get Csound working. I also tried using
>
>> >> > 's
>
>> >> > system() to load the paths for OPCODE64 and OPCODE, but to no avail.
>
>> >> > Any
>
>> >> > advice about how to distribute this game would be appreciated
>> >> > greatly.
>
>> >> >
>
>> >> > Thank you,
>
>> >> > Kevin Herald
>
>> >> >
>
>> >> >
>
>> >> >
>
>> >> > --
>
>> >> > View this message in context:
>
>> >> >
>> >> > http://csound.1045644.n5.nabble.com/A-game-using-Csound-tp5746960.html
>
>> >> > Sent from the Csound - General mailing list archive at Nabble.com.
>
>> >> >
>
>> >> > 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

Date2016-02-10 20:48
FromKevin Herald
SubjectRe: A game using Csound
Ok, so what I did was take part of Dr. Lazzarini's advice for Linux (as I'm still a novice so I don't think it's going to make it into the Universe for a little while), and now a shellscript downloads dependencies, and builds Csound which it downloads from git, then makes the program itself.  On Windows I'm using Tarmo's advice (good idea Steven) which worked well.  As I don't have any of the other platforms quite yet, they'll have to wait.  Thanks for the help! 

Pete: it has something like 40 dependencies, but I only linked csnd6 and csound64.  About 3/4's of the dependencies were in plugins64 and the rest were in csound6/bin.  The funny thing is, at the moment I'm only using pvsanal functions, so it must be a pretty intricate bit of code!

P.S. If anyone is bold enough to want to give it a try, here's the downloads page!  Careful though, it's a prototype!

On Sun, Feb 7, 2016 at 11:15 AM, Peter Burgess <pete.soundtechnician@gmail.com> wrote:
Can I ask which libraries you have added already? In the app I'm
developing, I haven't bothered sorting through what parts of csound I
do and don't need yet, so all I've done is add the entire csound
folder to my c++ project directory, and add the relevant linkage and
search locations in my project. After that, csound seems to know what
to do, both in the linux and windows versions.

Pete

On Sun, Feb 7, 2016 at 9:36 AM, Tarmo Johannes
<tarmo.johannes@otsakool.edu.ee> wrote:
> Hi,
>
>
>
> Having a look at the CsoundQt source code (qutecsound.cpp:1000), here it is
> done by:
>
>
>
> csoundSetGlobalEnv("OPCODE6DIR64",
> m_options->opcode6dir64.toLatin1().constData());
>
>
>
> https://csound.github.io/docs/api/group__MISCELLANEOUS.html#ga0183dad9bbc4961d66a280e5292091ed
>
>
>
>
>
> Greetings,
>
> tarmo
>
>
>
> On Saturday 06 February 2016 20:39:24 you wrote:
>
>> That's odd that there is no console output. I would have thought that
>
>> Csound would default to print out to stderr even when linked in and
>
>> used as a library. Are you executing the .exe from a commandline to
>
>> start or just double-clicking? If the latter, could you try the
>
>> former?
>
>>
>
>> Also, csound is certainly used embedded via API from CsoundQT and
>
>> Cabbage. Maybe one of the developers from those systems could comment
>
>> on how OPCODE6DIR64 is being set within those applications?
>
>>
>
>> On Sat, Feb 6, 2016 at 6:45 PM, Kevin Legrismith <khlegrismith@gmail.com>
>> wrote:
>
>> > Alas, there is no console output from the .exe, regardless of whether it
>
>> > works (if Csound6 isn't hidden) or if it doesn't. Also, Dr. Yi, I was
>
>> > working from memory, so it was an error, and I did wish to include the
>> > DIR
>
>> > suffix in my post, but no I didn't have the 6 in there; I was getting my
>
>> > info from https://csound.github.io/docs/manual/Configuring.html, so it
>> > was
>
>> > a little outdated. Unfortunately this change didn't resolve the problem
>
>> > completely, because "set" appears to set environmental variables only
>> > for
>
>> > the duration of a cmd prompts life. I'm looking into setx as a more
>
>> > permanent solution, but with no joy so far.
>
>> >
>
>> > On Sat, Feb 6, 2016 at 3:35 PM, Steven Yi <stevenyi@gmail.com> wrote:
>
>> >> Hi Kevin,
>
>> >>
>
>> >> Could you describe a bit more of what you mean by "doesn't get Csound
>
>> >> working"? Are there particular error messages you see? If you have
>
>> >> the main Csound library loading, the rest should be an issue of
>
>> >> getting the OPCODE6DIR64 set up correctly (also, in your email you
>
>> >> mentioned OPCODE64; I'm not sure if that was a typo but the full name
>
>> >> should be used).
>
>> >>
>
>> >> I think if you could describe the error a little more it'd give some
>
>> >> information we could use to help diagnose.
>
>> >>
>
>> >> steven
>
>> >>
>
>> >> On Sat, Feb 6, 2016 at 3:14 PM, Z1X <hallelujah.hephzibah@gmail.com>
>
>> >>
>
>> >> wrote:
>
>> >> > Hello y'all,
>
>> >> >
>
>> >> > I'm trying to distribute a game which employs csound (called Zone:
>> >> > X),
>
>> >> > but
>
>> >> > before I do, I need to package Csound for deployment. I want the game
>
>> >> > to
>
>> >> > be
>
>> >> > easy to install and play, ideally it would be as simple as double
>
>> >> > clicking a
>
>> >> > .exe. You see, part of the philosophy behind my game design is that
>> >> > it
>
>> >> > should be accessible to a wide user base regardless of technical
>
>> >> > ability. I
>
>> >> > already tried adding the csound dll's to the folder, and while that
>
>> >> > gets
>
>> >> > it
>
>> >> > to open, it doesn't get Csound working. I also tried using
>
>> >> > <stdlib.h>'s
>
>> >> > system() to load the paths for OPCODE64 and OPCODE, but to no avail.
>
>> >> > Any
>
>> >> > advice about how to distribute this game would be appreciated
>> >> > greatly.
>
>> >> >
>
>> >> > Thank you,
>
>> >> > Kevin Herald
>
>> >> >
>
>> >> >
>
>> >> >
>
>> >> > --
>
>> >> > View this message in context:
>
>> >> >
>> >> > http://csound.1045644.n5.nabble.com/A-game-using-Csound-tp5746960.html
>
>> >> > Sent from the Csound - General mailing list archive at Nabble.com.
>
>> >> >
>
>> >> > 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

Date2016-02-11 18:53
FromKevin Herald
SubjectRe: A game using Csound
A small mistake in the Linux versions of the game may have thwarted a few installations; there was no .csd!  Well the latest upload has fixed that!  Sorry I didn't catch that sooner!  The same link should yield a working version now (and the installation should be a breeze compared to the last time)!

On Wed, Feb 10, 2016 at 3:48 PM, Kevin Herald <hallelujah.hephzibah@gmail.com> wrote:
Ok, so what I did was take part of Dr. Lazzarini's advice for Linux (as I'm still a novice so I don't think it's going to make it into the Universe for a little while), and now a shellscript downloads dependencies, and builds Csound which it downloads from git, then makes the program itself.  On Windows I'm using Tarmo's advice (good idea Steven) which worked well.  As I don't have any of the other platforms quite yet, they'll have to wait.  Thanks for the help! 

Pete: it has something like 40 dependencies, but I only linked csnd6 and csound64.  About 3/4's of the dependencies were in plugins64 and the rest were in csound6/bin.  The funny thing is, at the moment I'm only using pvsanal functions, so it must be a pretty intricate bit of code!

P.S. If anyone is bold enough to want to give it a try, here's the downloads page!  Careful though, it's a prototype!

On Sun, Feb 7, 2016 at 11:15 AM, Peter Burgess <pete.soundtechnician@gmail.com> wrote:
Can I ask which libraries you have added already? In the app I'm
developing, I haven't bothered sorting through what parts of csound I
do and don't need yet, so all I've done is add the entire csound
folder to my c++ project directory, and add the relevant linkage and
search locations in my project. After that, csound seems to know what
to do, both in the linux and windows versions.

Pete

On Sun, Feb 7, 2016 at 9:36 AM, Tarmo Johannes
<tarmo.johannes@otsakool.edu.ee> wrote:
> Hi,
>
>
>
> Having a look at the CsoundQt source code (qutecsound.cpp:1000), here it is
> done by:
>
>
>
> csoundSetGlobalEnv("OPCODE6DIR64",
> m_options->opcode6dir64.toLatin1().constData());
>
>
>
> https://csound.github.io/docs/api/group__MISCELLANEOUS.html#ga0183dad9bbc4961d66a280e5292091ed
>
>
>
>
>
> Greetings,
>
> tarmo
>
>
>
> On Saturday 06 February 2016 20:39:24 you wrote:
>
>> That's odd that there is no console output. I would have thought that
>
>> Csound would default to print out to stderr even when linked in and
>
>> used as a library. Are you executing the .exe from a commandline to
>
>> start or just double-clicking? If the latter, could you try the
>
>> former?
>
>>
>
>> Also, csound is certainly used embedded via API from CsoundQT and
>
>> Cabbage. Maybe one of the developers from those systems could comment
>
>> on how OPCODE6DIR64 is being set within those applications?
>
>>
>
>> On Sat, Feb 6, 2016 at 6:45 PM, Kevin Legrismith <khlegrismith@gmail.com>
>> wrote:
>
>> > Alas, there is no console output from the .exe, regardless of whether it
>
>> > works (if Csound6 isn't hidden) or if it doesn't. Also, Dr. Yi, I was
>
>> > working from memory, so it was an error, and I did wish to include the
>> > DIR
>
>> > suffix in my post, but no I didn't have the 6 in there; I was getting my
>
>> > info from https://csound.github.io/docs/manual/Configuring.html, so it
>> > was
>
>> > a little outdated. Unfortunately this change didn't resolve the problem
>
>> > completely, because "set" appears to set environmental variables only
>> > for
>
>> > the duration of a cmd prompts life. I'm looking into setx as a more
>
>> > permanent solution, but with no joy so far.
>
>> >
>
>> > On Sat, Feb 6, 2016 at 3:35 PM, Steven Yi <stevenyi@gmail.com> wrote:
>
>> >> Hi Kevin,
>
>> >>
>
>> >> Could you describe a bit more of what you mean by "doesn't get Csound
>
>> >> working"? Are there particular error messages you see? If you have
>
>> >> the main Csound library loading, the rest should be an issue of
>
>> >> getting the OPCODE6DIR64 set up correctly (also, in your email you
>
>> >> mentioned OPCODE64; I'm not sure if that was a typo but the full name
>
>> >> should be used).
>
>> >>
>
>> >> I think if you could describe the error a little more it'd give some
>
>> >> information we could use to help diagnose.
>
>> >>
>
>> >> steven
>
>> >>
>
>> >> On Sat, Feb 6, 2016 at 3:14 PM, Z1X <hallelujah.hephzibah@gmail.com>
>
>> >>
>
>> >> wrote:
>
>> >> > Hello y'all,
>
>> >> >
>
>> >> > I'm trying to distribute a game which employs csound (called Zone:
>> >> > X),
>
>> >> > but
>
>> >> > before I do, I need to package Csound for deployment. I want the game
>
>> >> > to
>
>> >> > be
>
>> >> > easy to install and play, ideally it would be as simple as double
>
>> >> > clicking a
>
>> >> > .exe. You see, part of the philosophy behind my game design is that
>> >> > it
>
>> >> > should be accessible to a wide user base regardless of technical
>
>> >> > ability. I
>
>> >> > already tried adding the csound dll's to the folder, and while that
>
>> >> > gets
>
>> >> > it
>
>> >> > to open, it doesn't get Csound working. I also tried using
>
>> >> > <stdlib.h>'s
>
>> >> > system() to load the paths for OPCODE64 and OPCODE, but to no avail.
>
>> >> > Any
>
>> >> > advice about how to distribute this game would be appreciated
>> >> > greatly.
>
>> >> >
>
>> >> > Thank you,
>
>> >> > Kevin Herald
>
>> >> >
>
>> >> >
>
>> >> >
>
>> >> > --
>
>> >> > View this message in context:
>
>> >> >
>> >> > http://csound.1045644.n5.nabble.com/A-game-using-Csound-tp5746960.html
>
>> >> > Sent from the Csound - General mailing list archive at Nabble.com.
>
>> >> >
>
>> >> > 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

Date2016-02-11 20:26
FromKevin Herald
SubjectRe: A game using Csound
Coincidentally, the Windows version was a broken upload.  That's fixed now too.  This time if it doesn't work, someone tell me.  Your patience is appreciated.
Kevin

On Sat, Feb 6, 2016 at 3:27 PM, Kevin Legrismith <khlegrismith@gmail.com> wrote:
Well I think that's a grand idea!  If I'm not mistaken the Linux version is a little involved, but to be fair, I guess a bit more technical ability can be expected of a linux user :)

Thanks,
Kevin Herald

On Sat, Feb 6, 2016 at 3:57 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Why don't you include the Csound installer with the game installation?

> On 6 Feb 2016, at 20:14, Z1X <hallelujah.hephzibah@GMAIL.COM> wrote:
>
> Hello y'all,
>
> I'm trying to distribute a game which employs csound (called Zone: X), but
> before I do, I need to package Csound for deployment. I want the game to be
> easy to install and play, ideally it would be as simple as double clicking a
> .exe. You see, part of the philosophy behind my game design is that it
> should be accessible to a wide user base regardless of technical ability.  I
> already tried adding the csound dll's to the folder, and while that gets it
> to open, it doesn't get Csound working.  I also tried using <stdlib.h>'s
> system() to load the paths for OPCODE64 and OPCODE, but to no avail.  Any
> advice about how to distribute this game would be appreciated greatly.
>
> Thank you,
> Kevin Herald
>
>
>
> --
> View this message in context: http://csound.1045644.n5.nabble.com/A-game-using-Csound-tp5746960.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
> 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