playbenny / benny

a live music environment
Other
71 stars 3 forks source link

mix bus / channel don't work on mac #374

Closed jamesholdenmusic closed 4 months ago

jamesholdenmusic commented 4 months ago

because airwindows vsts have different names?

@mattlinares can you confirm the possible names - look in vst manager, in the 'add new' dropdown, what are console7cascade / console7channel / console7buss called?

mattlinares commented 4 months ago

i have them listed there as au files:

Screenshot 2024-05-25 at 10 19 52

Can I use those as is? Or do I need to go and get the VSTs?

jamesholdenmusic commented 4 months ago

can you get the vsts and tell me the names max gives them, then i'll make it support whatever it can find

jamesholdenmusic commented 4 months ago

and while you're at it, how about we add a folder of dependencies to install to the benny folder? if you do it i get to try merging a PR.. https://github.com/airwindows/airwindows/blob/master/LICENSE it's MIT license so he doesn't mind us bundling the vsts?

jamesholdenmusic commented 4 months ago

when you get a moment, try putting the following keys into your userconfig.json file:

"consolevsts" : {
    "bus" : "console7buss",
    "channel" : "console7channel",
    "cascade" : "console7cascade",
    "crunch" : "console7crunch"
},
mattlinares commented 4 months ago

I've tried this and it doesn't work details below. Before I say any more, just a note that I haven't added any other VST since my note in the closed ticket about not being able to find all the air window stuff on his site:

when you get a moment, try putting the following keys into your userconfig.json file:

"consolevsts" : {
  "bus" : "console7buss",
  "channel" : "console7channel",
  "cascade" : "console7cascade",
  "crunch" : "console7crunch"
},

added this as:

Screenshot 2024-05-26 at 15 38 08

Which first leads to

Screenshot 2024-05-26 at 15 40 17

And then Benny tries to load the project and then crashes, the report is in next message.

Benny loads normally when I remove the console VST bit from user config

mattlinares commented 4 months ago

the report is too long to paste crashreport.txt

jamesholdenmusic commented 4 months ago

there's a trailing comma on that key in your userconfig.json file? you need to obey json syntax. there's a note in the instructions about vscode having json syntax highlighting iirc, i recommend it!

mattlinares commented 4 months ago

