Csound Csound-dev Csound-tekno Search About

timbre shift

Date1998-05-09 16:43
FromQian Chen
Subjecttimbre shift
Hi, Csounders,

I have a question about timbre: is it possible to change one timbre
into another one during playing?  I do not like mix the two timbres
and modify the amplitude of them.  What I really want is to have the
middle timbre of the two timbre and let the middle timbre between the
two.  

I think there will be 3 conditions:
   sampled sound 1-> middle timbre sampled sound -> sampled sound 2
   sound generated by Csound -> sampled sound
   sampled sound -> sound generated by Csound

Any comment is warmly welcomed.

Thanks & Happy Csounding!!! :)




==
Qian Chen

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa26973;
          9 May 98 18:26 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa28173;
          9 May 98 18:26 BST
Received: (qmail 27218 invoked from network); 9 May 1998 17:25:59 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 9 May 1998 17:25:59 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (SAA27774); Sat, 9 May 1998 18:20:25 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sat, 9 May 98 18:19:55 +0100
Received: from eos.arc.nasa.gov [128.102.118.20] by hermes via ESMTP (SAA07413); Sat, 9 May 1998 18:19:45 +0100 (BST)
Received: (from jims@localhost)
          by eos.arc.nasa.gov (8.8.4/8.8.4)
	  id KAA00355; Sat, 9 May 1998 10:19:46 -0700
Date: Sat, 9 May 1998 10:19:46 -0700
From: Jim Stevenson 
Message-Id: <199805091719.KAA00355@eos.arc.nasa.gov>
To: csound@maths.ex.ac.uk, nunativs@gv.net
Subject: Re:  dls1?
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

What is the status of dls1 to replace gm?
Will it play under csound?

Thanks.
Please put your answer first, before you quote my message.
Thanks.



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27268;
          9 May 98 19:17 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa29941;
          9 May 98 19:16 BST
