Comments (3)
I've updated the function to accept a Clip
object in addition to a raw clip ID to make this a bit easier to use.
from ableton-js.
For this too I was able to get a workaround :)
I added the following to my Track.py of the MIDI Remote Script:
def duplicate_clip_to_arrangement_by_index(self, ns, clip_index, time):
return ns.duplicate_clip_to_arrangement(ns.clip_slots[clip_index].clip, time)
Which then allowed me to duplicate using the index:
await ableTrack.sendCommand('duplicate_clip_to_arrangement_by_index', {
clip_index: 0,
time: 1234,
})
from ableton-js.
I think it is accessed via clip.raw.id
from ableton-js.
Related Issues (20)
- Latency problems when upgrading to 3.3.0 from 3.1.7 HOT 5
- add lodash as dependency in package.json HOT 1
- React Errors HOT 2
- clip.removeNotes leads to MPE warning HOT 2
- Creating Scenes HOT 2
- Enabling / disabling devices seems to be broken HOT 2
- mixer_device timeout HOT 1
- [OFFTOP] how to use "output_meter_left" or any data for visualize HOT 4
- License file HOT 1
- Send MIDI Signals HOT 1
- AbletonJS stops working after reinstallation node_modules HOT 2
- get_prop() timeout on large dataset HOT 2
- Numerus "Message could not be assigned to any request" Errors HOT 1
- Warp Marker Support HOT 1
- "create_midi_track() argument after ** must be a mapping, not list" HOT 2
- Track.duplicateClipToArrangement broken after recent id changes
- Random Unhandled error events HOT 4
- Getting clip info
- MIDI Remote Script link not working HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ableton-js.