Csound Csound-dev Csound-tekno Search About

Re: [Cs-dev] Csound 6 Windows Installer Available

Date2013-04-29 10:12
FromTim Neumann
SubjectRe: [Cs-dev] Csound 6 Windows Installer Available
AttachmentsNone  None  
First of all, thank you so much, I just gave up on compiling Csound6 and its dependencies after 2 days of hard effort.

But is it possible that PortAudio in this release was built without WASAPI support?

When running a simple .csd with -+rtaudio=portaudio -odac I get:

PortAudio V19-devel (built Apr 13 2013 16:36:14)
   0: dac0 (Digitalaudio (S/PDIF) (High Definition Audio-Gerät))
   1: dac1 (Digitalaudio (HDMI) (High Definition Audio-Gerät))
   2: dac2 (Lautsprecher (High Definition Audio-Gerät))
PortAudio: selected output device 'Lautsprecher (High Definition Audio-Gerät)'
 *** PortAudio: error: -9996: Invalid device
closing device
Failed to initialise real time audio output

I checked my environment and cleaned it off of anything remaining from Csound5.
Or has this something to do with my audio devices?

I'll try using ASIO next...

And again, thank you for this build!

Date2013-04-29 10:48
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 Windows Installer Available
AttachmentsNone  None  
Actually it is just the other way round, the PortAudio for Csound 6 currently has ONLY the WASAPI driver. You can test your drivers by running the pa_devs tool that is installed with Csound 6, it gives you a list of devices with driver names. You can also use the pa_minlat tool to figure out what your best latency settings should be. I find that latency with WASAPI can be very good.

The reason for this is that PortAudio currently is not building with all drivers in MinGW/MSys 4.7.2 right now. I'm sure I can get it to work, I just haven't had the time yet.

Hope this helps,
Mike


On Mon, Apr 29, 2013 at 5:12 AM, Tim Neumann <finklemacgraw@gmail.com> wrote:
First of all, thank you so much, I just gave up on compiling Csound6 and its dependencies after 2 days of hard effort.

But is it possible that PortAudio in this release was built without WASAPI support?

When running a simple .csd with -+rtaudio=portaudio -odac I get:

PortAudio V19-devel (built Apr 13 2013 16:36:14)
   0: dac0 (Digitalaudio (S/PDIF) (High Definition Audio-Gerät))
   1: dac1 (Digitalaudio (HDMI) (High Definition Audio-Gerät))
   2: dac2 (Lautsprecher (High Definition Audio-Gerät))
PortAudio: selected output device 'Lautsprecher (High Definition Audio-Gerät)'
 *** PortAudio: error: -9996: Invalid device
closing device
Failed to initialise real time audio output

I checked my environment and cleaned it off of anything remaining from Csound5.
Or has this something to do with my audio devices?

I'll try using ASIO next...

And again, thank you for this build!

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2013-04-29 10:58
FromTim Neumann
SubjectRe: [Cs-dev] Csound 6 Windows Installer Available
AttachmentsNone  None  
Thanks for your reply.

I knew about pa_devs, strangely enough the device numbers shown by pa_devs
differ from those that are printed when using -+rtaudi=mme (which works and prints device 0 as my main speaker device).

pa_minlat prints the same error message, invalid device.


2013/4/29 Michael Gogins <michael.gogins@gmail.com>
Actually it is just the other way round, the PortAudio for Csound 6 currently has ONLY the WASAPI driver. You can test your drivers by running the pa_devs tool that is installed with Csound 6, it gives you a list of devices with driver names. You can also use the pa_minlat tool to figure out what your best latency settings should be. I find that latency with WASAPI can be very good.

The reason for this is that PortAudio currently is not building with all drivers in MinGW/MSys 4.7.2 right now. I'm sure I can get it to work, I just haven't had the time yet.

Hope this helps,
Mike


On Mon, Apr 29, 2013 at 5:12 AM, Tim Neumann <finklemacgraw@gmail.com> wrote:
First of all, thank you so much, I just gave up on compiling Csound6 and its dependencies after 2 days of hard effort.

But is it possible that PortAudio in this release was built without WASAPI support?

When running a simple .csd with -+rtaudio=portaudio -odac I get:

PortAudio V19-devel (built Apr 13 2013 16:36:14)
   0: dac0 (Digitalaudio (S/PDIF) (High Definition Audio-Gerät))
   1: dac1 (Digitalaudio (HDMI) (High Definition Audio-Gerät))
   2: dac2 (Lautsprecher (High Definition Audio-Gerät))
PortAudio: selected output device 'Lautsprecher (High Definition Audio-Gerät)'
 *** PortAudio: error: -9996: Invalid device
closing device
Failed to initialise real time audio output

I checked my environment and cleaned it off of anything remaining from Csound5.
Or has this something to do with my audio devices?

