[Csnd] Using FLTK opcodes with Csound 6.18
Date | 2025-03-18 20:37 |
From | Daniel <000012ee7ecf92ae-dmarc-request@LISTSERV.HEANET.IE> |
Subject | [Csnd] Using FLTK opcodes with Csound 6.18 |
Hi, I would like to be able to use the FLTK opcodes with the latest version of Csound. Is it possible? If so, could somebody please run me through the steps? Many thanks, Daniel Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here |
Date | 2025-03-19 10:02 |
From | Risto Kuusisto |
Subject | Re: [Csnd] Using FLTK opcodes with Csound 6.18 |
Hello Daniel, I'm using csound 6.17 in Xubuntu 22.04. FLTK opcodes seem to work well still in this version run through CsoundQT. I suppose there's no big difference in 6.18. Here's a place for several examples of utilising FLTKs: A kind of a starting-point .csd could be e.g. http://www.iainmccurdy.org/CsoundRealtimeExamples/FLTK/MIDI&FLTK_Combined.csd. There are quite good comments in that file. The key-points as I understand it are g-variables for communication between widgets and instruments but also FLrun at the end the widgets to get the whole UI running. --Risto ti 18.3.2025 klo 22.47 Daniel (000012ee7ecf92ae-dmarc-request@listserv.heanet.ie) kirjoitti: Hi, |
Date | 2025-03-19 10:11 |
From | Rory Walsh |
Subject | Re: [Csnd] Using FLTK opcodes with Csound 6.18 |
You'll have to use an older version of Csound if you want FLTK widgets. As far as I know the fltk library is no longer compatible with Csound. On Wed, 19 Mar 2025 at 10:03, Risto Kuusisto <rjzkuusisto@gmail.com> wrote:
|
Date | 2025-03-19 10:14 |
From | Risto Kuusisto |
Subject | Re: [Csnd] Using FLTK opcodes with Csound 6.18 |
So how old ? In my case: risto@siivet3:~$ csound --version --Csound version 6.17 (double samples) 2022-04-08 I haven't noticed any problems at least in this version. --Risto ke 19.3.2025 klo 12.08 Rory Walsh (rorywalsh@ear.ie) kirjoitti:
|
Date | 2025-03-19 10:30 |
From | Rory Walsh |
Subject | Re: [Csnd] Using FLTK opcodes with Csound 6.18 |
That version should be fine. I think it was around 6.18? I don't remember the details, but I think it has something to do with how fltk implements threading. I think all of the fltk stuff has moved out of core Csound now. On Wed, 19 Mar 2025 at 10:15, Risto Kuusisto <rjzkuusisto@gmail.com> wrote:
|
Date | 2025-03-19 12:04 |
From | vlz |
Subject | Re: [Csnd] Using FLTK opcodes with Csound 6.18 |
The problem is on MacOS. It's not possible to use the FLTK opcodes as currently designed because of the way threading is implemented. The MacOS graphics library has restrictions to this. Without threading there's no way to use the widgets interactively. This has been the case for over a decade, probably all the way to 6.00 or before. Prof. Victor Lazzarini Maynooth University Ireland On 19 Mar 2025, at 10:26, Rory Walsh <rorywalsh@ear.ie> wrote:
|
Date | 2025-03-19 12:56 |
From | Richard Knight |
Subject | Re: [Csnd] Using FLTK opcodes with Csound 6.18 |
Does work on Windows too. On 2025-03-19 12:04, vlz wrote:
|
Date | 2025-03-19 13:43 |
From | Risto Kuusisto |
Subject | Re: [Csnd] Using FLTK opcodes with Csound 6.18 |
Daniel, Sorry, I know almost nothing about macOS. In my case 6.17 was easy - it is the ready-made version that is available in Ubuntu 22.04 package repository. --Risto ke 19.3.2025 klo 14.58 Richard Knight (richard@1bpm.net) kirjoitti:
|