Csound Csound-dev Csound-tekno Search About

Fw: Re: [Csnd] Current Viability of FLTK

Date2013-09-20 17:51
From"Art Hunkins"
SubjectFw: Re: [Csnd] Current Viability of FLTK
AttachmentsFLTKTest.csd  

FWIW, I've determined that the combination of FLTK, MIDI and Csound6 is compatible with Windows Vista, 7 and 8 - but not Windows XP.

I continue to imagine that the problem with XP has something to do with the autoenabling of the virtual_keyboard MIDI plugin, which instantiates regardless of whether or not an -M flag is present, as:

C:\Csound6\bin>csound FLTKTest.csd
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 6.00.1 (double samples) Sep  4 2013
libsndfile-1.0.25
UnifiedCSD:  FLTKTest.csd

I also note that Csound6 (latest Windows installer) does not include a .csoundrc file. (I don't imagine this has anything to do with the problem, but I thought I'd mention it anyway.)

I do feel somewhat better now that I know that FLTK and MIDI are only incompatible with Csound6 and Windows XP - no other combinations. It surely would be nice to discover precisely what the incompatibility is, however.

Art Hunkins

----- Original Message -----
Sent: Thursday, September 19, 2013 4:19 PM
Subject: Re: Re: [Csnd] Current Viability of FLTK

Stefano,
 
Thanks for your tests of FLTK, Csound6, MIDI and Windows XP. Your data are further indication that these do not work together.
 
I continue to believe that with Csound6 only and in Windows XP, the Virtual MIDI device is by default enabled, and that this keeps other MIDI devices (via the -M flag) from being recognized by Csound.
 
Does anyone have Windows *Vista* installed along with Csound6 (Setup_Csound_6.00.1.exe) who could run the attached test file? FLTK and MIDI are compatible on Windows 7, but not on Windows XP. What is the case with Vista?
 
If you have no MIDI device, console output that indicates the error "no MIDI device found" shows that everything is working correctly. With a MIDI device attached, console messages indicating when widgets are clicked or change value should appear.
 
Thanks again -
 
Art Hunkins

----Messaggio originale----
Da: abhunkin@uncg.edu
Data: 17/09/2013 21.36
A: <csound@lists.bath.ac.uk>
Ogg: Re: [Csnd] Current Viability of FLTK

I continue to be perplexed by why FLTK doesn't communicate with Csound6 under Windows XP with MIDI (-M0 specified in CsOptions).  I've tried this combination on three XP machines with no joy. The combination works with Windows 7, and earlier versions of Csound(5) also work as expected.
 
On Windows XP with the latest Csound5 installer (Setup_Csound_6.00.1.exe 2013-09-04) the attached FLTKTest.csd works as expected without the -M0 flag (in CsOptions), but *not with* the flag.
 
The expected behavior from the console, is for an rtevent to be displayed when the FLTK button is pressed, and for a new value of the FLTK counter to be displayed *only when the FLTK button is "on"*.
 
I'd much appreciate it if anyone with a Windows XP *or Vista* installation and with Csound6.00.1 installed, could let me know whether FLTKTest.csd runs propearly from the console or not. You should not even need a MIDI controller to test the -M0 flag. If the console simply informs you that you don't have a MIDI device attached, this counts as a success.
 
Art Hunkins





Date2013-09-20 18:08
FromMichael Gogins
SubjectRe: Fw: Re: [Csnd] Current Viability of FLTK

Your theory sounds correct to me. I will see if there is some stray #ifdef in the code.

Regards,
Mike

On Sep 20, 2013 12:51 PM, "Art Hunkins" <abhunkin@uncg.edu> wrote:

FWIW, I've determined that the combination of FLTK, MIDI and Csound6 is compatible with Windows Vista, 7 and 8 - but not Windows XP.

I continue to imagine that the problem with XP has something to do with the autoenabling of the virtual_keyboard MIDI plugin, which instantiates regardless of whether or not an -M flag is present, as:

C:\Csound6\bin>csound FLTKTest.csd
virtual_keyboard real time MIDI plugin for Csound
0dBFS level = 32768.0
Csound version 6.00.1 (double samples) Sep  4 2013
libsndfile-1.0.25
UnifiedCSD:  FLTKTest.csd

I also note that Csound6 (latest Windows installer) does not include a .csoundrc file. (I don't imagine this has anything to do with the problem, but I thought I'd mention it anyway.)

I do feel somewhat better now that I know that FLTK and MIDI are only incompatible with Csound6 and Windows XP - no other combinations. It surely would be nice to discover precisely what the incompatibility is, however.

Art Hunkins

----- Original Message -----
Sent: Thursday, September 19, 2013 4:19 PM
Subject: Re: Re: [Csnd] Current Viability of FLTK

Stefano,
 
Thanks for your tests of FLTK, Csound6, MIDI and Windows XP. Your data are further indication that these do not work together.
 
I continue to believe that with Csound6 only and in Windows XP, the Virtual MIDI device is by default enabled, and that this keeps other MIDI devices (via the -M flag) from being recognized by Csound.
 
Does anyone have Windows *Vista* installed along with Csound6 (Setup_Csound_6.00.1.exe) who could run the attached test file? FLTK and MIDI are compatible on Windows 7, but not on Windows XP. What is the case with Vista?
 
If you have no MIDI device, console output that indicates the error "no MIDI device found" shows that everything is working correctly. With a MIDI device attached, console messages indicating when widgets are clicked or change value should appear.
 
Thanks again -
 
Art Hunkins

----Messaggio originale----
Da: abhunkin@uncg.edu
Data: 17/09/2013 21.36
A: <csound@lists.bath.ac.uk>
Ogg: Re: [Csnd] Current Viability of FLTK

I continue to be perplexed by why FLTK doesn't communicate with Csound6 under Windows XP with MIDI (-M0 specified in CsOptions).  I've tried this combination on three XP machines with no joy. The combination works with Windows 7, and earlier versions of Csound(5) also work as expected.
 
On Windows XP with the latest Csound5 installer (Setup_Csound_6.00.1.exe 2013-09-04) the attached FLTKTest.csd works as expected without the -M0 flag (in CsOptions), but *not with* the flag.
 
The expected behavior from the console, is for an rtevent to be displayed when the FLTK button is pressed, and for a new value of the FLTK counter to be displayed *only when the FLTK button is "on"*.
 
I'd much appreciate it if anyone with a Windows XP *or Vista* installation and with Csound6.00.1 installed, could let me know whether FLTKTest.csd runs propearly from the console or not. You should not even need a MIDI controller to test the -M0 flag. If the console simply informs you that you don't have a MIDI device attached, this counts as a success.
 
Art Hunkins





Date2013-09-20 18:18
Fromjpff@cs.bath.ac.uk
SubjectRe: Fw: Re: [Csnd] Current Viability of FLTK
> I also note that Csound6 (latest Windows installer) does not include a
> .csoundrc file. (I don't imagine this has anything to do with the problem,
> but I thought I'd mention it anyway.)
>

csound6 uses .csound6rc