Source Code | Tickets | Trello | Twitter | Patreon | © Michael DeHaan, 2020

Songs


About

The top level object in a Warp composition is a Song. You can only have one at a time, and have very few editable properties.



Common Imports 

Here are the import statements you will work with most frequently with Warp:

from warpseq.api import demo
from warpseq.api.public import Api as WarpApi
from warpseq.model.slot import Slot, DataSlot
from warpseq.model.evaluators import *

Creating A Song 


api = WarpApi()
api.song.edit(tempo=120)

An instrument has the following properties:

Property Type Description
tempo int the default tempo for the song before any rate multipliers on the Scene, Pattern or Clip are applied
scale string the name of an already defined Scale object to use as the default where it is not set on a Scene or Clip

Next Up 

See Tracks