| In the code it looks like it just uses linear. So it would be a
triangle wave I guess.
On 10/19/12, Justin Smith wrote:
> If you use a linear interpolating oscillator, it should be a
> non-band-limited triangle wave, with no interpolation a square wave. I
> am not sure what four point interpolation would even do with a table
> containing two points.
>
> On Fri, Oct 19, 2012 at 6:27 AM, Adam Puckett
> wrote:
>> Interesting. It doesn't sound like a square wave though.
>>
>> On 10/19/12, Justin Smith wrote:
>>> Of course! I forgot about post-normalization (which brings the
>>> greatest value of the table up to 1 and the least down to 0, and
>>> arranges all others proportionally between the two). A 1 as an index
>>> will be the same as 0, but a 1 as oscillator output does not wrap
>>> (because csound uses float values for samples). So a sine table of
>>> length 2 is simply a square table.
>>>
>>> On Thu, Oct 18, 2012 at 9:39 PM, Takahiko Tsuchiya
>>> wrote:
>>>> Just by looking with the table opcode, the index 0 and 1 have value of
>>>> 0
>>>> and
>>>> 1 respectively. If you don't normalize, the values appear to be 0 and
>>>> 0.
>>>>
>>>> Takahiko
>>>>
>>>>
>>>> On Thu, Oct 18, 2012 at 9:52 PM, Justin Smith
>>>> wrote:
>>>>>
>>>>> With a length of 2, the first sample in the table should be the
>>>>> average value of the first half of a sine wave cycle, and the second
>>>>> should be the average value of the second half; with a length of three
>>>>> each sample should be the average value of its third of the cycle.
>>>>>
>>>>> On Thu, Oct 18, 2012 at 5:33 PM, Adam Puckett
>>>>>
>>>>> wrote:
>>>>> > I don't understand why these lines make sound:
>>>>> >
>>>>> > f1 0 2 10 1
>>>>> > f1 0 3 10 1
>>>>> >
>>>>> > Tried it with poscil3. What's going on in the code that makes this
>>>>> > possible? It seems that I would get silence as the vals should be 0,
>>>>> > right? Or am I missing something important?
>>>>> >
>>>>> > Thanks.
>>>>> >
>>>>> >
>>>>> > Send bugs reports to the Sourceforge bug tracker
>>>>> >
>>>>> > https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> > Discussions of bugs and features can be posted here
>>>>> > To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> > "unsubscribe
>>>>> > csound"
>>>>> >
>>>>>
>>>>>
>>>>> Send bugs reports to the Sourceforge bug tracker
>>>>>
>>>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>>>> Discussions of bugs and features can be posted here
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe
>>>>> csound"
>>>>>
>>>>
>>>
>>>
>>> Send bugs reports to the Sourceforge bug tracker
>>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>>> Discussions of bugs and features can be posted here
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>>
>>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>> https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>
>
> Send bugs reports to the Sourceforge bug tracker
> https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>
|