Why does my Simple Crossfader not work?

Questions and discussion about building and using Max for Live devices
Post Reply
elgrayso
Posts: 148
Joined: Thu May 30, 2013 6:41 am

Why does my Simple Crossfader not work?

Post by elgrayso » Thu Jan 28, 2016 3:55 am

I have simple this crossfader device that lets you fade the audio level of a track (and has a curve-steepness control). It's as simple as that. It used to work, but it must not be compatible with newer versions of Max. I imagine it would be easy to spot the problem for someone with a decent understanding of Max, but unfortunately that is not me quite yet!
Any suggestions would be very appreciated!

Code: Select all

<pre><code>
----------begin_max5_patcher----------
2055.3oc2aszjahCD9rSU4+.E0dXmDONHAHfs1cqZy88TNlI0TXaYakfAWf7
LS1T6+8Uuvfv.V1iw1YygAid.s9zW2p6lN+3suYj8zrWvE1V+l0msFM5GrVF
IZi2xnxFFYuN9kYIwEhAZmheNa5WsGq5ihegJZ+8VfcMtIlNaEIc4i43YT4i
22wahyXqfnH9EW3D+wVfvINVeobRoaWSRSvTwqAV15hrTZA4ev7FANr4VM5r
szxgCpO7z30hga+W4j3jcBkb3zuuAKkHaRJS1185IyEygs1tOvVz1+912vux
tL9UiNEOSXPhA.TneDGZ7P7a5Afbu..T6ni+oiNIjmvSDXR4y8o37cRy981C
OBEvu3wWvVPm5vzlbbANkFSIYoZKcM7CT8NxYB.Em+HNMdZBVuyZOqZBQnqj
E2oLnC9vtQ3wcgxUJSEwOgm+XLklSltkhq9UgBpKwZNZlrEmsnr8ccTeUljk
traHWanEqxxoFN1xEErsNWyXABbcG8rAvucsBPXq..GTXWgLfQMXEWq5GmB4
aV150r8x80MyIKWQs9Cq+lj1GyKHfK9VnHgpoevATPqz3xWNk2PMcSyzYcLP
msFiIzd.gF19WOPimKpFzfbt0fFz.XPeVbBlI3V.Xf5ONS5CiP90wHfC3.fD
5pYf2anQK0UCLy+S.Z4d5n0BlsXlku9TrbjlYbj5T9seTigmp0tNFrKLBdJX
DaIES4FvmFmtrc.C5FL.VpdJKY6ZrUB9IbxC8ZG20WPlBBijNjZJjdHiUvyj
wJHx8U5gUQB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5PbCkoFw6mtM.fSW6.0BbjyK6J3H
AnvGPG6MEYaymUpIpz4rZfOrv2njzcwS+4xyC2afqHym2HxUYPdE7nFmWOsh
FPnNZQGYpnGbyI59lJ5d2bhtmoht6Mmn6ZpnCt4DcfohN5lTzAlH5vypnWVH
IU4bT8EiXuJ1AF884hd8oEzfLOdToHqcIoOIny27xjrowIpTFua1skMtyv2A
pijySslVk+sVKbBnnF.h.tFU4ffiqR.Nouxs36WbnbxO.UQnHvvGr4gFxCJj
GGti3CE8gek0.7Crk4cb+il3b2cOXaP8UDoJiofvC74Nfs+4NF9xq.hBsu7b
tR3InrZUOoOFzEmxEc9gp2YAmXPoeAb.nZAMdUIR8AQAfAn1SVlGOeabh0ue
+8+oUwp37M8ZOKDVq9ST4o4lp.TBfCWAnHfGVLKEOxB3ilmkX.TEpRBgDp7.
Wmp8UkTn1DhrbRWxvYoRWBbuQpzkN285oNW1MmiuHWFtpRoSc4Y4YEEKhYz2
9qhL0ID9nPUA5c6oE6MbZwUnjAEQVYsbJ+b9WYsX.H35oF6einF241WOpwUy
Y30ikvmdxsTD2lgbVRe2KTS8D8XThrZIDyVBurU8IiEKeSDKtSuWZAyyT7Bd
QEKWSEKPuh0Zx7MYjTphN4yBljEFYfuHlROUo.qcWn7+BV9xXrD2USLNyqRf
IqxfKNmP33gIz0qgnYDlwK17KtnwhCyDQq4JvXZKvQ5tgmme0sCG4Ttd.lsd
NN0PHRa83itLqmPyX0QWApSv457gFPMxUvUh7jEUjjHItaHA5.iHNhUyQQbP
dx+qHHWMn.3EY0fFH0ZWTjj2C.Zp0.vvudLX2oSmj.Cmn4YlZ.5JbtiQdv4d
qJXduJAS4XdiZFWHSMqU7l0IdK0Hdm0Gt3Ex9y+ApDP+z
-----------end_max5_patcher-----------
</code></pre>

