Incomplete JSLiveAPI Wavetable Parameter list?

Learn about building and using Max for Live devices.
Post Reply
stooshbatis
Posts: 3
Joined: Mon Oct 22, 2018 11:32 pm

Incomplete JSLiveAPI Wavetable Parameter list?

Post by stooshbatis » Mon Oct 22, 2018 11:39 pm

Hi All,

I am experimenting javascript and ableton.
I am trying to set the individual parameters of Wavetable in Ableton 10.0.4 and Max 8.0

I have extracted the list of Wavetable parameters editable with javascript below:
Osc 1 On
Osc 1 Detune
Osc 1 Effect 1
Osc 1 Pan
Osc 2 On
Osc 2 Detune
Osc 2 Effect 1
Osc 2 Pan
Sub On
Sub Gain
Filter 1 On
Filter 1 LP/HP
Filter 1 Slope
Filter 1 Res
Filter 1 Morph
Filter 2 Type
Filter 2 BP/NO/Morph
Filter 2 Freq
Filter 2 Drive
Amp Attack
Amp Release
Amp D Slope
Amp Sustain
Env 2 Attack
Env 2 Release
Env 2 D Slope
Env 2 Initial
Env 2 Sustain
Env 2 Loop Mode
Env 3 Decay
Env 3 A Slope
Env 3 R Slope
Env 3 Peak
Env 3 Final
LFO 1 Retrigger
LFO 1 Amount
LFO 1 Phase Offset
LFO 1 Rate
LFO 1 Attack Time
LFO 2 Shape
LFO 2 Shaping
LFO 2 Sync
LFO 2 S. Rate
Time
Unison Amount
Glide

If you compare this list to Wavetable itself in Ableton, you'll see there are parameters missing. Also there is a strange spread of parameters, I see LFO 2 shape and shaping, but no option for shaping of LFO 1. Also no option for OSC 1 or 2 wave shaping.
Image

I think this is a matter of JSLiveAPI being outdated/not fully up to date with Ableton 10 and Max 8, but wanted to make a post here to see if anyone has anymore details.

Thanks for your time!

pottering
Posts: 1807
Joined: Sat Dec 06, 2014 4:41 am

Re: Incomplete JSLiveAPI Wavetable Parameter list?

Post by pottering » Wed Oct 24, 2018 5:25 am

There is this very cool livecoding tool called gibberwocky:

http://gibberwocky.cc/

https://github.com/gibber-cc/gibberwocky.live

You download the M4L version, then follow the instructions.

Load the gibberwocky_midi.amxd on a track with Wavetable, and gibberwocky_master.amxd in the Master (maybe it can be put anywhere).

Then you open this site:

http://gibberwocky.cc/live/

It will connect to the M4L device.

Then you can go to the "lom" tab in the site. The tracks should be listed, you can unfold to see the parameters of the devices (for use in livecoding in the left side of the site).

It shows Wavetable with more parameters than you listed, like "Osc 1 Pos" and "Osc 1 Effect 2".

So it seems possible to get more (all?) parameters than that list.

Also pretty sure gibberwocky is for Live 9 and Max 7. yet it works fine here (Live 10 latest beta with the bundled M4L, in Win 10).
♥♥♥

stooshbatis
Posts: 3
Joined: Mon Oct 22, 2018 11:32 pm

Re: Incomplete JSLiveAPI Wavetable Parameter list?

Post by stooshbatis » Wed Oct 24, 2018 5:01 pm

:o Good stuff! I see the controls, ok that definitely means they are there. Thanks for this, much appreciated! I'll have to poke around and figure out how to extract them, thanks again!

stooshbatis
Posts: 3
Joined: Mon Oct 22, 2018 11:32 pm

Re: Incomplete JSLiveAPI Wavetable Parameter list?

Post by stooshbatis » Wed Oct 24, 2018 5:22 pm

I figured it out and found all of the controls.

I was misinterpreting the parameter ID number out from livedevice.get('parameters')

Thanks again for the links!

Post Reply