Ignore:
Timestamp:
Oct 31, 2018, 5:12:21 PM (5 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master
Children:
dc3f68d
Parents:
a4a00a5
Message:

[doc] add a note about building the module in double precision

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/python_module.rst

    ra4a00a5 r6d4802f  
    2626    $ sudo ./setup.py install
    2727
     28
     29.. _py-doubleprecision:
     30
     31Double precision
     32----------------
     33
     34This module can be compiled in double-precision mode, in which case the
     35default type for floating-point samples will be 64-bit. The default is
     36single precision mode (32-bit, recommended).
     37
     38To build the aubio module with double precision, use the option
     39`--enable-double` of the `build_ext` subcommand:
     40
     41.. code:: bash
     42
     43    $ ./setup.py clean
     44    $ ./setup.py build_ext --enable-double
     45    $ pip install -v .
     46
     47**Note**: If linking against `libaubio`, make sure the library was also
     48compiled in :ref:`doubleprecision` mode.
     49
     50
    2851Checking your installation
    2952--------------------------
Note: See TracChangeset for help on using the changeset viewer.