Received: (qmail 21757 invoked from network); 9 May 1998 18:16:48 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 9 May 1998 18:16:48 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (TAA16552); Sat, 9 May 1998 19:11:16 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sat, 9 May 98 19:10:52 +0100
Received: from exim@wallace.maths.bath.ac.uk [138.38.100.104] by hermes via SMTP (TAA05590); Sat, 9 May 1998 19:10:46 +0100 (BST)
Received: from omphalos.maths.bath.ac.uk (maths.Bath.AC.UK) [138.38.99.25] (mmdf)
	by wallace.maths.bath.ac.uk with smtp (Exim 1.82 #1)
	id 0yYE5F-00056b-00; Sat, 9 May 1998 19:10:53 +0100
Date:     Sat, 9 May 98 19:11:02 BST
From: jpff@maths.bath.ac.uk
Subject:  Re: wgflute
To: csound@maths.ex.ac.uk
Message-Id: 
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Message written at 08 May 1998 10:03:38 +0100
--- Copy of mail to bertolt@earthlink.net ---
In-reply-to: <354CA263.38B98DC3@earthlink.net> (message from Bertolt Sobolik
	on Sun, 03 May 1998 12:59:15 -0400)
References:  <354CA263.38B98DC3@earthlink.net>

>>>>> "Bertolt" == Bertolt Sobolik  writes:

 Bertolt> k-rate amplitude values don't seem to work in wgflute.  This orchestra
 Bertolt> yields a 0 amp file.  The max is around 23000 if iamp is substituted for
 Bertolt> kamp in the call to wgflute

Yes; the k-rate amplitde was not taken into account at all stages, so
I can believe that there is a problem.  I think I have it fixed but I
would like to test it a little more.

==John ffitch



Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa27866;
          10 May 98 2:20 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa14249;
          10 May 98 2:20 BST
Received: (qmail 1940 invoked from network); 10 May 1998 01:20:46 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 10 May 1998 01:20:46 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (CAA02574); Sun, 10 May 1998 02:15:29 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sun, 10 May 98 02:15:05 +0100
Received: from send1b.yahoomail.com [205.180.60.23] by hermes via SMTP (CAA07547); Sun, 10 May 1998 02:14:58 +0100 (BST)
Message-Id: <19980510011440.8131.rocketmail@send1b.yahoomail.com>
Received: from [210.72.69.5] by send1b; Sat, 09 May 1998 18:14:40 PDT
Date: Sat, 9 May 1998 18:14:40 -0700 (PDT)
From: Qian Chen 
Subject: Re: timbre shift
To: Csound 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi,

There was something wrong in my previous message

> I think there will be 3 conditions:
>    sampled sound 1-> middle timbre sampled sound -> sampled sound 2
>    sound generated by Csound -> sampled sound
>    sampled sound -> sound generated by Csound

should be
     1. sampled sound 1-> middle timbre -> sampled sound 2
     2. sound generated by Csound -> middle timbre -> sampled sound
     3. sampled sound -> middle timbre -> sound generated by Csound

What I would like to add is that the _sampled sound_ should have been
sampled and exists on the hard disk, while _sound generated by Csound_
is the sound generated dynamically by Csound, which means this sound
does not exists on the hard disk.

Sorry for disturbing you again.


==
Qian Chen

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28105;
          10 May 98 4:35 BST
Received: from mercury.bath.ac.uk by stork.maths.Bath.AC.UK id aa22732;
          10 May 98 4:35 BST
Received: (qmail 28 invoked from network); 10 May 1998 03:35:28 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by mercury.bath.ac.uk with SMTP; 10 May 1998 03:35:28 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (EAA21458); Sun, 10 May 1998 04:30:04 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Sun, 10 May 98 04:29:40 +0100
Received: from howl.werewolf.net [206.103.224.20] by hermes via SMTP (EAA00326); Sun, 10 May 1998 04:29:33 +0100 (BST)
Received: from hljmm by howl.werewolf.net via SMTP (950413.SGI.8.6.12/940406.SGI)
	for  id WAA19597; Sat, 9 May 1998 22:29:37 -0500
From: Hans Mikelson 
To: Csound 
Subject: Manule Granule Perl Program Orc & Sco
Date: Sat, 9 May 1998 22:30:28 -0500
Message-Id: <01bd7bc3$faa999a0$24e167ce@hljmm>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-Msmail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1712.3
X-Mimeole: Produced By Microsoft MimeOLE V4.71.1712.3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk

Hi there,

Here is a Perl program for creating scores.  It's set up for a granular type
score right now.

Have fun,
Hans Mikelson

#Perl code
# Generate Score
$scofile="auto.sco";
open (SCO, ">$scofile");
print SCO "f1 0 1024 10 1 .3 .1 0 .2 .02 0 .1 .04\n";

#     Grains  Sta  Fqc  FqcRng
grain(200,    0,   900, .25);
grain(100,    5,   300, .50);
grain(150,    7,   600, .25);
close (SCO);

sub grain
 {
  my $ngrains = $_[0];
  my $strt    = $_[1];
  my $freq    = $_[2];
  my $frange  = $_[3];
  for ( $i=0; $i<$ngrains; $i++)
   {
    $rnd1 = rand(1);
    $sta  = $rnd1*5+$strt;
    $dur  = rand(2)+.01;
    $amp  = 2000;
    $fqc  = rand($frange*$freq)+$freq;
    $pan  = rand(1);
    print SCO "i1 $sta $dur $amp $fqc $pan\n";
   }
 }

; ORCHESTRA
sr = 44100
kr = 4410
ksmps = 10
nchnls=2

     instr  1

kamp linseg 0, p3/2, p4, p3/2, 0           ; Fade in and out
aout oscil  kamp, p5, 1                    ; Simple oscillator
     outs   aout*sqrt(p6), aout*sqrt(1-p6) ; Output with panning

     endin




Received: from stork.maths.bath.ac.uk by omphalos.maths.Bath.AC.UK id aa28601;
          10 May 98 12:54 BST
Received: from pat.bath.ac.uk by stork.maths.Bath.AC.UK id aa09074;
          10 May 98 12:54 BST
Received: (qmail 12957 invoked from network); 10 May 1998 11:54:17 -0000
Received: from hermes.ex.ac.uk (HELO exeter.ac.uk) (144.173.6.14)
  by pat.bath.ac.uk with SMTP; 10 May 1998 11:54:17 -0000
Received: from noether [144.173.8.10] by hermes via SMTP (OAA16017); Tue, 5 May 1998 14:35:48 +0100 (BST)
Received: from hermes.ex.ac.uk by maths.ex.ac.uk; Tue, 5 May 98 14:35:13 +0100
Received: from skycorp.skynet.be [195.238.0.128] by hermes via ESMTP (OAA25937); Tue, 5 May 1998 14:34:52 +0100 (BST)
Received: from default (dialup120.kortrijk.skynet.be [195.238.12.120])
	by skycorp.skynet.be (8.8.8/jovi-relay-1.1-vw) with SMTP id PAA05924
	for ; Tue, 5 May 1998 15:34:54 +0200 (MET DST)
Reply-To: dVD 
From: dVD 
To: CSound 
Subject: Re: emotions and music etc.
Date: Tue, 5 May 1998 15:33:11 +0200
Message-Id: <01bd782a$5904faa0$780ceec3@default>
Mime-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-Msmail-Priority: Normal
X-Mailer: Microsoft Outlook Express 4.71.1712.3
X-Mimeole: Produced By Microsoft MimeOLE V4.71.1712.3
Sender: owner-csound-outgoing@maths.ex.ac.uk
Precedence: bulk


http://www.garply.com/archives/harp-l/1995/9504/0189.html
http://www.rollins.edu/news/AcademicUpdate/Feb1998AcademicUpdate.html
http://boulder.colorado.edu/~orrie/music/test2.html 'not working

david
______________________________
http://come.to/kraak
http://come.to/wollbubble



Date1998-05-18 13:26
FromQATJD
SubjectRe: timbre shift
	Hi. I may be dreaming, and I don't know how it would be actualized, but
couldn't this be done by doing an analysis (pvoc, hetro, lpanal, etc -
probably pvoc) of both files and averaging them sample by sample by
averaging _each frame_  of spectral data with its counterpart in the other
file? Then you would be 'blending' the two spectra at a pvoc level of
resolution. You could then make it a weighted average with the weight
shifting from one file to the other over the 'note' time.
	No?
									Q

At 08:43 AM 5/9/98 -0700, Qian Chen wrote:
>Hi, Csounders,
>
>I have a question about timbre: is it possible to change one timbre
>into another one during playing?  I do not like mix the two timbres
>and modify the amplitude of them.  What I really want is to have the
>middle timbre of the two timbre and let the middle timbre between the
>two.  
>
>I think there will be 3 conditions:
>   sampled sound 1-> middle timbre sampled sound -> sampled sound 2
>   sound generated by Csound -> sampled sound
>   sampled sound -> sound generated by Csound
>
>Any comment is warmly welcomed.
>
>Thanks & Happy Csounding!!! :)
>
>
>
>
>==
>Qian Chen
>
>_________________________________________________________
>DO YOU YAHOO!?
>Get your free @yahoo.com address at http://mail.yahoo.com
>
>
>
>

	thank you for your bandwidth