🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.music
Article #3427

Re: Csound and samples again

#3427
From: Doug Cook 756-1460
Date: Wed, 26 Jun 1991 20:52
21 lines
1568 bytes
In article <1991Jun23.224435.1@cc.helsinki.fi> jalkio@cc.helsinki.fi writes:
>If I first load a sample to a table (length > the length of the
>samplefile) and then play that sample using the "oscil"-generator, what
>is the frequency I am supposed to give to that oscillator so that the
>sample would sound exactly the same as it was in the file? Does this
>depend on the table lenght? (I have found that .18 Hz or so sounds quite
>correct but I would like to know what it should be _exactly_ and based
>on what.)

You might try the oscil1 (or oscil1i) oscillator. This will loop through your 
sample once over the duration of the note, which is what I assume you want. 
Make the duration parameter the same as the duration of the original sample
if you're resynthesizing at the same sample rate as the sample you're loading
was sampled at. (Does that make sense, or am I being nonsensical again?) 

	-Doug

Doug Cook				|"Much is being said, my lords,
Dept. of Electrical Engineering and CS	| but nothing is being done."
University of California		| 		-Jeff Beck
Davis, CA				|
Technical Details
Message-ID: <13333@aggie.ucdavis.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!ucdavis!roger!cook
References: <1991Jun23.224435.1@cc.helsinki.fi>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!ucdavis!roger!cook
From: cook@roger (Doug Cook 756-1460)
Newsgroups: comp.music
Subject: Re: Csound and samples again
Message-ID: <13333@aggie.ucdavis.edu>
Date: 26 Jun 91 20:52:34 GMT
References: <1991Jun23.224435.1@cc.helsinki.fi>
Sender: usenet@aggie.ucdavis.edu
Reply-To: cook@roger (Doug Cook 756-1460)
Organization: Music Dept., UC Davis
Lines: 21