digego / extempore

A cyber-physical programming environment
1.41k stars 127 forks source link

Trying to play a buffer on Windows 10 plain terminates extermpore #405

Open avdrd opened 2 years ago

avdrd commented 2 years ago

Using v0.8.9 VS 2019 binaries.

(sys:load "libs/core/audiobuffer.xtm")

(bind-func dsp:DSP
  (let ((ab (AudioBuffer "assets/samples/christmas_carol.aif")))
    (lambda (in time chan dat)
      (AudioBuffer_read ab chan))))

It just exist with no error message printed or anything.

Also tried with my own build, which uses a more recent VS2019 release, but same result.

digego commented 2 years ago

It's working fine for me (on linux sorry) and I'd be surprised if this wasn't working on windows. I'll take a look next time I fire up a windows box though. One thing to try, what happens if you rename the file christmas_carol.aiff (as a small sanity check for me)

On Mon, Dec 27, 2021 at 9:25 AM avdrd @.***> wrote:

Using v0.8.9 VS 2019 binaries.

(sys:load "libs/core/audiobuffer.xtm")

(bind-func dsp:DSP (let ((ab (AudioBuffer "assets/samples/christmas_carol.aif"))) (lambda (in time chan dat) (AudioBuffer_read ab chan))))

It just exist with no error message printed or anything.

Also tried with my own built, which uses a more recent VS2019 release, but same result.

— Reply to this email directly, view it on GitHub https://github.com/digego/extempore/issues/405, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAEHPKKBOJNVMXNVGIUJF23US6I6RANCNFSM5KZLECAQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you are subscribed to this thread.Message ID: @.***>