chapelier fou
Posts: 4924
Joined: Mon May 15, 2006 12:15 pm

Re: Why does my Simple Crossfader not work?

Post by chapelier fou » Thu Jan 28, 2016 5:52 am

What doesn't work ?
The patch seems ok to me, but the whole API thing is missing.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
iMac 27" Retina i5 3,2 GHz OS 10.11.3 L10.0.1 M4L.

elgrayso
Posts: 148
Joined: Thu May 30, 2013 6:41 am

Re: Why does my Simple Crossfader not work?

Post by elgrayso » Thu Jan 28, 2016 7:19 pm

If I have an audio clip looping on an audio track, and I add the device, it just stops any audio at all. The cross fader should bring in audio gradually (or quickly depending on the sharpness control).

By the way, the A/B button is a left/right control which determines which side of the crossfader has the audio signal.

Does this work on your computer? I have Max 7 and Ableton 9.5 and all the device does it completely stop all audio until I bypass it.

jonbenderr
Posts: 123
Joined: Sat Feb 27, 2010 11:20 pm

Re: Why does my Simple Crossfader not work?

Post by jonbenderr » Fri Jan 29, 2016 10:43 am

You might want to have an initial value set for the A/B live.text object. Both inputs of the switch object initialized as closed for me.

You can also add arguments to the switch object to be extra sure that one inlet or the other is opened. "switch 2 1"

Or like I said, just go into the live.text object inspector, enable initial value, and set to 0. or 1.

That's one problem I saw. There might be problems with your expressions, but I'm not terribly great with those.

EDIT:

There are no initial values set for the crossfader or sharpness controls either. These issues COULD cause problems. Might not be the answer, but, testing on my work computer.

elgrayso
Posts: 148
Joined: Thu May 30, 2013 6:41 am

Re: Why does my Simple Crossfader not work?

Post by elgrayso » Sat Jan 30, 2016 6:48 am

I tried setting these with initial values like you said, but it still had the same issue of just blocking all audio. I'm not sure about the switch thing. By default it showed switch 1 being open and switch 2 being closed. Even though this is a simple device, most of it is over my head.
I wanted to create a scratch style fader device and I found a couple devices that had elements of what I wanted. I learned a bit of Max, enough to connect a few of the pieces, but it still didn't work until other users helped me by patching up my mistakes. It used to work, but now no sound passes through it at all. I hope to learn Max someday, but I have a lot on my plate just learning the basics of audio and production which I want to learn first. Hopefully the ableton community will help me figure out why this device broke in the meantime though. Instead of a real mixer, I run my turntable direct into an ableton audio track and use this max crossfader device (mapped to a midi controller).

chapelier fou
Posts: 4924
Joined: Mon May 15, 2006 12:15 pm

Re: Why does my Simple Crossfader not work?

Post by chapelier fou » Sat Jan 30, 2016 9:36 am

I couldn't re-check, but at least, is there a plugout~ object in the end of your patch ?
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
iMac 27" Retina i5 3,2 GHz OS 10.11.3 L10.0.1 M4L.

doubleUG
Posts: 133
Joined: Sun Apr 24, 2011 7:19 am

Re: Why does my Simple Crossfader not work?

Post by doubleUG » Sat Jan 30, 2016 1:34 pm

