Ableton Live in permanent installation | Autostart

Share your favorite Ableton Live tips, tricks, and techniques.
Post Reply
mp3museum
Posts: 2
Joined: Sat Jun 06, 2020 8:55 am

Ableton Live in permanent installation | Autostart

Post by mp3museum » Sat Jun 06, 2020 9:06 am

Hello,

currently I am trying to run ableton in a permanent museum installation on windows 10.
The computer is booting with power on in the morning and is shut down in the evening by turning off power.

Now Ableton intro 10 asks on boot to recover unsaved changes after a bad shutdown :evil:

Is there any way to disable this?
startup parameters --> could not find any
options.txt --> not available in ableton 10 anymore
mouse scripting to click yes would be my least favourite solution ...

It surprises me that ableton does not seem to offer a solid unattended autostart.
All the video-mixing-mapping software I know has no problem with this task and I could imagine there are also some embedded audio installations using ableton.

Thanks & Greetings

TLW
Posts: 809
Joined: Thu Aug 23, 2018 2:37 am

Re: Ableton Live in permanent installation | Autostart

Post by TLW » Thu Jun 11, 2020 3:55 am

Booting and shutting down a modern computer by killing its power rather than the proper shutdown procedure is a bit risky. Modern OSs don’t like it and it can result in all kinds of odd problems over time, including scrambled disk file systems if drives aren’t dismounted properly or if the power is cut while OS-related saves and other activity are going on. Using a sleep or, better, hibernate function instead of or before shutting down and powering off would be a safer idea and hopefully prevent the issue you’re having problems with.

Another way might be to create a script that shuts down Live properly then sends the shut down command to the operating system. The contents of the script would obviously depend on the operating system being used.
Live 10 Suite, 2020 27" iMac, 3.6 GHz i9, MacOS Catalina, RME UFX, assorted synths, guitars and stuff.

mp3museum
Posts: 2
Joined: Sat Jun 06, 2020 8:55 am

Re: Ableton Live in permanent installation | Autostart

Post by mp3museum » Tue Jun 16, 2020 8:55 pm

I know, but often it's the only way and even if a proper scheduled shutdown procedure exists you always want your installation to reboot reliable after a crash. Windows 10 does handle it surprisingly well if some settings are done.

Finally I found these very useful threads:
viewtopic.php?t=194945
viewtopic.php?t=161743
viewtopic.php?t=177825&start=45

I added an \Users\[username]\AppData\Roaming\Ableton\Live x.x.x\Preferences\Options.txt containing:

Code: Select all

DisableAutoBugReporting
DisableUpdateOverviews
DontLogExceptions
and my autostart.bat looks like this:

Code: Select all

@echo off

:: remove crash and undo related files
DEL /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live 10.1.14\Preferences\CrashDetection.cfg"
DEL /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live 10.1.14\Preferences\CrashRecoveryInfo.cfg"
DEL /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live 10.1.14\Preferences\Log.txt"
DEL /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live 10.1.14\Preferences\Undo.cfg"

rmdir /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live 10.1.14\Preferences\Crash"

:: remove logs
rmdir /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live Reports\Temp"
MD "C:\Users\***\AppData\Roaming\Ableton\Live Reports\Temp"
rmdir /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live Reports\Usage"
MD "C:\Users\***\AppData\Roaming\Ableton\Live Reports\Usage"

start "Ableton" "C:\ProgramData\Ableton\Live 10 Intro\Program\Ableton Live 10 Intro.exe" "C:\Users\***\Desktop\test Project\testproject.als"
So far it works great with Ableton Live Intro 10.1.14

Any improvements welcome.

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

Re: Ableton Live in permanent installation | Autostart

Post by chapelier fou » Wed Jun 17, 2020 6:12 am

It can be done with max for live
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

jestermgee
Posts: 4500
Joined: Mon Apr 26, 2010 6:38 am

Re: Ableton Live in permanent installation | Autostart

Post by jestermgee » Thu Jun 25, 2020 5:06 am

You could leave your current power on/off solution in place for the case where you have a freeze and want it to completely reboot by the next day.

But have a script close Live and then shut down correctly is the best way then just add that to the scheduled task in windows so it shuts down before power is then switched off. You can easily do that with a batch script if you are already familiar with that

https://www.computerhope.com/issues/ch000321.htm

It may work fine as you are doing but one day it wont and trying to clean up after improper shutdown is kind of the backward way of fixing a leaking boat by drilling a second hole to let the water out.

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

Re: Ableton Live in permanent installation | Autostart

Post by chapelier fou » Thu Jun 25, 2020 11:33 am

Already said it, but I would do a small max for live device. It has access to dialog boxes so target the right one and it’s done. Check my « do not save »device in maxforlive.com, it uses this method.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

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

Re: Ableton Live in permanent installation | Autostart

Post by chapelier fou » Thu Jun 25, 2020 11:37 am

When I think of it, I once made and installation using live where everything was shut down with just one button. I believe it was using an Arduino (but could be anything) and a max app turning the computer down. In the live set I placed a « do not save » device.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

selsiusx
Posts: 4
Joined: Wed Aug 09, 2023 6:03 am

Re: Ableton Live in permanent installation | Autostart

Post by selsiusx » Wed Aug 09, 2023 6:05 am

mp3museum wrote:
Tue Jun 16, 2020 8:55 pm
I know, but often it's the only way and even if a proper scheduled shutdown procedure exists you always want your installation to reboot reliable after a crash. Windows 10 does handle it surprisingly well if some settings are done.

Finally I found these very useful threads:
viewtopic.php?t=194945
viewtopic.php?t=161743
viewtopic.php?t=177825&start=45

I added an \Users\[username]\AppData\Roaming\Ableton\Live x.x.x\Preferences\Options.txt containing:

Code: Select all

DisableAutoBugReporting
DisableUpdateOverviews
DontLogExceptions
and my autostart.bat looks like this:

Code: Select all

@echo off

:: remove crash and undo related files
DEL /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live 10.1.14\Preferences\CrashDetection.cfg"
DEL /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live 10.1.14\Preferences\CrashRecoveryInfo.cfg"
DEL /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live 10.1.14\Preferences\Log.txt"
DEL /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live 10.1.14\Preferences\Undo.cfg"

rmdir /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live 10.1.14\Preferences\Crash"

:: remove logs
rmdir /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live Reports\Temp"
MD "C:\Users\***\AppData\Roaming\Ableton\Live Reports\Temp"
rmdir /S /Q "C:\Users\***\AppData\Roaming\Ableton\Live Reports\Usage"
MD "C:\Users\***\AppData\Roaming\Ableton\Live Reports\Usage"

start "Ableton" "C:\ProgramData\Ableton\Live 10 Intro\Program\Ableton Live 10 Intro.exe" "C:\Users\***\Desktop\test Project\testproject.als"
So far it works great with Ableton Live Intro 10.1.14

Any improvements welcome.
This looks exactly like what i need as well! thanks for sharing! Do you have any idea how to autostart transport too? I have Live Intro installed so a .amxd device is not really possible I guess...?

selsiusx
Posts: 4
Joined: Wed Aug 09, 2023 6:03 am

Re: Ableton Live in permanent installation | Autostart

Post by selsiusx » Wed Aug 09, 2023 7:25 am

for future reference:
If you also want the playback to start automatically:

I used a virtual midi device (Loopmidi on windows) and this to send a midi CC change https://github.com/gbevin/SendMIDI
Then I mapped the start button in Ableton to that midi command and voila!

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

Re: Ableton Live in permanent installation | Autostart

Post by chapelier fou » Wed Aug 09, 2023 7:41 am

Also super easy to do in Max for Live.
MacBook Pro 13" Retina i7 2.8 GHz OS 10.13, L10.0.1, M4L.
MacStudio M1Max 32Go OS 12.3.1

selsiusx
Posts: 4
Joined: Wed Aug 09, 2023 6:03 am

Re: Ableton Live in permanent installation | Autostart

Post by selsiusx » Wed Aug 09, 2023 9:37 am

chapelier fou wrote:
Wed Aug 09, 2023 7:41 am
Also super easy to do in Max for Live.
sure, but not if you only have Live lite (like the ones bundled with an audio interface..)

Post Reply