Giter Site home page Giter Site logo

atk-matrices's Introduction

ambisonictoolkit

atk-matrices's People

Contributors

dyfer avatar joslloand avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

gaojunchen dyfer

atk-matrices's Issues

7_0 encoder, incorrect angles

The current 7_0 encoder should have these angles: [ 0, 30, 90, 135, -135, -90, -30 ]

Instead, the current encoder angles are: [ 0, 30, 90, 135, -130, -90, -30 ]

In the longer term, we may want to include alternative versions of 7.0 encoding. The larger issue is that there is no definitive standard for 7.0. (The usual story with "surround" formats!)

T-design notice

Spherical Designs - R. H. Hardin and N. J. A. Sloane

McLaren's Improved Snub Cube and Other New Spherical Designs in Three
Dimensions, R. H. Hardin and N. J. A. Sloane, Discrete and
Computational Geometry, 15 (1996), pp. 429-441.

"A library of putatively optimal spherical t-designs." [Online].
Available: http://neilsloane.com/sphdesigns/index.html.
[Accessed: 04-Sept-2015].

REAPER text file reading is very primitive

I have done some experiments with reading matrices into REAPER today. It turns out that REAPER functionalities for this are fairly primitive. REAPER basically needs each line to contain one number only. Here's from the documentation of file I/O:

The format of each line in the text file can be either a floating point number, a binary number beginning with 'b', i.e. b0101010111, or a hexadecimal number beginning with 'x', i.e. xDEADF000.

This implies that the current formatting of matrices can not be used with Reaper.

The only suggestion that I can think of if we want to have a shared library of matrices, is that they have to be organised according to the rather cumbersome convention:

<number of rows>
<number of columns>

<value of cell 1, 1>
<value of cell 1, 2>
....
<value of cell 1, n>

<value of cell 2, 1>
<value of cell 2, 2>
....
<value of cell 2, n>

....

<value of cell m, 1>
<value of cell m, 2>
....
<value of cell m, n>

Any thoughts, @joslloand ?

*.mosl.txt files - comma in comment lines cause read error in Reaper

I have discovered a weird shortcoming when reading *.mosl.txt files in Reaper. If a comment line contains a comma (,), the file will not be read by Reaper. This cause problem with all matrices in v.1.0 as a comma is used consistently in the // Dimensions: rows, columns line in the header section:

// set : FOA

// type : decoder

// op : matrix

// kind : hoa1

// note : A first order Ambisonic format exchange decoder.

// author : Ambisonic Toolkit

// Dimensions: rows, columns
4
4

@joslloand : The easiest solution is to just rid ourselves of that comma, changing the line to

// Dimensions: rows columns

Two questions:

  1. Are these files only used in Reaper? If so, it should be straightforward to remove the comma
  2. Are they autogenerated from the YAML file? If so the code for generating them also need to be updated

This issue relates to ambisonictoolkit/atk-reaper#92

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.