<pre><code>
----------begin_max5_patcher----------
2707.3oc6b07iqaaD+7Ff7+ffQOj2Kd8ij5CJUzVf9tzS8TPODrafgrEsWlH
KIHQuuMIn4u8RQpusndTZsjc.5dXkMIE0L+3LCmYzP+6e627vpcwuQxVY7WM
dx3gG9cdKOHZKukGJa3gUm7eaenelXfqhHeId2OuZcQeLxaLQ6gzWIaXuPyB
HuR2SpFPz4SwmYgDl31MKaV1F6WSHxG+pc9QGWs1XEMhUdw3mJGMMP7L3O3G
gdMmZZT4LCKaMwms+EZzwsoj8L4j6f81.Va33XleQ9EDXCn9Ajw90PAkrZkn
k+629M4W4WV+tQlL5w+PAb.UBG7aJxOTAD3NdHvxRx61V4WLgKKDvR8ixB8Y
DiSYFY9mRB4hciERT.F1SVd.a4leABQyCZbhjk4ejbIbf.WKl2pelGoAyCAB
t1ai8RJIjxW7yNEGyd4O3OUiIfDCpY.6GOLG.OLccxABWnTX.XurpFIgmOx4
QUVHPeMbX8WAQPiWBA4f1f4REdXgwBaykEQ93U1ZIX7HfIPXfz009VnibkA.
uIHAXij7O7Vv+4pDzn4RiXJJDRUfBSlVNKq9v2a.+ZxCGhiXYzeSPABhrQ6Q
9mjT1+LkliNpPOkdbgGOfYIcyvxUXS0DsrxOYegxonk.y5GvrG+lPE.lM2iD
64SBS5idNLUNqu5mVwqW1aRJIiDw7Yz3nVXmBMxDe916DFIcKIxemjbg8MYM
3bWSg6HlXg.C3RF+RPesR2glfewERp1Npd9Y9uRB15yXozcmYj5OkU.0kXcN
ZF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o8pKpOgA0gv7ZEm88Cckm8zklvb0hvfK9Jov+XMnL2kW
FyVaHCcuRXKrPlkVDl8huTh0gtVdxRq0QQRKVXByRW7ZYE7M0krFVr+DMHIl
FwJ1VzxwTbtjsjwSJ8np82rMkkVKFW8sFjw0VKRGtDeCLTapm3J9dcODw4Ha
oIMGsbg5BNPawVGOYNh3WJ+17IZJ4Fndby3TBwNM3FKfyhvMt5IQ6cCDavWq
8F5.z1tRAE4uRVkBQlv4EnwZI1H3lQI1X6I+wOSxMNH2EgablIUZSn3GiFbw
I3PpRiacv1lItQi0FktGAmORyROk.mavNNZ46l48Jgs7QrizMf8kmrfZEu9x
RW5k3EzxGTLPaBa5wdVj5pNG8NAM08H208310yQsafiY2EGwthRiPl43toMq
JMdA+m+kwORBCiM.vpSXyp5iaUC.r0I+UrIUd1SgPri3XmBL8PnNYNs4Qo6o
lnXyjr+jnBDp6KOq8hmzVpnpMIkopErtw+DOmRvtfrKNid2H5d2wCzvvpmUq
j1VlNTw6ij1rXJW0JazHO.zSPWl.OWfk7S7lfsovhaCdQVr87PPa4Yut26.U
evsQXKwIY1ECrcckex0x7hmT0I3EgaV+KIowIwoUmyxMld02wYVbEiVmh2FE
qyzWi2clwpN.qSXItyzwIzBt6pLck+Th1d99+hS2shSI9o7Y8hZ0Z0ItcDZ0
Cqnhy3W9eSRISrB
-----------end_max5_patcher-----------
</code></pre>
copy the text, open Max/Msp > File > New form Clipboard
https://docs.cycling74.com/max5/vignett ... tches.html

https://soundcloud.com/doubleUG

elgrayso
Posts: 148
Joined: Thu May 30, 2013 6:41 am

Re: Why does my Simple Crossfader not work?

Post by elgrayso » Sat Jan 30, 2016 9:37 pm

doubleUG thanks so much!
if you want I can throw you a few bucks for a beer or something via paypal. I don't want to be the guy that just asks for favors and then leaves 8)

Post Reply