Electronic Music mailing list archives

Previous Message: Re: Mac, MIDI & FLTK
Next Message: Re: pvoc

From: Gabriel Maldonado ()
Date: Dec 1, 2004
Subject: Re: Mac, MIDI & FLTK
FLprintk and FLprintk2 are special opcodes, to be used with caution 
because a thread is writing to a space exclusive of another thread and 
could cause synchronization problems. I suggest not to use FLprintk and 
FLprintk2 at all with OS-X, even if I don't know if these are the only 
FLTK opocdes that cause problems. Have you tried with the other FLTK 
opcodes?

Gabriel

David Akbari wrote:

> The FLTK canonical opcodes in MacCsound doesn't seem to be implemented, or it's a user error on my part. 
> 
> However, in a simple test of the canonical code in Cecilia 2.5.1, FLcount and FLbutton render properly but it crashes on the FLprint and FLprintk opcodes. Sometimes it will crash with an "Invalid f-table 1.000000" when there isn't really an issue. Usually a re-try does the trick, but it would be nice to see the Mac version of the canonical FLTK widgets reach a similar functional status as users of CsoundAV regularly enjoy.
> 
> 
> -David
> 
> ---------------------------------------
> Original Email
> From: Art Hunkins 
> Sent: Dec 01, 2004 02:11 PM [EMAIL REMOVED] David Akbari 
> Subject: Re: [Csnd] Mac, MIDI & FLTK
> 
> Hi, David,
> 
> Thanks for the reply.
> 
> Can you tell me what MacCsound and Caecilia do with canonical Csound FLTK
> opcodes like FLcount and FLbutton?
> 
> Do they recognize and render them, or do they (crash and/or end with an
> error message and) handle graphics in a completely different way, as I
> suspect?
> 
> Art Hunkins
> 
> ----- Original Message -----
> From: "David Akbari" 
> To: 
> Sent: Wednesday, December 01, 2004 11:35 AM
> Subject: Re: [Csnd] Mac, MIDI & FLTK
> 
> 
> 
> I was using realtime MIDI whilst jammin' over at a friend's place... the
> Rhodes was busted and the Triton got rained on; the solution?
> 
> MacCsound!
> 
> Thanks to Matt Ingalls amazing program it has been a joy to program and
> perform realtime MIDI with MacCsound.
> 
> The only thing is in realtime perf mode whenever you X out a live
> performance or realtime render and then try to reinit the buffer before the
> first has terminated it results in a core dump. Slow down guys ;D
> 
> For FLTK widgets I kind of like Cecilia. (currently using 2.5.1, great
> software guys!)
> 
> MacCsound is running version 4.23f11 and I have Cecilia running 4.23f07 of
> the binary.
> 
> 
> -David
> 
> ---------------------------------------
> Original Email
> From: Art Hunkins 
> Sent: Dec 01, 2004 10:57 AM [EMAIL REMOVED] > Subject: Re: [Csnd] Mac, MIDI & FLTK
> 
> Thanks, Luis. I appreciate your efforts and interest.
> 
> Now for Mac afficiandos.
> 
> Anyone out there on a Mac doing realtime with MIDI and FLTK widgets? If so,
> with which Csound, etc.?
> 
> Please make your voices heard. (The silence is fairly deafening.)
> 
> Art Hunkins
> 
> ----- Original Message -----
> From: "luis jure" 
> To: 
> Sent: Wednesday, December 01, 2004 10:37 AM
> Subject: Re: [Csnd] KNOPPIX Live CD and csoundgbs
> 
> 
> 
>>el Wed, 1 Dec 2004 10:19:55 -0500
>>"Art Hunkins"  escribió:
>>
>>
>>>And do I recall correctly, Luis, that on GBS/Linux both MIDI and FLTK
> 
> have
> 
>>>been working perfectly? (Even on your oldish system?)
>>
>>realtime works perfectly well, and with very low latencies, i use it all
> 
> the
> 
>>time.
>>
>>usually i don't use the fltk opcodes, but i tested them quite and even
> 
> wrote
> 
>>some orchestras, and they always worked fine.
>>
>>i never use midi myself, but i recall performing some tests at your
> 
> request.
> 
>>it seemed to work, according to what i sent to the list then (20040902):
>>
>>
>>
>>art, i can confirm that in csound 4 midi works in your orchestra just as
>>expected. i tested it using csound 4.23f11 (john ramsdell's version).
>>
>>
>>
>>
>>that was with some orchestra you sent me, never tried anything else.
>>
>>the hardware i'm using is not so terribly old (athlon xp2200+, 512Mb ram),
>>but the operating system and related libraries are not the newest by
> 
> far...
> 
>>best,
>>
>>lj
>>
>>
>>
>>--
>>
>>
>>-- [EMAIL REMOVED] >>              (or to http://www.cs.bath.ac.uk/cgi-bin/csound ) [EMAIL REMOVED] > 
> 
> -- [EMAIL REMOVED] >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound ) [EMAIL REMOVED] > 
> 
> -- [EMAIL REMOVED] >               (or to http://www.cs.bath.ac.uk/cgi-bin/csound ) [EMAIL REMOVED] > 
> 

-- 
Gabriel Maldonado
http://csounds.com/maldonado
--
--  [EMAIL REMOVED]               (or to http://www.cs.bath.ac.uk/cgi-bin/csound ) [EMAIL REMOVED] 

+Re: Mac, MIDI & FLTK David Akbari (12/01/04)
+---Re: Mac, MIDI & FLTK Art Hunkins (12/01/04)
+---Re: Mac, MIDI & FLTK Gabriel Maldonado (12/01/04)

Previous Message: Re: Mac, MIDI & FLTK
Next Message: Re: pvoc