[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[sc-dev] Event's sustain
- To: sc-dev@xxxxxxxxxxxxxxxx
- Subject: [sc-dev] Event's sustain
- From: yota morimoto <yotamorimoto@xxxxxxxxx>
- Date: Sat, 29 Nov 2014 15:02:23 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:message-id:date :to:mime-version; bh=4ccJe1n3DK7AYy5RjXui/T0mKHWyXk65/AoGcG4w6GU=; b=gTTERDTGzrZX4wWATPKLayzJaprRSvZzBhPqnMsjA2UkLjurnvx7hpYmpHD2BR1h59 0bmnJpXu7jFTIuKAo/sSlLAxe+ZyH+yEjOk1KadCMf63k3V1OCeiY7gzk3XokFs2eGqQ jRMk3A2DW4VDJpPOXzLAVnsg4s5Cyz7VgCRT1IZDEjFeFkMYocmugOBwgUcK5TrEc/qM W9rcxNJfeYOYUg18oaWvRZxnUcs4KgRyXwXCyyRcNeUAn6m5phzswDm7N3AzcgwxhvrR ynTDbP+d+hfXouHTFSth3f+xFXxFHK2loFqQR5pdbaFc2eNjJkhiItWES9TkSBbb6aV9 r8wQ==
- List-id: SuperCollider developers mailing list <sc-devel.create.ucsb.edu>
- Reply-to: sc-dev@xxxxxxxxxxxxxxxx
- Sender: owner-sc-dev@xxxxxxxxxxxxxxxx
Hi list,
When using event from Pbind, sustain is calculated as:
sustain: #{ ~dur * ~legato * ~stretch };
which makes legato inconsistent between different tempi.
When TempoClock's tempo is 1,
~legato = 0.5 is staccato,
but in other cases like tempo is 3,
~legato = 0.5 isn't staccato anymore; it overlaps to the next event
To me it is a problem so
what I did in Event, to fix this in a crude way is;
sustain: #{ ~dur * ~legato * ~stretch * TempoClock.default.tempo.reciprocal }
all the best,
yota
_______________________________________________
sc-dev mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/