Csound Csound-dev Csound-tekno Search About

[Csnd] Python 2.6, Csound 5.11, Windows XP problem

Date2010-01-15 22:34
FromChuckk Hubbard
Subject[Csnd] Python 2.6, Csound 5.11, Windows XP problem
Hello.

I've reinstalled all programs concerned a few times, but this script
gives me a Python error, with lines and lines of hex. I'm using it to
print out available audio outputs, by giving Csound an invalid number,
which I understand is the only way to get a list of available outputs.
Anyone else? I thought it could be something in my registry that needs
to be cleared, so if no one else gets an error I'll have to look
deeper into that.

Thanks a lot.
-Chuckk

Date2010-01-15 22:55
Fromfrancibal
Subject[Csnd] Re: Python 2.6, Csound 5.11, Windows XP problem
Hi Mr. Chuckk,
to me work right. I am on vista and same csound and python.
Tested with Scite editor.

Ciao,
fran.


Chuckk Hubbard wrote:
> 
> Hello.
> 
> I've reinstalled all programs concerned a few times, but this script
> gives me a Python error, with lines and lines of hex. I'm using it to
> print out available audio outputs, by giving Csound an invalid number,
> which I understand is the only way to get a list of available outputs.
> Anyone else? I thought it could be something in my registry that needs
> to be cleared, so if no one else gets an error I'll have to look
> deeper into that.
> 
> Thanks a lot.
> -Chuckk
> 
> -- 
> http://www.badmuthahubbard.com
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>  
> 

Date2010-01-16 00:20
FromChuckk Hubbard
Subject[Csnd] Re: Re: Python 2.6, Csound 5.11, Windows XP problem
Thanks for checking that, Fran.
I'd still appreciate anyone with XP verifying this, if there still is
anyone out there using it!
-Chuckk

On Sat, Jan 16, 2010 at 12:55 AM, francibal  wrote:
>
> Hi Mr. Chuckk,
> to me work right. I am on vista and same csound and python.
> Tested with Scite editor.
>
> Ciao,
> fran.
>
>
> Chuckk Hubbard wrote:
>>
>> Hello.
>>
>> I've reinstalled all programs concerned a few times, but this script
>> gives me a Python error, with lines and lines of hex. I'm using it to
>> print out available audio outputs, by giving Csound an invalid number,
>> which I understand is the only way to get a list of available outputs.
>> Anyone else? I thought it could be something in my registry that needs
>> to be cleared, so if no one else gets an error I'll have to look
>> deeper into that.
>>
>> Thanks a lot.
>> -Chuckk
>>
>> --
>> http://www.badmuthahubbard.com
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Python-2.6%2C-Csound-5.11%2C-Windows-XP-problem-tp27184568p27184779.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Date2010-01-16 10:23
FromChuckk Hubbard
Subject[Csnd] Re: Python 2.6, Csound 5.11, Windows XP problem
Searching further, I found that if I comment out the lines with
'cs.compile()' and 'del cs', it runs fine; I can run:
python -i pythoncsndproblem.py
and the CppSound object still exists. I then run "cs.compile()" from
the command line, and python exits with a Windows error. This makes me
think some change was made in the API as to how it handles errors? or
how it handles audio output errors? Anyway, instead of just exiting
Csound with an error, it is exiting Python, and so my program isn't
getting its list of outputs. Is this an intentional change? If so, can
anyone help me figure out how else I can get that list, and hopefully
for future Csound versions as well?

-Chuckk


On Sat, Jan 16, 2010 at 12:34 AM, Chuckk Hubbard
 wrote:
> Hello.
>
> I've reinstalled all programs concerned a few times, but this script
> gives me a Python error, with lines and lines of hex. I'm using it to
> print out available audio outputs, by giving Csound an invalid number,
> which I understand is the only way to get a list of available outputs.
> Anyone else? I thought it could be something in my registry that needs
> to be cleared, so if no one else gets an error I'll have to look
> deeper into that.
>
> Thanks a lot.
> -Chuckk
>
> --
> http://www.badmuthahubbard.com
>


Date2010-01-16 13:16
FromChuckk Hubbard
Subject[Csnd] Re: Python 2.6, Csound 5.11, Windows XP problem
Csound 5.10 with Python 2.5 does not have this problem... but it still
has the problem I reported for it before 5.11 was released.

-Chuckk

On Sat, Jan 16, 2010 at 12:23 PM, Chuckk Hubbard
 wrote:
