Open L-SIAL opened 2 years ago
Hi Lawrence! Could you share the patch that generates this error ? Also: are you using the lastest releases of OM# and spat ? Thank you!
hi it's happening with the spat-scene help file and he's a section of a larger patch where it happens as well. thanks spat-scene patches.zip L
....and versions – OMsharp 1.4 and SPAT5
....and versions – OMsharp 1.4 and SPAT5
I was referring to the spat lib for OM#. Pleas emake sure you're using this: https://github.com/cac-t-u-s/spat/releases/tag/v3.5
(your patch ssems to refer to "omspat" which is the old name of it)
ok updates made and now running v3.5.. but error occurred again - window attached
🤔 strange. everything works here. btw. this error is in the audio lib, not necessarily related to spat: have you been able to save audio files by different means in OM# (for instance just like this:)
Also, can you try to add an extension at the end of the file name (I see your patch has "Test" instead of "Test.aiff") ? I need to fix/secure a few things around the management of audio files with/without extensions...
hi - save-sound didn't work and produced the error (screen grab attached). Adding ".aiff" didn't work either.
In case it helps – the "synthesise" object is writing files to disk
thanks Lawrence
It did write the file to the desktop , but with 0 bytes
.... also – just checked the Listener window for loading the spat-scene help file. There is a warning in the text ;
"WARNING: File /Users/lawrence/OM/Libraries/spat 3.5/sources/.om#/spatialize.64xfasl is older than the LISP source file."
Full listener window text
Loading foreign library: LIBOMSPAT #P"/Users/lawrence/Documents/Max8/Packages/spat5/media/omspat/OmSpat.framework/OmSpat" SPAT :: OmSpat v5.2.4 -- libspat v7.1.1 (32-bit float) (build 08 Jul 2021 12h26m32) "WARNING: File /Users/lawrence/OM/Libraries/spat 3.5/sources/.om#/spatialize.64xfasl is older than the LISP source file. => Loading /Users/lawrence/OM/Libraries/spat 3.5/sources/spatialize.lisp." ; Loading text file /Users/lawrence/OM/Libraries/spat 3.5/sources/spatialize.lisp ; Loading fasl file /Users/lawrence/OM/Libraries/spat 3.5/sources/.om#/spat-object.64xfasl ; Loading fasl file /Users/lawrence/OM/Libraries/spat 3.5/sources/.om#/spat-object-classes.64xfasl ; Loading fasl file /Users/lawrence/OM/Libraries/spat 3.5/sources/.om#/spat-editor.64xfasl ; Loading fasl file /Users/lawrence/OM/Libraries/spat 3.5/sources/.om#/spat-dsp.64xfasl "WARNING: File /Users/lawrence/OM/Libraries/spat 3.5/sources/.om#/spat-scene.64xfasl is older than the LISP source file. => Loading /Users/lawrence/OM/Libraries/spat 3.5/sources/spat-scene.lisp." ; Loading text file /Users/lawrence/OM/Libraries/spat 3.5/sources/spat-scene.lisp "WARNING: File /Users/lawrence/OM/Libraries/spat 3.5/sources/.om#/spat-scene-editor.64xfasl is older than the LISP source file. => Loading /Users/lawrence/OM/Libraries/spat 3.5/sources/spat-scene-editor.lisp." ; Loading text file /Users/lawrence/OM/Libraries/spat 3.5/sources/spat-scene-editor.lisp ; Loading fasl file /Users/lawrence/OM/Libraries/spat 3.5/sources/.om#/spat-sdif.64xfasl
hi - save-sound didn't work and produced the error (screen grab attached). Adding ".aiff" didn't work either.
Ok, so that means your problem is just with this save-sound
function; not with the Spat library 🤔
Full listener window text ...
These warning seem to indicate that you have edited the source files of the library, so your new edited file is loaded instead of the compiled version that is shipped with the library. Shouldn't be a problem (although it could lead to efficiency issues, sometimes).
I'd be interested however, to read what is printed in the Listener when you try to save a file and get this error window. ?
Is there some other way the source files could have been altered? after downloading, the folder was just moved from the Downloads folder to the Libraries folder - no editing in between.
Text from Listener window below – from opening of the spat-scene example patch to when the error occurs.
Some of the file paths will be different from previous errors as this other computer is in studio - but same error. For Listener window below - a staff user number has been replaced with text "USER-NAME".
–––––––––––––––––––––––––––––– Listener window starts here –––––––––––––––––––––––––––––––––––––
MIDI :: initialized
:: No MIDI devices detected
AUDIO :: Selecting default audio driver: "CoreAudio".
AUDIO :: [out] "Dante Virtual Soundcard", 8 channels / 48000 Hz.
AUDIO :: Routing channels:
AUDIO :: [reset]
===========================
om-sharp v1.4
r. 2021/08/22
===========================
Opening document: /Volumes/LH_PORTABLE/00__OM_All/20__OM Examples/SPAT 3.5/spat-scene.opat
Loading library: /Users/"USER-NAME"/OM/Libraries/omspat/omspat.omlib...
"WARNING: File /Users/"USER-NAME"/OM/Libraries/omspat/sources/.om#/omspat-api.64xfasl is older than the LISP source file.
=> Loading /Users/"USER-NAME"/OM/Libraries/omspat/sources/omspat-api.lisp."
; Loading text file /Users/"USER-NAME"/OM/Libraries/omspat/sources/omspat-api.lisp
; Loading fasl file /Users/"USER-NAME"/OM/Libraries/omspat/sources/.om#/omspat-lib.64xfasl
OM# :: Requiring library: odot
Loading library: /Users/"USER-NAME"/OM/Libraries/odot/odot.omlib...
; Loading text file /Users/"USER-NAME"/OM/Libraries/odot/sources/load.lisp
Loading foreign library: O. #P"/Users/"USER-NAME"/OM/Libraries/odot/lib/mac/libo.dylib"
; Loading fasl file /Users/"USER-NAME"/OM/Libraries/odot/sources/.om#/libo.64xfasl
Warning: bare references to struct types are deprecated. Please use (:pointer (:struct _osc_timetag_ntptime)) or (:struct _osc_timetag_ntptime) instead.
; Loading fasl file /Users/"USER-NAME"/OM/Libraries/odot/sources/.om#/networking-utils.64xfasl
; Loading fasl file /Users/"USER-NAME"/OM/Libraries/odot/sources/.om#/odot-bundle.64xfasl
; Loading fasl file /Users/"USER-NAME"/OM/Libraries/odot/sources/.om#/odot-expressions.64xfasl
==============================================
odot 1.0
An implementation fo the odot OSC toolkit in OM7 (using CNMAT's libo)
==============================================
Loading foreign library: LIBOMSPAT #P"/Users/"USER-NAME"/Documents/Max8/spat5/media/omspat/OmSpat.framework/OmSpat"
SPAT :: OmSpat v5.2.6 -- libspat v7.1.1 (32-bit float) (build 02 Nov 2021 11h24m13)
"WARNING: File /Users/"USER-NAME"/OM/Libraries/omspat/sources/.om#/spatialize.64xfasl is older than the LISP source file.
=> Loading /Users/"USER-NAME"/OM/Libraries/omspat/sources/spatialize.lisp."
; Loading text file /Users/"USER-NAME"/OM/Libraries/omspat/sources/spatialize.lisp
; Loading fasl file /Users/"USER-NAME"/OM/Libraries/omspat/sources/.om#/spat-object.64xfasl
; Loading fasl file /Users/"USER-NAME"/OM/Libraries/omspat/sources/.om#/spat-object-classes.64xfasl
; Loading fasl file /Users/"USER-NAME"/OM/Libraries/omspat/sources/.om#/spat-editor.64xfasl
; Loading fasl file /Users/"USER-NAME"/OM/Libraries/omspat/sources/.om#/spat-dsp.64xfasl
"WARNING: File /Users/"USER-NAME"/OM/Libraries/omspat/sources/.om#/spat-scene.64xfasl is older than the LISP source file.
=> Loading /Users/"USER-NAME"/OM/Libraries/omspat/sources/spat-scene.lisp."
; Loading text file /Users/"USER-NAME"/OM/Libraries/omspat/sources/spat-scene.lisp
"WARNING: File /Users/"USER-NAME"/OM/Libraries/omspat/sources/.om#/spat-scene-editor.64xfasl is older than the LISP source file.
=> Loading /Users/"USER-NAME"/OM/Libraries/omspat/sources/spat-scene-editor.lisp."
; Loading text file /Users/"USER-NAME"/OM/Libraries/omspat/sources/spat-scene-editor.lisp
; Loading fasl file /Users/"USER-NAME"/OM/Libraries/omspat/sources/.om#/spat-sdif.64xfasl
==============================================
omspat 3.5
Control sound processing and spatialization with Spat
==============================================
Writing file to disk: #P"/Users/NAME-HERE/Documents/OM#/out-files/Test.aiff"
I think you can put anything related to Spat aside for now, in order to simplify the problem, and just try to get the save-sound
function to work.
-- did it work with previous OM# versions ?
-- on which macOS version are you ?
As an interim solution for using spat I’ve configured an aggregate device to record multichannel spatialised files from OM# into Reaper. On the OM# side, data is saved in a chord-seq and collection for documentation.
Writing files from spat-synth was working in this version of Om# (1.4). The error started a few days ago during an evaluation of the patches sent previously.
I’ve been careful not to change OM# libraries or configurations etc if things are working so it did seem strange the error appeared mid work session.
macOS is Catalina.
Re spat working in previous versions of OM#? Not sure, I returned to OpenMusic after a long break and went straight to OM# 1.4
Any suggestions for getting save-sound to work would be great.
Thanks L
Yes. This is pretty strange indeed. Have you seen that on several computers, or on a single install ?
... and have you tried to trash OM# completely and reisnstall it ? (just in case...)
Hi Jean,
Firstly – congratulations on OM Sharp. We’ve been progressively installing on computers in our studios and building new projects.
Just wanted to check possible causes of an error with the spat-synth object. (See attached)
The error appears when “NAME” is connected to spat-synth. When there is no “NAME” specified for spat-scene it evaluates as expected – a sound is stored in RAM and playback is possible from the Sound object.
I’ve checked back through the OM archives and it seems the issue might be with binaries or libraries. All other parts of the OM Spat library are working as expected. As a possible solution we re-installed the SPAT binaries and OMSpat library and the the OM-SPAT external appears correctly in preferences.
Is there something else we can try to write files from spat-synth?
Thanks Lawrence