<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
re: portamento</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks.&nbsp; I had experimented with amp envs, and overshoots and undershoots for durs but hadn't considered timbre or spectral changes.&nbsp; I'll think about that.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Regards,</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Jim<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> cmdist-bounces@ccrma.Stanford.EDU &lt;cmdist-bounces@ccrma.Stanford.EDU&gt; on behalf of cmdist-request@ccrma.Stanford.EDU &lt;cmdist-request@ccrma.Stanford.EDU&gt;<br>
<b>Sent:</b> Tuesday, April 19, 2022 9:00 AM<br>
<b>To:</b> cmdist@ccrma.Stanford.EDU &lt;cmdist@ccrma.Stanford.EDU&gt;<br>
<b>Subject:</b> Cmdist Digest, Vol 167, Issue 4</font>
<div>&nbsp;</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">Send Cmdist mailing list submissions to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cmdist@ccrma.stanford.edu<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="https://cm-mail.stanford.edu/mailman/listinfo/cmdist">https://cm-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
or, via email, send a message with subject or body 'help' to<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cmdist-request@ccrma.stanford.edu<br>
<br>
You can reach the person managing the list at<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; cmdist-owner@ccrma.stanford.edu<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than &quot;Re: Contents of Cmdist digest...&quot;<br>
<br>
<br>
Today's Topics:<br>
<br>
&nbsp;&nbsp; 1. portamento (James Hearon)<br>
&nbsp;&nbsp; 2. Re: portamento (bil@ccrma.Stanford.EDU)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 19 Apr 2022 18:02:57 +0000<br>
From: James Hearon &lt;j_hearon@hotmail.com&gt;<br>
To: &quot;cmdist@ccrma.Stanford.EDU&quot; &lt;cmdist@ccrma.Stanford.EDU&gt;<br>
Subject: [CM] portamento<br>
Message-ID:<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;BYAPR10MB2536279F4ADFE75D708A4AF5E5F29@BYAPR10MB2536.namprd10.prod.outlook.com&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>
Content-Type: text/plain; charset=&quot;iso-8859-1&quot;<br>
<br>
<br>
Hi,<br>
I'm trying to come up with an approach to portamento note phrasing.&nbsp; Best I've been able to do is work with gliss.&nbsp; I'm wondering if this is on the right track for how this is usually handled?<br>
<br>
Regards,<br>
Jim<br>
<br>
(definstrument (myport start-time duration frequency start-freq end-freq (amp-env '(0 0 1 1 2 1 3 0)) sampling-rate)<br>
&nbsp; (let* ((beg (floor (* start-time sampling-rate)))<br>
(end (+ beg (floor (* duration sampling-rate))))<br>
(sine-wave (make-oscil :frequency frequency))<br>
(ampf (make-env amp-env :duration duration :scaler 1.0))<br>
(frqf (make-env '(0 0 1 1) :scaler (hz-&gt;radians (- end-freq start-freq)) :duration duration :base 0.67))<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>
&nbsp;&nbsp;&nbsp;&nbsp; (do ((i beg (+ i 1)))<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ((= i end))<br>
&nbsp;&nbsp;&nbsp;&nbsp; (outa i (* (env ampf) (oscil sine-wave (env frqf) )))<br>
&nbsp;&nbsp;&nbsp;&nbsp; (outb i (* (env ampf) (oscil sine-wave (env frqf) )))<br>
&nbsp;&nbsp;&nbsp;&nbsp; )))<br>
<br>
(with-sound (:srate 48000 :channels 2 :header-type mus-riff&nbsp; :play #t)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (myport 0 1 300 300 400 '(0 1 1 .3) 48000)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; (myport 2 1.5 400 400 300 '(0 .3 1 .3) 48000)<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; )<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: &lt;<a href="https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20220419/d9797a0a/attachment-0001.html">https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20220419/d9797a0a/attachment-0001.html</a>&gt;<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 19 Apr 2022 11:33:08 -0700<br>
From: bil@ccrma.Stanford.EDU<br>
To: James Hearon &lt;j_hearon@hotmail.com&gt;<br>
Cc: &quot;cmdist@ccrma.Stanford.EDU&quot; &lt;cmdist@ccrma.Stanford.EDU&gt;<br>
Subject: Re: [CM] portamento<br>
Message-ID: &lt;6d4807c522ab6c39450fd9c424e81583@ccrma.stanford.edu&gt;<br>
Content-Type: text/plain; charset=US-ASCII; format=flowed<br>
<br>
I think in the context of sound synthesis, portamento<br>
is a glissando between two notes.&nbsp; It would be interesting<br>
to get a vocal or violin recording of someone using<br>
portamento, and try to imitate it -- I think you'll<br>
also need an amplitude envelope.&nbsp; Seashore wrote about<br>
it, saying something like &quot;it starts below the first<br>
note and overshoots its target&quot;, if I remember right.<br>
You might also need to change the timbre en route.<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Cmdist mailing list<br>
Cmdist@ccrma.stanford.edu<br>
<a href="https://cm-mail.stanford.edu/mailman/listinfo/cmdist">https://cm-mail.stanford.edu/mailman/listinfo/cmdist</a><br>
<br>
<br>
End of Cmdist Digest, Vol 167, Issue 4<br>
**************************************<br>
</div>
</span></font></div>
</body>
</html>