View Single Post
Old 08-20-2018, 03:11 PM   #1797
Geoff Waddington
Human being with feelings
 
Geoff Waddington's Avatar
 
Join Date: Mar 2009
Location: Dartmouth, Nova Scotia
Posts: 5,035
Default

Quote:
Originally Posted by dragonslair View Post
I finally got some time to look into this a bit more, I have been slowly reading the entire thread, I am up to about page 30.
I mapped everything on the Spirit 328 that outputs a midi message when in Controller mode, here is the list, these also output midi messages when in mixer mode, but the messages are different, and are used for console automation.

Rewind 90 5b 7f 90 5b 00
FastForward 90 5c 7f 90 5c 00
Stop 90 5f 7f 90 5f 00
Play 90 5e 7f 90 5e 00
Record 90 5d 7f 90 5d 00
Locate1 90 65 7f 90 65 00
Locate2 90 66 7f 90 66 00

Fader1 b1 07 7fv b1 07 00 (fader)
Pan1 b1 0a 7f b1 0a 00 (encoder)
Mute1 b1 40 01 b1 40 00
Solo1 b1 44 01 b1 44 00

Fader2 b2 07 7fv b2 07 00 (fader)
Pan2 b2 0a 7f b2 0a 00 (encoder)
Mute2 b2 40 01 b2 40 00
Solo2 b2 44 01 b2 44 00
to
Fader16 bf 07 7f bf 07 00 (fader)
Pan16 bf 0a 7f bf 0a 00 (encoder)
Mute16 bf 40 01 bf 40 00
Solo16 bf 44 01 bf 44 00

Fader0 b0 00 7f b0 00 00 (master fader)
STE1 b0 21 7f b0 21 00 (encoder)
STE2 b0 22 7f b0 22 00 (encoder)
FX1 b0 23 7f b0 23 00 (encoder)
FX2 b0 24 7f b0 24 00 (encoder)
STE1 mute b0 61 01 b0 61 00
STE1 solo bd 21 01 bd 21 00
STE2 mute b0 62 01 b0 62 00
STE2 solo bd 22 01 bd 22 00
Solo Clear bd 00 01 bd 00 00

I set up a .rst and .axt file, the transport controls work, but there is no feedback from Reaper, none of the faders, encoders or the mute/solo switches work.
-------------------------------------
Spirit328.rst

Rewind PressFB 90 5b 7f 90 5b 00
FastForward PressFB 90 5c 7f 90 5c 00
Stop PressFB 90 5f 7f 90 5f 00
Play PressFB 90 5e 7f 90 5e 00
Record PressFB 90 5d 7f 90 5d 00

Fader1 Fader14BitFB -60.0 12.0 b1 07 7f b1 07 00
Pan1 EncoderFB b1 0a 7f b1 0a 00
Mute1 PressFB b1 40 01 b1 40 00
Solo1 PressFB b1 44 01 b1 44 00

Fader2 Fader14BitFB -60.0 12.0 b2 07 7f b2 07 00
Pan2 EncoderFB b2 0a 7f b2 0a 00
Mute2 PressFB b2 40 01 b2 40 00
Solo2 PressFB b2 44 01 b2 44 00

Fader3 Fader14BitFB -60.0 12.0 b3 07 7f b3 07 00
Pan3 EncoderFB b3 0a 7f b3 0a 00
Mute3 PressFB b3 40 01 b3 40 00
Solo3 PressFB b3 44 01 b3 44 00
-------------------------------------------------
Spirit328.axt

Rewind Rewind
FastForward FastForward
Stop Stop
Play Play
Record Record

Fader1 TrackVolume
Pan1 TrackPan
Mute1 TrackMute
Solo1 TrackSolo

Fader2 TrackVolume
Pan2 TrackPan
Mute2 TrackMute
Solo2 TrackSolo

Fader3 TrackVolume
Pan3 TrackPan
Mute3 TrackMute
Solo3 TrackSolo
-------------------------------
Also, when I move a control or push a button in Reaper, the monitor does not show any output.
I am just guessing on the .axt file, I haven't a clue what I am supposed to do there.
Do we have to set any actions in Reaper, or is that done in the .dll?

Any thoughts?
Ok, first of all, you're working way too hard, channel notation is your friend, instead of:

Fader1 Fader14BitFB -60.0 12.0 b1 07 7f b1 07 00
Pan1 EncoderFB b1 0a 7f b1 0a 00
Mute1 PressFB b1 40 01 b1 40 00
Solo1 PressFB b1 44 01 b1 44 00

Fader2 Fader14BitFB -60.0 12.0 b2 07 7f b2 07 00
Pan2 EncoderFB b2 0a 7f b2 0a 00
Mute2 PressFB b2 40 01 b2 40 00
Solo2 PressFB b2 44 01 b2 44 00

etc., up to 16

do this once only :

Channel
Fader Fader14BitFB -60.0 12.0 b0 07 7f b0 07 00
Pan EncoderFB b0 0a 7f b0 0a 00
Mute PressFB b0 40 01 b0 40 00
Solo PressFB b0 44 01 b0 44 00
ChannelEnd

When you add the surface, just set num channels to 16, and all 16 will automatically get generated.

now just put this in once only in the .axt

Fader TrackVolume
Pan TrackPan
Mute TrackMute
Solo TrackSolo

Let me know what happens.
__________________
CSI - You can donate here: geoffwaddington.ca
Beta software: https://stash.reaper.fm/v/38349/CSI%20beta.zip
installation and documentation here: https://github.com/malcolmgroves/reaper_csi/wiki
Geoff Waddington is offline   Reply With Quote