Re: [music-dsp] Release pyo 0.8.0 (Python dsp library)

2016-05-19 Thread Laurent de Soras

list_em...@icloud.com wrote:

(Too bad the gifs
on the devmaster.net page have gone missing.)


I previously saved this page with all the graphics:


___
dupswapdrop: music-dsp mailing list
music-dsp@music.columbia.edu
https://lists.columbia.edu/mailman/listinfo/music-dsp



Re: [music-dsp] Release pyo 0.8.0 (Python dsp library)

2016-05-19 Thread Olivier Bélanger
Hi Jerry,

The cheaper one is nothing but a parabola. Not really a sine wave but
it works very well for LFOs... The more accurate algorithm is a
weighted average between the parabola and its squared version. This
one can surely be used as a sine wave oscillator. The algorithm is
well described here:

http://forum.devmaster.net/t/fast-and-accurate-sine-cosine/9648

On my computer (think pad edge 1.4 GHz, xubuntu 16.,04):

500 Sine objects = 45% CPU
500 FastSine (quality 1) = 32% CPU
500 FastSine (quality 0) = 23% CPU

You can see my implementation here (search for
"FastSine_readframes_low" and "FastSine_readframes_high"):
https://github.com/belangeo/pyo/blob/master/src/objects/oscilmodule.c

Olivier

On Tue, May 17, 2016 at 4:21 AM,   wrote:
> On May 15, 2016, at 4:55 AM, Olivier Bélanger  wrote:
>
>> - FastSine, two fast sin approximations (faster than linear table lookup).
>
> Hi Olivier,
>
> This work looks awesome! Can you tell us more about, or provide a reference 
> for, the new FastSine object? I'm wondering how it is implemented for both 
> levels of quality and if there is some sensible measure of that quality that 
> you can tell us.
>
> Jerry
>
> ___
> dupswapdrop: music-dsp mailing list
> music-dsp@music.columbia.edu
> https://lists.columbia.edu/mailman/listinfo/music-dsp
>
___
dupswapdrop: music-dsp mailing list
music-dsp@music.columbia.edu
https://lists.columbia.edu/mailman/listinfo/music-dsp

Re: [music-dsp] Release pyo 0.8.0 (Python dsp library)

2016-05-17 Thread list_email
On May 15, 2016, at 4:55 AM, Olivier Bélanger  wrote:

> - FastSine, two fast sin approximations (faster than linear table lookup).

Hi Olivier,

This work looks awesome! Can you tell us more about, or provide a reference 
for, the new FastSine object? I'm wondering how it is implemented for both 
levels of quality and if there is some sensible measure of that quality that 
you can tell us.

Jerry

___
dupswapdrop: music-dsp mailing list
music-dsp@music.columbia.edu
https://lists.columbia.edu/mailman/listinfo/music-dsp



[music-dsp] Release pyo 0.8.0 (Python dsp library)

2016-05-15 Thread Olivier Bélanger
Hello all,

pyo 0.8.0 is now available to download on pyo's web site :

http://ajaxsoundstudio.com/software/pyo/

pyo's documentation:

http://ajaxsoundstudio.com/pyodoc/

New objects:

- PadSynthTable, a beautiful synthesis algorithm from Nasca Octavian Paul.
- ChenLee, another chaotic attractor based on the Chen-Lee system.
- MoogLP, 24dB/oct resonant lowpass filter.
- FastSine, two fast sin approximations (faster than linear table lookup).
- Exp, calculates the value of e to the power of x.

New functions:

- getPyoKeywords, returns the list of pyo keywords (classes and functions).
- New queries: withPortaudio, withPortmidi, withCoreaudio, withJack, withOSC.

New functionalities:

- Added "rotate" and "copyData" methods to the PyoTableObject.
- Added "setExp" method to Fader, Adsr, MidiAdsr and MidiDelAdsr,
allowing the creation of exponential or logarithmic envelopes.
- Added an argument "arg" to the Pattern object. User can use it to
pass data object to the function call.
- Added a quality factor everywhere a FLAC or OGG sound file can be
saved on disk.
- Added a bela framework (cape for the BeagleBone Black) with
instructions in the embedded folder.

Bug fixes:

- Fixed TableWrite writing pointer in the table. Added a "mode"
attribute to select between normalized (0->1) or raw (samples)
position.
- Fixed Counter.reset() method.
- A CallAfter object can now be triggered many times.
- Fixed unwanted offset in type 7 (sinmod) of LFO object.
- Fixed bug when a LFO object receives a negative frequency

Improvements:

- Revision, clean-up and optimization of various filters in the
library (Biquad, Biquadx, Port, Tone, Atone, Allpass, Allpass2,
Phaser, BandSplit MoogLP).
- Revised online documentation (added a new set of examples, much more to come).
- Disto uses now a simple but more efficient waveshaper formula. This
algorithm is faster and does not produce large amplitude variation
like the atan2 function.
- Made portaudio, portmidi and liblo optional dependencies.
- Added a new compilation flag, --minimal, to build without portaudio,
portmidi and liblo.

Olivier
___
dupswapdrop: music-dsp mailing list
music-dsp@music.columbia.edu
https://lists.columbia.edu/mailman/listinfo/music-dsp