I'll try using ASIO next...

And again, thank you for this build!

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2013-04-29 11:25
FromTim Neumann
SubjectRe: [Cs-dev] Csound 6 Windows Installer Available
AttachmentsNone  None  
Something else I noticed: pa_devs.exe of Csound5 prints the whole list of devices (including mme, wasapi, asio4all etc) while pa_devs of Csound6 only prints the short list i just posted + input devices.


2013/4/29 Tim Neumann <finklemacgraw@gmail.com>
Thanks for your reply.

I knew about pa_devs, strangely enough the device numbers shown by pa_devs
differ from those that are printed when using -+rtaudi=mme (which works and prints device 0 as my main speaker device).

pa_minlat prints the same error message, invalid device.


2013/4/29 Michael Gogins <michael.gogins@gmail.com>
Actually it is just the other way round, the PortAudio for Csound 6 currently has ONLY the WASAPI driver. You can test your drivers by running the pa_devs tool that is installed with Csound 6, it gives you a list of devices with driver names. You can also use the pa_minlat tool to figure out what your best latency settings should be. I find that latency with WASAPI can be very good.

The reason for this is that PortAudio currently is not building with all drivers in MinGW/MSys 4.7.2 right now. I'm sure I can get it to work, I just haven't had the time yet.

Hope this helps,
Mike


On Mon, Apr 29, 2013 at 5:12 AM, Tim Neumann <finklemacgraw@gmail.com> wrote:
First of all, thank you so much, I just gave up on compiling Csound6 and its dependencies after 2 days of hard effort.

But is it possible that PortAudio in this release was built without WASAPI support?

When running a simple .csd with -+rtaudio=portaudio -odac I get:

PortAudio V19-devel (built Apr 13 2013 16:36:14)
   0: dac0 (Digitalaudio (S/PDIF) (High Definition Audio-Gerät))
   1: dac1 (Digitalaudio (HDMI) (High Definition Audio-Gerät))
   2: dac2 (Lautsprecher (High Definition Audio-Gerät))
PortAudio: selected output device 'Lautsprecher (High Definition Audio-Gerät)'
 *** PortAudio: error: -9996: Invalid device
closing device
Failed to initialise real time audio output

I checked my environment and cleaned it off of anything remaining from Csound5.
Or has this something to do with my audio devices?

I'll try using ASIO next...

And again, thank you for this build!

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




Date2013-04-29 11:40
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 Windows Installer Available
AttachmentsNone  None  
Search your computer for portaudio DLLs. Maybe you have more than one. If so then you must either get rid of something, or better, ensure that the one Csound is built with is the one in your executable path.

You can use the free diagnotic tool depends.exe to see EXACTLY what is going on here. You may want to google for it and download it and profile Csound with it to see which dll is getting loaded. When I say "profile" I mean load csound into depends and actually run csound in depends.

Hope this helps,
Mike


On Mon, Apr 29, 2013 at 5:58 AM, Tim Neumann <finklemacgraw@gmail.com> wrote:
Thanks for your reply.

I knew about pa_devs, strangely enough the device numbers shown by pa_devs
differ from those that are printed when using -+rtaudi=mme (which works and prints device 0 as my main speaker device).

pa_minlat prints the same error message, invalid device.


2013/4/29 Michael Gogins <michael.gogins@gmail.com>
Actually it is just the other way round, the PortAudio for Csound 6 currently has ONLY the WASAPI driver. You can test your drivers by running the pa_devs tool that is installed with Csound 6, it gives you a list of devices with driver names. You can also use the pa_minlat tool to figure out what your best latency settings should be. I find that latency with WASAPI can be very good.

The reason for this is that PortAudio currently is not building with all drivers in MinGW/MSys 4.7.2 right now. I'm sure I can get it to work, I just haven't had the time yet.

Hope this helps,
Mike


On Mon, Apr 29, 2013 at 5:12 AM, Tim Neumann <finklemacgraw@gmail.com> wrote:
First of all, thank you so much, I just gave up on compiling Csound6 and its dependencies after 2 days of hard effort.

But is it possible that PortAudio in this release was built without WASAPI support?

When running a simple .csd with -+rtaudio=portaudio -odac I get:

PortAudio V19-devel (built Apr 13 2013 16:36:14)
   0: dac0 (Digitalaudio (S/PDIF) (High Definition Audio-Gerät))
   1: dac1 (Digitalaudio (HDMI) (High Definition Audio-Gerät))
   2: dac2 (Lautsprecher (High Definition Audio-Gerät))
PortAudio: selected output device 'Lautsprecher (High Definition Audio-Gerät)'
 *** PortAudio: error: -9996: Invalid device
closing device
Failed to initialise real time audio output

I checked my environment and cleaned it off of anything remaining from Csound5.
Or has this something to do with my audio devices?