> Searching further, I found that if I comment out the lines with
> 'cs.compile()' and 'del cs', it runs fine; I can run:
> python -i pythoncsndproblem.py
> and the CppSound object still exists. I then run "cs.compile()" from
> the command line, and python exits with a Windows error. This makes me
> think some change was made in the API as to how it handles errors? or
> how it handles audio output errors? Anyway, instead of just exiting
> Csound with an error, it is exiting Python, and so my program isn't
> getting its list of outputs. Is this an intentional change? If so, can
> anyone help me figure out how else I can get that list, and hopefully
> for future Csound versions as well?
>
> -Chuckk
>
>
> On Sat, Jan 16, 2010 at 12:34 AM, Chuckk Hubbard
>  wrote:
>> Hello.
>>
>> I've reinstalled all programs concerned a few times, but this script
>> gives me a Python error, with lines and lines of hex. I'm using it to
>> print out available audio outputs, by giving Csound an invalid number,
>> which I understand is the only way to get a list of available outputs.
>> Anyone else? I thought it could be something in my registry that needs
>> to be cleared, so if no one else gets an error I'll have to look
>> deeper into that.
>>
>> Thanks a lot.
>> -Chuckk
>>
>> --
>> http://www.badmuthahubbard.com
>>
>
>
>
> --
> http://www.badmuthahubbard.com
>


Date2010-01-16 14:33
Fromandy fillebrown
Subject[Csnd] Re: Re: Python 2.6, Csound 5.11, Windows XP problem
Have you tried moving the fluid and fltk opcodes out of the OPCODEDIR
path?  I don't know Python but when using the C interface in
multithreaded Windows apps, those opcodes (fluidOpcodes.dll,
virtual.dll, and widgets.dll) all cause issues -- particularly when
calling 'compile' and 'destroy'.

Cheers,
~ andy.f



On Sat, Jan 16, 2010 at 5:23 AM, Chuckk Hubbard
 wrote:
> Searching further, I found that if I comment out the lines with
> 'cs.compile()' and 'del cs', it runs fine; I can run:
> python -i pythoncsndproblem.py
> and the CppSound object still exists. I then run "cs.compile()" from
> the command line, and python exits with a Windows error. This makes me
> think some change was made in the API as to how it handles errors? or
> how it handles audio output errors? Anyway, instead of just exiting
> Csound with an error, it is exiting Python, and so my program isn't
> getting its list of outputs. Is this an intentional change? If so, can
> anyone help me figure out how else I can get that list, and hopefully
> for future Csound versions as well?
>
> -Chuckk
>
>
> On Sat, Jan 16, 2010 at 12:34 AM, Chuckk Hubbard
>  wrote:
>> Hello.
>>
>> I've reinstalled all programs concerned a few times, but this script
>> gives me a Python error, with lines and lines of hex. I'm using it to
>> print out available audio outputs, by giving Csound an invalid number,
>> which I understand is the only way to get a list of available outputs.
>> Anyone else? I thought it could be something in my registry that needs
>> to be cleared, so if no one else gets an error I'll have to look
>> deeper into that.
>>
>> Thanks a lot.
>> -Chuckk
>>
>> --
>> http://www.badmuthahubbard.com
>>
>
>
>
> --
> http://www.badmuthahubbard.com
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-01-16 14:58
FromGermán
Subject[Csnd] Csond on Mobilephone
Hi!

Somebody knows if Csond goes of a Mobile-phone?
I tried with "Windows Mobile 6.1" but it doesn't work.

Thanks
German Aleman


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-01-16 15:40
Fromedexter5
Subject[Csnd] Re: Csond on Mobilephone
netcsound should work if you have access to the internet on the phone.  I was
looking at making some tools in python for android and packaging them
together but I am having trouble finding where the text editor puts it's
files (and I am assuming the version of python on android has access to
files on the phone)


curioso5 wrote:
> 
> Hi!
> 
> Somebody knows if Csond goes of a Mobile-phone?
> I tried with "Windows Mobile 6.1" but it doesn't work.
> 
> Thanks
> German Aleman
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
> 

___________________________________________
http://dextracker.blogspot.com/2009/02/dex-tracker.html

Date2010-01-16 18:19
Fromedexter5
Subject[Csnd] Re: Csond on Mobilephone
I have to ask did you try to compile it with window ce (or windows mobile) or
did you try to use the windows version???  I think you would have to
recompile it and it might take some work (but would probably be easier than
some phones)



curioso5 wrote:
> 
> Hi!
> 
> Somebody knows if Csond goes of a Mobile-phone?
> I tried with "Windows Mobile 6.1" but it doesn't work.
> 
> Thanks
> German Aleman
> 
> 
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
> 
> 

Date2010-01-16 23:11
FromChuckk Hubbard
Subject[Csnd] Re: Re: Re: Python 2.6, Csound 5.11, Windows XP problem
Interesting. I moved those three, and still have the error. Thanks for
the suggestion.

-Chuckk

On Sat, Jan 16, 2010 at 4:33 PM, andy fillebrown
 wrote:
> Have you tried moving the fluid and fltk opcodes out of the OPCODEDIR
> path?  I don't know Python but when using the C interface in
> multithreaded Windows apps, those opcodes (fluidOpcodes.dll,
> virtual.dll, and widgets.dll) all cause issues -- particularly when
> calling 'compile' and 'destroy'.
>
> Cheers,
> ~ andy.f
>
>
>
> On Sat, Jan 16, 2010 at 5:23 AM, Chuckk Hubbard
>  wrote:
>> Searching further, I found that if I comment out the lines with
>> 'cs.compile()' and 'del cs', it runs fine; I can run:
>> python -i pythoncsndproblem.py
>> and the CppSound object still exists. I then run "cs.compile()" from
>> the command line, and python exits with a Windows error. This makes me
>> think some change was made in the API as to how it handles errors? or
>> how it handles audio output errors? Anyway, instead of just exiting
>> Csound with an error, it is exiting Python, and so my program isn't
>> getting its list of outputs. Is this an intentional change? If so, can
>> anyone help me figure out how else I can get that list, and hopefully
>> for future Csound versions as well?
>>
>> -Chuckk
>>
>>
>> On Sat, Jan 16, 2010 at 12:34 AM, Chuckk Hubbard
>>  wrote:
>>> Hello.
>>>
>>> I've reinstalled all programs concerned a few times, but this script
>>> gives me a Python error, with lines and lines of hex. I'm using it to
>>> print out available audio outputs, by giving Csound an invalid number,
>>> which I understand is the only way to get a list of available outputs.
>>> Anyone else? I thought it could be something in my registry that needs
>>> to be cleared, so if no one else gets an error I'll have to look
>>> deeper into that.
>>>
>>> Thanks a lot.
>>> -Chuckk
>>>
>>> --
>>> http://www.badmuthahubbard.com
>>>
>>
>>
>>
>> --
>> http://www.badmuthahubbard.com
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
>



-- 
http://www.badmuthahubbard.com


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-01-18 09:06
FromGermán
Subject[Csnd] Re: Re: Csond on Mobilephone
Hi!

I'm new in Csound, so I don't know how.
Now it is no so important.
Thanks

German

Am 16.01.2010 19:19, schrieb edexter5:
> I have to ask did you try to compile it with window ce (or windows mobile) or
> did you try to use the windows version???  I think you would have to
> recompile it and it might take some work (but would probably be easier than
> some phones)
>
>
>
> curioso5 wrote:
>   
>> Hi!
>>
>> Somebody knows if Csond goes of a Mobile-phone?
>> I tried with "Windows Mobile 6.1" but it doesn't work.
>>
>> Thanks
>> German Aleman
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>>     
>   


Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-01-19 16:11
FromEmerson Aagaard
Subject[Csnd] Re: Re: Re: Csond on Mobilephone
Speaking of NetCsound, I've tried using it before, and it's never worked for me, and I know it wasn't a problem with the .csd, because it compiles flawlessly on my computers.

Date2010-01-20 17:03
FromChuckk Hubbard
Subject[Csnd] Re: Python 2.6, Csound 5.11, Windows XP problem
By the way, I tried the same test with portmidi, using -M999, and had
the same result, Python crashes. This makes me think it's a feature
that was added deliberately?

-Chuckk

On Sat, Jan 16, 2010 at 12:34 AM, Chuckk Hubbard
 wrote:
> Hello.
>
> I've reinstalled all programs concerned a few times, but this script
> gives me a Python error, with lines and lines of hex. I'm using it to
> print out available audio outputs, by giving Csound an invalid number,
> which I understand is the only way to get a list of available outputs.
> Anyone else? I thought it could be something in my registry that needs
> to be cleared, so if no one else gets an error I'll have to look
> deeper into that.
>
> Thanks a lot.
> -Chuckk
>
> --
> http://www.badmuthahubbard.com
>


Date2010-02-04 10:07
FromChuckk Hubbard
Subject[Csnd] Re: Python 2.6, Csound 5.11, Windows XP problem
I found a simple solution to this. I don't recall how it was before,
but I discovered that, even if I send Csound a valid device for real
time audio or midi output, it still prints the entire list of
available devices; not just if there's an error. So instead of
-odac999, I just send -odac0, which is always valid; or in the case of
MIDI, -Q0. Sending an invalid output still crashes Python here (WinXP,
Csound 5.11.1, Python 2.6.4), but I don't need to.
Case closed!

-Chuckk

On Sat, Jan 16, 2010 at 12:34 AM, Chuckk Hubbard
 wrote:
> Hello.
>
> I've reinstalled all programs concerned a few times, but this script
> gives me a Python error, with lines and lines of hex. I'm using it to
> print out available audio outputs, by giving Csound an invalid number,
> which I understand is the only way to get a list of available outputs.
> Anyone else? I thought it could be something in my registry that needs
> to be cleared, so if no one else gets an error I'll have to look
> deeper into that.
>
> Thanks a lot.
> -Chuckk
>
> --
> http://www.badmuthahubbard.com
>