Re: [Cs-dev] Csound 6 Windows Installer Available
Date | 2013-04-29 10:12 |
From | Tim Neumann |
Subject | Re: [Cs-dev] Csound 6 Windows Installer Available |
Attachments | None 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?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 Or has this something to do with my audio devices? |
Date | 2013-04-29 10:48 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Csound 6 Windows Installer Available |
Attachments | None 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:
Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |
Date | 2013-04-29 10:58 |
From | Tim Neumann |
Subject | Re: [Cs-dev] Csound 6 Windows Installer Available |
Attachments | None None |
Thanks for your reply. I knew about pa_devs, strangely enough the device numbers shown by pa_devs2013/4/29 Michael Gogins <michael.gogins@gmail.com>
|
Date | 2013-04-29 11:25 |
From | Tim Neumann |
Subject | Re: [Cs-dev] Csound 6 Windows Installer Available |
Attachments | None 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>
|
Date | 2013-04-29 11:40 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Csound 6 Windows Installer Available |
Attachments | None 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:
Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |
Date | 2013-04-29 11:41 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Csound 6 Windows Installer Available |
Attachments | None 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:
Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |
Date | 2013-04-29 18:11 |
From | Tim Neumann |
Subject | Re: [Cs-dev] Csound 6 Windows Installer Available |
Attachments | None 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. 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.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. Regards Tim |
Date | 2013-04-29 18:27 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Csound 6 Windows Installer Available |
Attachments | None 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:
Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |