How to mount well a network drive in Windows 10

Mount your network location as a network drive. For example, in Windows Explorer, at «This PC», use «Map network drive». If it requires credentials then check «Remember my credentials». Repeat that for all the drives that you want to mount. In the start menu, search for «cmd», and run it as administrator. Then, in the […]

Anuncio publicitario

Some python tricks and small utilities

I have decided to collect here some Python tricks that I find interesting and useful: How to show a function’s variables: print vars() #Inside the function How to show an object’s methods: def getMethods(self, object): temp = inspect.getmembers(object, predicate=inspect.ismethod) for method in temp: print method[0] How to re-scale one value: def scale(Value, OldMin, OldMax, NewMin, […]

Ableton Live API – Full devices parameters list

    Parameter number, parameter name, minimum and maximum values: ————————————————– DEVICE:  Amp 0: «Device On» 0.0 – 1.0 1: «Amp Type» 0.0 – 6.0 2: «Bass» 0.0 – 1.0 3: «Middle» 0.0 – 1.0 4: «Treble» 0.0 – 1.0 5: «Presence» 0.0 – 1.0 6: «Gain» 0.0 – 1.0 7: «Volume» 0.0 – 1.0 8: […]

Ableton Live API – How to copy and paste clips

Since the Ableton Live 9.6.2 update, it is posible to copy and paste clips with the Ableton Live API. Here´s how to do it with to use it with your Python scripts:   from pushbase import special_session_component def copyclip(self, source_track, source_scene, destination_track, destination_scene): function = special_session_component.ClipSlotCopyHandler() function._start_copying([source_track].clip_slots[source_scene]) function._finish_copying([destination_track].clip_slots[destination_scene])   And if you also want to embeed in a function […]