[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [sc-users] ATK: HOAbinaural in NRT?
- To: sc-users <sc-users@xxxxxxxxxxxxxxxx>
- Subject: Re: [sc-users] ATK: HOAbinaural in NRT?
- From: anders@xxxxxxxxxx
- Date: Mon, 24 May 2021 16:21:11 +0200
- In-reply-to: <CAFniQ7X0p68aQn0PKAXqsKWFp16wmY7ZONXhzC=got_Qpe-34Q@mail.gmail.com> (jamshark's message of "Sun, 23 May 2021 10:22:38 +0800")
- List-id: SuperCollider users mailing list <sc-users.create.ucsb.edu>
- References: <87cztlzdyb.fsf@josefk.localdomain> <CANZDFk=O-QyDihstM3dD=Q1StuzFkiQ+WFDWAyxHy=sZCgi2Wg@mail.gmail.com> <CAFniQ7X0p68aQn0PKAXqsKWFp16wmY7ZONXhzC=got_Qpe-34Q@mail.gmail.com>
- Reply-to: sc-users@xxxxxxxxxxxxxxxx
- Sender: owner-sc-users@xxxxxxxxxxxxxxxx
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)
I could hardcode the expansion of HOABinaural.loadbinauralIRs etc. used
in the classfile - with the usual adaptions for uploading buffers to a
NRT server. Or perhaps copy enough of the classfile to adapt to plug
into ascore.
But perhaps there's a more general/straightforward approach?
Ie. getting the expansion as underlying server messages - ie. a
trace/debug thing or similar - to store in a variable or print?
>>>>> 23 May 2021 - j = jamshark70@xxxxxxxxx:
>> HOADecLebedev26.loadHrirFilters(s); // load the HRIR filters
>> first
j> That's loading into a real-time server instance, isn't it?
j> It looks like this recipe is producing the HOA-encoded format by
j> NRT, but then decoding in RT... the question was about using the
j> IRs in an NRT server.
indeed, it seems that's where that example leaves us
j> *Maybe* aServer.makeBundle() would get access to the commands but
j> I can't test now.
i did try adding some variants of that to my score, but wo.luck:
hoaLoadBundle = myserver.makeBundle(nil, {
HOABinaural.loadbinauralIRs(~server);
...
and
hoaLoadBundle = myserver.makeBundle(nil, {
~server.doWhenBooted({
HOABinaural.loadbinauralIRs(~server);
...
perhaps there's something i missed there?
thanks for any suggestions
-anders
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.birmingham.ac.uk/facilities/ea-studios/research/supercollider/mailinglist.aspx
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/