I'll try using ASIO next...

And again, thank you for this build!

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2013-04-29 11:41
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 Windows Installer Available
AttachmentsNone  None  
Again, Csound 6 PortAudio only has WASAPI. Try moving that out of the way and using Csound 5's PortAudio instead. I can't guarantee this will work as Csound 5 and Csound 6 were built with different versions of the compiler.

Regards,
Mike


On Mon, Apr 29, 2013 at 6:25 AM, Tim Neumann <finklemacgraw@gmail.com> wrote:
Something else I noticed: pa_devs.exe of Csound5 prints the whole list of devices (including mme, wasapi, asio4all etc) while pa_devs of Csound6 only prints the short list i just posted + input devices.


2013/4/29 Tim Neumann <finklemacgraw@gmail.com>
Thanks for your reply.

I knew about pa_devs, strangely enough the device numbers shown by pa_devs
differ from those that are printed when using -+rtaudi=mme (which works and prints device 0 as my main speaker device).

pa_minlat prints the same error message, invalid device.


2013/4/29 Michael Gogins <michael.gogins@gmail.com>
Actually it is just the other way round, the PortAudio for Csound 6 currently has ONLY the WASAPI driver. You can test your drivers by running the pa_devs tool that is installed with Csound 6, it gives you a list of devices with driver names. You can also use the pa_minlat tool to figure out what your best latency settings should be. I find that latency with WASAPI can be very good.

The reason for this is that PortAudio currently is not building with all drivers in MinGW/MSys 4.7.2 right now. I'm sure I can get it to work, I just haven't had the time yet.

Hope this helps,
Mike


On Mon, Apr 29, 2013 at 5:12 AM, Tim Neumann <finklemacgraw@gmail.com> wrote:
First of all, thank you so much, I just gave up on compiling Csound6 and its dependencies after 2 days of hard effort.

But is it possible that PortAudio in this release was built without WASAPI support?

When running a simple .csd with -+rtaudio=portaudio -odac I get:

PortAudio V19-devel (built Apr 13 2013 16:36:14)
   0: dac0 (Digitalaudio (S/PDIF) (High Definition Audio-Gerät))
   1: dac1 (Digitalaudio (HDMI) (High Definition Audio-Gerät))
   2: dac2 (Lautsprecher (High Definition Audio-Gerät))
PortAudio: selected output device 'Lautsprecher (High Definition Audio-Gerät)'
 *** PortAudio: error: -9996: Invalid device
closing device
Failed to initialise real time audio output

I checked my environment and cleaned it off of anything remaining from Csound5.
Or has this something to do with my audio devices?

I'll try using ASIO next...

And again, thank you for this build!

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2013-04-29 18:11
FromTim Neumann
SubjectRe: [Cs-dev] Csound 6 Windows Installer Available
AttachmentsNone  None  
I tried to install/run this version on a nother machine, it's missing intl.dll and maybe there should be some notice that one needs the GTK2 runtime or Graphviz installed for libglib and for libpng? intl.dll is found in Graphviz, as well.

I loaded pa_minlat into depends.exe and it only gave some warning about IESHIMS.dll which i fixed by adding the Internet Explorer Dir to my Path.

pa_minlat.exe still gives the error on the device number, csound.exe magically works (even though above mentioned dlls are missing, not a problem unless the libs are are actually loaded I guess). This is getting really strange and I come to suspect that this all went wrong when I crammed in and built all those dependencies. Strangely enough my system variables are clean of any directories that could cause some wrong .dlls being loaded.

Regards
Tim



Date2013-04-29 18:27
FromMichael Gogins
SubjectRe: [Cs-dev] Csound 6 Windows Installer Available
AttachmentsNone  None  
I have several versions of these dlls on my system and probably I am packaging ones different from the ones I am linking with. I will try to fix this tonight or at least in the next few days.

Csound might run but it may try and fail to load opcodes using third party code that links with these dlls.

Thanks for the information,
Mike


On Mon, Apr 29, 2013 at 1:11 PM, Tim Neumann <finklemacgraw@gmail.com> wrote:
I tried to install/run this version on a nother machine, it's missing intl.dll and maybe there should be some notice that one needs the GTK2 runtime or Graphviz installed for libglib and for libpng? intl.dll is found in Graphviz, as well.

I loaded pa_minlat into depends.exe and it only gave some warning about IESHIMS.dll which i fixed by adding the Internet Explorer Dir to my Path.

pa_minlat.exe still gives the error on the device number, csound.exe magically works (even though above mentioned dlls are missing, not a problem unless the libs are are actually loaded I guess). This is getting really strange and I come to suspect that this all went wrong when I crammed in and built all those dependencies. Strangely enough my system variables are clean of any directories that could cause some wrong .dlls being loaded.

Regards
Tim



------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel




--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com