Csound Csound-dev Csound-tekno Search About

[Csnd] Re: [Cs-dev] Csound 6.03 Windows installer built for Pentium 4 or later

Date2014-07-24 23:08
From"Art Hunkins"
Subject[Csnd] Re: [Cs-dev] Csound 6.03 Windows installer built for Pentium 4 or later
Let my supplement Michael's announcement with my experience of Csound6 installer builds, on Windows XP and Windows 7 machines - the latter with Pentium 4 processor. Please note that my tests largely relate to *realtime* usage, not delayed playback.
 
Windows 7: Michael's supplemental installer that includes Pentium 4 compatibility works flawlessly on this CPU. Earlier Csound6 builds generated a crash with an "Illegal instruction" error on Pentium 4. I can only assume that on more recent CPU's, his previous Csound6 builds also ran without problems on Windows 7 machines - e.g., that this was specifically "a Pentium 4 problem".
 
Windows XP: Csound6 installers *prior to 6.02* worked fine for delayed playback, but not at all in realtime mode (-odac). They apparently lacked a PortAudio module (or any other realtime audio capability). Beginning wiith 6.02, PortAudio was implemented, and worked fine *as long as MIDI (PortMidi) was not required*. If it *was*, no audio - hang.
 
Since my previous tests all had involved MIDI and realtime audio, I had erroneously thought Csound6 was incompatible with Windows XP. (I had not tested delayed playback at the time.) What I only recently (and by chance) discovered was that realtime MIDI was possible on XP with Csound6 *as long as -+rtmidi=winmm or -+rtmidi=mme is specified*. (Just *not* the PortMidi driver.)
 
Unfortunately, (-+rtmidi=)PortMidi is the default - so it is easy to conclude that Csound6 realtime MIDI doesn't work on XP. For some reason, thisissue does not arise with Windows 7.
 
It would be nice, on behalf of Windows XP users, if one of our intrepid developers could take a look at this conundrum.
 
Meanwhile, many personal thanks to Michael for welcoming the Pentium 4 CPU back into the Csound6 family.
 
Art Hunkins
----- Original Message -----
Sent: Wednesday, July 23, 2014 6:43 PM
Subject: [Cs-dev] Csound 6.03 Windows installer built for Pentium 4 or later

Up to now I have built Csound for Windows with -march=nocona, figuring that was a good balance between backward compatibility and execution speed. 

Lately I found that some people are still using Pentium 4 processors and couldn't run Csound for WIndows, so I rebuilt Csound and CsoundQt with -mtune=pentium4. 

The nocona build CAN'T run on older CPUs, the pentium4 build SHOULD be able to run on even older CPUs. The former runs Trapped.csd on my PC in 1.6 seconds, the latter in 1.85 seconds. Not a huge difference.

If anyone wants it they can download the installer from here (it includes CsoundVST and vst4cs):


I'm told the PortMidi driver doesn't work, but the Windows driver works fine.

Regards,
Mike



-----------------------------------------------------
Michael Gogins
Irreducible Productions
http://michaelgogins.tumblr.com
Michael dot Gogins at gmail dot com


------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds


_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel