re: portamento

Thanks.  I had experimented with amp envs, and overshoots and undershoots for 
durs but hadn't considered timbre or spectral changes.  I'll think about that.
Regards,
Jim
________________________________
From: [email protected] <[email protected]> on 
behalf of [email protected] <[email protected]>
Sent: Tuesday, April 19, 2022 9:00 AM
To: [email protected] <[email protected]>
Subject: Cmdist Digest, Vol 167, Issue 4

Send Cmdist mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://cm-mail.stanford.edu/mailman/listinfo/cmdist
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Cmdist digest..."


Today's Topics:

   1. portamento (James Hearon)
   2. Re: portamento ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Tue, 19 Apr 2022 18:02:57 +0000
From: James Hearon <[email protected]>
To: "[email protected]" <[email protected]>
Subject: [CM] portamento
Message-ID:
        
<byapr10mb2536279f4adfe75d708a4af5e5...@byapr10mb2536.namprd10.prod.outlook.com>

Content-Type: text/plain; charset="iso-8859-1"


Hi,
I'm trying to come up with an approach to portamento note phrasing.  Best I've 
been able to do is work with gliss.  I'm wondering if this is on the right 
track for how this is usually handled?

Regards,
Jim

(definstrument (myport start-time duration frequency start-freq end-freq 
(amp-env '(0 0 1 1 2 1 3 0)) sampling-rate)
  (let* ((beg (floor (* start-time sampling-rate)))
(end (+ beg (floor (* duration sampling-rate))))
(sine-wave (make-oscil :frequency frequency))
(ampf (make-env amp-env :duration duration :scaler 1.0))
(frqf (make-env '(0 0 1 1) :scaler (hz->radians (- end-freq start-freq)) 
:duration duration :base 0.67))
         )
     (do ((i beg (+ i 1)))
         ((= i end))
     (outa i (* (env ampf) (oscil sine-wave (env frqf) )))
     (outb i (* (env ampf) (oscil sine-wave (env frqf) )))
     )))

(with-sound (:srate 48000 :channels 2 :header-type mus-riff  :play #t)
              (myport 0 1 300 300 400 '(0 1 1 .3) 48000)
              (myport 2 1.5 400 400 300 '(0 .3 1 .3) 48000)
                )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<https://cm-mail.stanford.edu/pipermail/cmdist/attachments/20220419/d9797a0a/attachment-0001.html>

------------------------------

Message: 2
Date: Tue, 19 Apr 2022 11:33:08 -0700
From: [email protected]
To: James Hearon <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: [CM] portamento
Message-ID: <[email protected]>
Content-Type: text/plain; charset=US-ASCII; format=flowed

I think in the context of sound synthesis, portamento
is a glissando between two notes.  It would be interesting
to get a vocal or violin recording of someone using
portamento, and try to imitate it -- I think you'll
also need an amplitude envelope.  Seashore wrote about
it, saying something like "it starts below the first
note and overshoots its target", if I remember right.
You might also need to change the timbre en route.



------------------------------

_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist


End of Cmdist Digest, Vol 167, Issue 4
**************************************
_______________________________________________
Cmdist mailing list
[email protected]
https://cm-mail.stanford.edu/mailman/listinfo/cmdist

Reply via email to