GLFW - xtmglfw - doesn't work v0.8.9

53 views
Skip to first unread message

rpjh...@gmail.com

unread,
Oct 28, 2025, 3:36:51 PMOct 28
to Extempore
I am back to Extempore!

But, I cannot get the graphics examples to run. My paths are correct, and glfw is in the libs directory.

Is there a glfw for extempore vs. the standard glfw install for linux/windows?

Thanks!

Rob

Andrew Sorensen

unread,
Oct 28, 2025, 4:10:16 PMOct 28
to extemp...@googlegroups.com
Hey Rob,

I’m afraid that you should consider Extempore “archived” at this point.  While not yet a definitive decision there has been little work on the project in recent years and further progress seems unlikely at present.

Cheers,
Andrew


--
You received this message because you are subscribed to the Google Groups "Extempore" group.
To unsubscribe from this group and stop receiving emails from it, send an email to extemporelan...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/extemporelang/48e05e07-f17d-4fd3-a80e-eb61904ad77en%40googlegroups.com.

George

unread,
Oct 28, 2025, 5:07:03 PMOct 28
to Extempore
Rob & Andrew
I gave up on graphics some time ago.

Apologies for butting in.
While you are here Andrew Can you help me  with Audiobuffer. ....
I am attempting to play (loop) a small section of an audio file.

I can  get  the play to begin at a particular frames number
(bind-func dsp:DSP
(let ((ab repeating_0_to_5))
(AudioBuffer_set_playhead ab 114374)
(AudioBuffer_set_loop_start ab 114374)
(AudioBuffer_set_loop_frames ab (- 144795 114374))
(lambda (in time chan dat)
; (AudioBuffer_set_playhead ab 114374)
(AudioBuffer_read ab chan)))) ;; OK this just reads "four five" once

But it plays the rest of the file to the end.
And if looped it will play the whole file from then on.

Andrew If you have a moment to enlighten me I would appreciate.
I can send you more of my file if necessary.

Nice to see some activity on this group!
Regards
George

On Wednesday, October 29, 2025 at 7:10:16 AM UTC+11 digego wrote:

Andrew Sorensen

unread,
Oct 28, 2025, 8:29:15 PMOct 28
to extemp...@googlegroups.com
Hi George,

I don't readily have access to an extempore build at the moment but superficially (i.e. eyeballing the source) it doesn't look like AudioBuffer_read takes loop points into account.  Note that AudioBuffer_read_interp (and friends) look like they do so you could start by looking there, but my suggestion is to implement your own version of AudioBuffer_read - it won't be difficult.

Keep in mind that AudioBuffer_set_playhead is mutable and that AudioBuffer_read calls this internally to 'move' the playhead, you can easily write your own version of AudioBuffer_read that takes loop_start and loop_frames into account.  In other words copy the AudioBuffer_read function and create your own variant that takes the loop start and loop frames (which you can fetch using AudioBuffer_loop_start and AudioBuffer_loop_frames) into account (you can also take a look at AudioBuffer_read_looped to incorporate 'looping' - look at the modulo). 

Give it a try and if you get stuck post to the list.

Cheers,
Andrew



--
You received this message because you are subscribed to the Google Groups "Extempore" group.
To unsubscribe from this group and stop receiving emails from it, send an email to extemporelan...@googlegroups.com.

George

unread,
Oct 28, 2025, 11:53:06 PMOct 28
to Extempore
Thanks Andrew.
I'll spend some time digesting your suggestion and get back to you.

I have made some progress using the AudioBuffer_read_interp_pw which gives me something like what I want.
(Although I'm not quite sure what "interp" and "pw" are supposed to mean).

I am a little amused at your confidence that I would find it easy to ...  "create ... (my) own variant" of the function.
But i'll have a go.

Regards
George

rpjh...@gmail.com

unread,
Oct 29, 2025, 2:16:12 PMOct 29
to Extempore
Andrew, thanks for the heads up. I am sorry to hear that.

Are you working on something new, or are you pulled in another direction?
I still find Extempore useful, and will continue to use it. I love xtlang! I'm not a lawyer, but will it still be able to be forked and used to expand it or create something new with it as long as the copyright is in place? I've not really worked with its source code.

It's because of your early work, and defining Extempore as a "cyberphysical programming language, that I picked up and read, "Logical Foundations of Cyber-Physical Systems" by Platzer. It opened up a whole other world for me. Thank you.

I always found Extempore to hit the sweet spot for my needs: Haskell and Euterpea (HSOM) scratched the itch for functional programming and music structural composition, Tidal, now Tidal Cycles, the more beatbox groove, but Extempore seemed to be able to float between both, and I love Lisp. I never got the graphics working, which would have been the trifecta!

Best of luck, and I hope to keep hearing about you!

Rob

On Tuesday, October 28, 2025 at 4:10:16 PM UTC-4 digego wrote:
Hey Rob,

I’m afraid that you should consider Extempore “archived” at this point.  While not yet a definitive decision there has been little work on the project in recent years and further progress seems unlikely at present.

Cheers,
Andrew


Andrew Sorensen

unread,
Nov 3, 2025, 4:37:33 PMNov 3
to extemp...@googlegroups.com
Hey Rob,

MIT licensed so fork away.

Cheers,
Andrew

Reply all
Reply to author
Forward
0 new messages