Okay that works (I did spot the trailing comma but sublime syntax spotter didn't catch it and some systems are permissive)

Anyway, I still get this error because I think I have different air windows plug-ins to those expected by Benny or something, and I can't find the ones we need on the air window site. Is that right?

Screenshot 2024-05-28 at 10 17 30

The ones I have work for me in Ableton.

mattlinares commented 4 months ago

fyi i've tried adding console7channel to my vsts from this, listed in his sidebar, which doesn't clear the error https://www.airwindows.com/wp-content/uploads/SignedMacVSTs.dmg

mattlinares commented 4 months ago

I tried manually adding it this way too, still no luck

Screenshot 2024-05-28 at 12 06 23
jamesholdenmusic commented 4 months ago

ah so the fact it's showing there in the vst manager means you've got it installed ok i think the error messages mean my code isn't working right - it's still trying to load the windows-named versions which is weird because if i add that key on mine it tries to load the mac-named versions have you definitely got the latest version?

On Tue, 28 May 2024 at 12:07, Matthew Linares @.***> wrote:

I tried manually adding it this way too, still no luck Screenshot.2024-05-28.at.12.06.23.png (view on web) https://github.com/jamesholdenmusic/benny/assets/71731/4683a8f3-1c2b-4832-a737-4008e561564d

— Reply to this email directly, view it on GitHub https://github.com/jamesholdenmusic/benny/issues/374#issuecomment-2134947708, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWRHOAMPASDAI43Q2QUXDNDZERQQHAVCNFSM6AAAAABIH5TL2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZUHE2DONZQHA . You are receiving this because you authored the thread.Message ID: @.***>

mattlinares commented 4 months ago

yes, i pull every time

jamesholdenmusic commented 4 months ago

thanks. i've put the files from the airwindows site in the vst_dependencies folder, there are .so and .dmg files, is one of them vst? either should work anyway. delete the whole of that new key from your userconfig, it should now detect at startup that you've got a non-windows computer and prepare itself for that. the mixer blocks do seem to work on luke's mac now so i'm marking it closed?

On Tue, 28 May 2024 at 12:19, Matthew Linares @.***> wrote:

yes, i pull every time

— Reply to this email directly, view it on GitHub https://github.com/jamesholdenmusic/benny/issues/374#issuecomment-2134968121, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWRHOANZKY7EHYWJJAYT4LTZERR45AVCNFSM6AAAAABIH5TL2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZUHE3DQMJSGE . You are receiving this because you authored the thread.Message ID: @.***>

mattlinares commented 4 months ago

@jamesholdenmusic I get less error messages bus still get this

Screenshot 2024-05-28 at 16 58 21
jamesholdenmusic commented 4 months ago

try a full restart of max msp? (if it was still resident in memory it'll have kept the old settings dictionary)

also: in the console window do a search, there should be a line that reads "detected macos, noting small differences"? early in the initialisation process

On Tue, 28 May 2024 at 16:59, Matthew Linares @.***> wrote:

@jamesholdenmusic https://github.com/jamesholdenmusic I get less error messages bus still get this Screenshot.2024-05-28.at.16.58.21.png (view on web) https://github.com/jamesholdenmusic/benny/assets/71731/af3fe80a-d07c-4dff-9338-f92f82ddd53f

— Reply to this email directly, view it on GitHub https://github.com/jamesholdenmusic/benny/issues/374#issuecomment-2135604673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWRHOAO4S45VDBVY7ANAIVLZESSUHAVCNFSM6AAAAABIH5TL2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGYYDINRXGM . You are receiving this because you were mentioned.Message ID: @.***>

mattlinares commented 4 months ago

mmm, not sure about that.

Screenshot 2024-05-28 at 17 03 41

and still getting the other errors when not searching.

jamesholdenmusic commented 4 months ago

can you paste the whole of init stage 1?

On Tue, 28 May 2024 at 17:04, Matthew Linares @.***> wrote:

mmm, not sure about that. Screenshot.2024-05-28.at.17.03.41.png (view on web) https://github.com/jamesholdenmusic/benny/assets/71731/4069861d-768c-491e-9c63-070ddcdf0792

and still getting the other errors when not searching.

— Reply to this email directly, view it on GitHub https://github.com/jamesholdenmusic/benny/issues/374#issuecomment-2135615767, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWRHOALOLFMG2UJE5Q7TCGDZESTIPAVCNFSM6AAAAABIH5TL2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVGYYTKNZWG4 . You are receiving this because you were mentioned.Message ID: @.***>

mattlinares commented 4 months ago
js: ------------------------------------   
js: path is  Macintosh HD:/Applications/benny/   
js: looking for userconfig:  Macintosh HD:/Applications/benny/userconfig.json  OK   
js: reading config   
js: message to max:   preempt  1   
js: message to max:   seteventinterval  2   
js: message to max:   setpollthrottle  100   
js: message to max:   setqueuethrottle  10   
js: message to max:   setslop  100   
js: message to max:   setsysqelemthrottle  100   
js: detected macos, noting small differences   
js: message to max:   getsystem  systemtype   
js: building oscillator shape lookup   
js: populated pitch lookup with default 12TET 440Hz 
js: there are other tunings available!   
js: reticulating splines   
js: 
js: init stage 2 : import dictionaries 
jamesholdenmusic commented 4 months ago

so we got that

detected macos, noting small differences

this time. does it work now then? if not what are the errors?

On Tue, 28 May 2024 at 19:12, Matthew Linares @.***> wrote:

js: ------------------------------------ js: path is Macintosh HD:/Applications/benny/ js: looking for userconfig: Macintosh HD:/Applications/benny/userconfig.json OK js: reading config js: message to max: preempt 1 js: message to max: seteventinterval 2 js: message to max: setpollthrottle 100 js: message to max: setqueuethrottle 10 js: message to max: setslop 100 js: message to max: setsysqelemthrottle 100 js: detected macos, noting small differences js: message to max: getsystem systemtype js: building oscillator shape lookup js: populated pitch lookup with default 12TET 440Hz js: there are other tunings available! js: reticulating splines js: js: init stage 2 : import dictionaries

— Reply to this email directly, view it on GitHub https://github.com/jamesholdenmusic/benny/issues/374#issuecomment-2135845709, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWRHOAMLU6HWDH22PE776O3ZETCHTAVCNFSM6AAAAABIH5TL2WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZVHA2DKNZQHE . You are receiving this because you were mentioned.Message ID: @.***>

mattlinares commented 4 months ago

maybe it works, haven't gone past startup, but there are still errors. here's the full console:

max: extra arguments for message "objectfile"
vst~: can't find plug-in console7channel64
vst~: can't find plug-in console7cascade64
vst~: can't find plug-in console7channel64
js: 
js: 
js: welcome to benny 
js: 
js: 
js: init stage 1 : initial-only actions 
js: ------------------------------------   
js: path is  Macintosh HD:/Applications/benny/   
js: looking for userconfig:  Macintosh HD:/Applications/benny/userconfig.json  OK   
js: reading config   
js: message to max:   preempt  1   
js: message to max:   seteventinterval  2   
js: message to max:   setpollthrottle  100   
js: message to max:   setqueuethrottle  10   
js: message to max:   setslop  100   
js: message to max:   setsysqelemthrottle  100   
js: detected macos, noting small differences   
js: message to max:   getsystem  systemtype   
js: building oscillator shape lookup   
js: populated pitch lookup with default 12TET 440Hz 
js: there are other tunings available!   
js: reticulating splines   
js: 
js: init stage 2 : import dictionaries 
js: ---------------------------   
js: initialising polys   
js: -  64   note voice slots available   
js: -  64   audio voice slots available   
js: all note blocks loaded   
js: all audio blocks loaded   
js: reading songs from folder:   songs   
js: preloaded songfile:  bennyRung1.json   
js: preloaded songfile:  LiveVox 1 24May25.json   
js: preloaded songfile:  LiveVox 1 24May26.json   
js: preloaded songfile:  LiveVox 1 24May27.json   
js: preloaded songfile:  LiveVox 1 24May28.json   
js: preloaded songfile:  livox 10.json   
js: preloaded songfile:  livox 11.json   
js: preloaded songfile:  livox 12.json   
js: preloaded songfile:  livox 13.json   
js: preloaded songfile:  livox 14.json   
js: preloaded songfile:  livox 15.json   
js: preloaded songfile:  livox 16.json   
js: preloaded songfile:  livox 17.json   
js: preloaded songfile:  livox 18.json   
js: preloaded songfile:  livox 19.json   
js: preloaded songfile:  livox 2.json   
js: preloaded songfile:  livox 20.json   
js: preloaded songfile:  livox 21.json   
js: preloaded songfile:  livox 3.json   
js: preloaded songfile:  livox 4.json   
js: preloaded songfile:  livox 5.json   
js: preloaded songfile:  livox 6.json   
js: preloaded songfile:  livox 7.json   
js: preloaded songfile:  livox 8.json   
js: preloaded songfile:  livox 9.json   
js: reading songs from folder:   templates   
js: preloaded songfile:  autoload.json   
js: preloaded songfile:  bobs.json   
js: building blocktypes database   
js:   abb.bar.count.json   
js:   abb.drum.step.json   
js:   abb.easy.scale.json   
js:   abb.eight.step.json   
js:   abb.grid.master.json   
js:   abb.midi.gate.json   
js:   abb.midi.out.json   
js:   abb.nord.drum.json   
js:   abb.note.octaves.json   
js:   abb.note.quantiser.json   
js:   abb.scale.master.json   
js:   abb.sixteen.step.json   
js:   abb.universal.notes.json   
js:   abb.velocity.seq.json   
js:   core.clock.json   
js:   core.input.control.auto.json   
js:   core.input.control.basic.json   
js:   core.input.keyboard.json   
js:   core.scales.shapes.json   
js:   core.space.json   
js:   core.states.json   
js:   core.tuning.json   
js:   midi.autodamp.json   
js:   midi.curve.map.1d.json   
js:   midi.delay.json   
js:   midi.fold.json   
js:   midi.free.clock.json   
js:   midi.holes.json   
js:   midi.lfo.json   
js:   midi.note.length.json   
js:   midi.note.select.json   
js:   midi.rhythmes.alpes.json   
js:   midi.stats.json   
js:   midi.sustain.json   
js:   midi.switch.json   
js:   midi.velocity.json   
js:   seq.grid-o.json   
js:   seq.grid.json   
js:   seq.jumps.json   
js:   seq.note.step.json   
js:   seq.note.tracker.2.json   
js:   seq.note.tracker.json   
js:   seq.note.tracker.o.json   
js:   seq.note.tracker.old.json   
js:   seq.note.trackerL.json   
js:   seq.rene.json   
js:   seq.shape.player.json   
js:   seq.values.json   
js:   utility.buttons.json   
js:   utility.midi.delay.json   
js:   utility.values.json   
js:   abb.wizard.saturation.json   
js:   fx.delay.buckets.json   
js:   fx.delay.stretch.json   
js:   fx.delay.tape.json   
js:   fx.filter.2pole.env.json   
js:   fx.filter.2pole.json   
js:   fx.filter.fixed.bank.json   
js:   fx.filter.reson.json   
js:   fx.filter.vactrol.lpg.json   
js:   fx.freqshift.json   
js:   fx.pitch.divider.json   
js:   fx.pitch.gate.json   
js:   fx.pitch.retune.json   
js:   fx.pitch.shift.json   
js:   fx.varispeed.looper.json   
js:   fx.wavefold.json   
js:   midi.scale.quantise.json   
js:   mix.bus.json   
js:   mix.channel.json   
js:   mix.stereo.channel.json   
js:   seq.analogue.json   
js:   seq.sample.tracker.json   
js:   seq.sample.tracker.old.json   
js:   source.basic.osc.json   
js:   source.dual.osc.json   
js:   source.harmonic.osc.json   
js:   source.random.json   
js:   source.shepherd.osc.json   
js:   source.wave.scan.json   
js:   source.wave.traverse.json   
js:   utility.delay.json   
js:   utility.env.asr.json   
js:   utility.eq.peak.json   
js:   utility.gate.json   
js:   utility.lowpass.highpass.json   
js:   utility.mid-side.json   
js:   utility.mixer.cascade.json   
js:   utility.mixer.channel.json   
js:   utility.pan.mono.json   
js:   utility.self.tuner.json   
js:   utility.sidechain.compressor.json   
js:   utility.vca.env.json   
js:   utility.vca.json   
js:   utility.xfade.json   
js:   voice.basic.json   
js:   voice.dual.json   
js:   voice.harmonic.json   
js:   voice.ks.json   
js:   voice.multi.sample.player.json   
js:   voice.noise.json   
js:   voice.organ.json   
js:   voice.pitch.env.json   
js:   voice.sample.player.json   
js:   voice.shepherd.json   
js:   vst.Console7Channel.json   
js:   vst.DPiano-E.json   
js:   vst.TDR.Kotelnikov.json   
js: all essential data loaded, please choose a hardware configuration and press start.   
js:  preloaded wave  365707__biancabothapure__fire-crackling.wav  [cache hit  0  ]  [cache hit  0  ]  [cache hit  0  ]  [cache hit  0  ]  [cache hit  0  ]  [cache hit  0  ]  [cache hit  0  ]  [cache hit  0  ]  [cache hit  0  ]   
js: Preload waves complete. Number of items in the waves polybuffer:  1  Memory used in the waves polybuffer:  8.32  MB 
jamesholdenmusic commented 4 months ago

if those ones at the top are the only ones then that's because you didn't fully restart max between attempts, no other way it could've happened. let me know when you've tried the blocks.

mattlinares commented 4 months ago

defo restarted (unless there's some hard restart option?) and get the below:

and can't remember what blocks i needed to test in what way (maybe cos this issue has become orphaned). mmmm, maybe the problem was that i couldn't record out and so needed to use bus, but... mmmm arrrr

max: extra arguments for message "objectfile"
vst~: can't find plug-in console7channel64
vst~: can't find plug-in console7cascade64
vst~: can't find plug-in console7channel64
js: 
js: 
js: welcome to benny 
js: 
js: 
js: init stage 1 : initial-only actions 
js: ------------------------------------   
js: path is  Macintosh HD:/Applications/benny/   
js: looking for userconfig:  Macintosh HD:/Applications/benny/userconfig.json  OK   
js: reading config   
js: message to max:   preempt  1   
js: message to max:   seteventinterval  2   
js: message to max:   setpollthrottle  100   
js: message to max:   setqueuethrottle  10   
js: message to max:   setslop  100   
js: message to max:   setsysqelemthrottle  100   
js: detected macos, noting small differences   
js: message to max:   getsystem  systemtype   
js: building oscillator shape lookup   
js: populated pitch lookup with default 12TET 440Hz 
js: there are other tunings available!   
js: reticulating splines   
js: 
js: init stage 2 : import dictionaries 
js: ---------------------------   
js: initialising polys   
js: -  64   note voice slots available   
js: -  64   audio voice slots available   
js: all note blocks loaded   
js: all audio blocks loaded   
js: reading songs from folder:   songs   
js: preloaded songfile:  bennyRung1.json   
js: preloaded songfile:  LiveVox 1 24May25.json   
js: preloaded songfile:  LiveVox 1 24May26.json   
js: preloaded songfile:  LiveVox 1 24May27.json   
js: preloaded songfile:  LiveVox 1 24May28.json   
js: preloaded songfile:  livox 10.json   
js: preloaded songfile:  livox 11.json   
js: preloaded songfile:  livox 12.json   
js: preloaded songfile:  livox 13.json   
js: preloaded songfile:  livox 14.json   
js: preloaded songfile:  livox 15.json   
js: preloaded songfile:  livox 16.json   
js: preloaded songfile:  livox 17.json   
js: preloaded songfile:  livox 18.json   
js: preloaded songfile:  livox 19.json   
js: preloaded songfile:  livox 2.json   
js: preloaded songfile:  livox 20.json   
js: preloaded songfile:  livox 21.json   
js: preloaded songfile:  livox 3.json   
js: preloaded songfile:  livox 4.json   
js: preloaded songfile:  livox 5.json   
js: preloaded songfile:  livox 6.json   
js: preloaded songfile:  livox 7.json   
js: preloaded songfile:  livox 8.json   
js: preloaded songfile:  livox 9.json   
js: reading songs from folder:   templates   
js: preloaded songfile:  autoload.json   
mattlinares commented 4 months ago

Probably this:

Screenshot 2024-05-28 at 21 14 26
mattlinares commented 4 months ago

i mean the sound's coming thru...

mattlinares commented 4 months ago

@jamesholdenmusic I'm still not sure whether this is done. The error still appears at the top of the max console, which is giving me heebie-jeebies.

the bus is actually working which i suppose means this ticket is closed, but the errors are disconcerting (e.g. maybe it's just not using the airwindows?)

Screenshot 2024-06-20 at 14 17 51

this is the only relevant vst the vst picker seems to know about:

Screenshot 2024-06-20 at 14 10 56

jamesholdenmusic commented 4 months ago

this is going to be solved via a different route - the person who made the airwindows max externals i use for dither etc is going to make the console plugins into externals too, they'll work seamlessly

for now, i'm wondering if the errors at the top are just the project trying to find all the files my copy references, in which case they'll go away when she releases the externals i mentioned

if the vst doesn't load it'll pass audio so you get my eq section but not the console sat+summing. try switching console modes (the button at the bottom of the channel that goes between channel/cascade/crunch) - if you get red error lines in the max console then it's not loading, if you don't then it's working

curious to hear outcome of that

mattlinares commented 4 months ago

I tried to switch console modes but I can't see anything that seems to match the description you've given

Screenshot 2024-06-20 at 17 50 54 Screenshot 2024-06-20 at 17 51 03 Screenshot 2024-06-20 at 17 50 35

jamesholdenmusic commented 4 months ago

last screenshot, the button marked channel