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: cmdist-boun...@ccrma.stanford.edu <cmdist-boun...@ccrma.stanford.edu> on 
behalf of cmdist-requ...@ccrma.stanford.edu <cmdist-requ...@ccrma.stanford.edu>
Sent: Tuesday, April 19, 2022 9:00 AM
To: cmdist@ccrma.Stanford.EDU <cmdist@ccrma.Stanford.EDU>
Subject: Cmdist Digest, Vol 167, Issue 4

Send Cmdist mailing list submissions to
        cmdist@ccrma.stanford.edu

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
        cmdist-requ...@ccrma.stanford.edu

You can reach the person managing the list at
        cmdist-ow...@ccrma.stanford.edu

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 (b...@ccrma.stanford.edu)


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

Message: 1
Date: Tue, 19 Apr 2022 18:02:57 +0000
From: James Hearon <j_hea...@hotmail.com>
To: "cmdist@ccrma.Stanford.EDU" <cmdist@ccrma.Stanford.EDU>
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: b...@ccrma.stanford.edu
To: James Hearon <j_hea...@hotmail.com>
Cc: "cmdist@ccrma.Stanford.EDU" <cmdist@ccrma.Stanford.EDU>
Subject: Re: [CM] portamento
Message-ID: <6d4807c522ab6c39450fd9c424e81...@ccrma.stanford.edu>
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
Cmdist@ccrma.stanford.edu
https://cm-mail.stanford.edu/mailman/listinfo/cmdist


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

Reply via email to