Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!thunder.mcrcim.mcgill.edu!snorkelwacker.mit.edu!usc!elroy.jpl.nasa.gov!swrinde!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!ils.nwu.edu!sandell From: sandell@ils.nwu.edu (Greg Sandell) Newsgroups: comp.music Subject: Re: Csound and synthesis Message-ID: <2167@anaxagoras.ils.nwu.edu> Date: 19 Jun 91 13:39:25 GMT References: <1991Jun13.210000.1@cc.helsinki.fi> <3308@esquire.dpw.com> <1991Jun18.210901.1@cc.helsinki.fi> Sender: news@ils.nwu.edu Reply-To: sandell@ils.nwu.edu (Greg Sandell) Organization: The Institute for the Learning Sciences Lines: 26 In article <1991Jun18.210901.1@cc.helsinki.fi>, jalkio@cc.helsinki.fi writes: > > One question though: Is the best way to incorporate sampled sounds to > use the GEN1 function generator? (And not the soundin operation in the > orchestra file.) I have a problem making the samples sound at the > correct pitch. Has the samplefile to be exactly the same length than the > table to which I am loading the file? (It's a pity since the table > length can only be a power of 2 and the samplefiles aren't usually > exactly that long.) > To import sounds to the CSOUND environment, try using the soundin utility. It makes the unfortunate requirement that you name the soundfiles you want to import "soundin.number", as in soundin.1, soundin.2, etc. To play the 3-second soundfile soundin.66 in your Csound score, you say a1 soundin 0.0 3.0 66 (this is from memory, it may be wrong) However, you cant make any pitch adjustments to this as far as I know. You probably need a phase vocorder to do that. I don't know if you have the CARL software as well, but it includes a program called pvoc for this. -- Greg Sandell sandell@ils.nwu.edu