Csound Csound-dev Csound-tekno Search About

[Csnd] Re: generating single cycle waveforms to an audio file

Date2008-01-29 22:45
FromMichael Gogins
Subject[Csnd] Re: generating single cycle waveforms to an audio file
There is a Soundfile class in the CsoundAC Python extension module. It's trivial to code a single cycle sine wave in Python and write it to a soundfile using the Soundfile class.

You could do the same thing in Csound itself by simply having a score that consists of one note that is one sine cycle long.

Regards,
Mike

-----Original Message-----
>From: P R Figueiredo 
>Sent: Jan 29, 2008 4:23 PM
>To: csound@lists.bath.ac.uk
>Subject: [Csnd] generating single cycle waveforms to an audio file
>
>Hello,
>
>Is there any simple way of creating a single cycle waveform (from any 
>table I could use with an oscillator) and save it to a .wav file to use 
>in a sampler, for instance? Obviously I can use an oscillator to play 
>the waveform, render to a file, and then edit to a single cycle. But I 
>wonder if it's possible to generate a single cycle, and save me all the 
>editing.
>
>Thanks
>Pedro
>
>
>Send bugs reports to this list.
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"