Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add recipe for Yaafe #2709

Merged
merged 8 commits into from
Apr 4, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions recipes/mpg123/build.sh

This file was deleted.

40 changes: 0 additions & 40 deletions recipes/mpg123/meta.yaml

This file was deleted.

7 changes: 7 additions & 0 deletions recipes/yaafe/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

mkdir build_yaafe
cd build_yaafe
cmake -DCMAKE_INSTALL_PREFIX=$PREFIX -DWITH_FFTW3=ON -DWITH_HDF5=ON -DWITH_LAPACK=ON -DWITH_MPG123=ON -DWITH_EIGEN_LIBRARY=ON ..
make
make install
5 changes: 5 additions & 0 deletions recipes/yaafe/featureplan
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mfcc: MFCC blockSize=512 stepSize=256
mfcc_d1: MFCC blockSize=512 stepSize=256 > Derivate DOrder=1
mfcc_d2: MFCC blockSize=512 stepSize=256 > Derivate DOrder=2
sf: SpectralFlatness blockSize=512 stepSize=256
sr: SpectralRolloff blockSize=512 stepSize=256
68 changes: 68 additions & 0 deletions recipes/yaafe/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{% set name = "Yaafe" %}
{% set version = "0.70" %}
{% set sha256 = "fa3ffd4f0917d611cc193f4fdf9bf8f25e05e9513e6074a323db2825b514cc4f" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
fn: {{ name }}-{{ version }}.tar.gz
url: https://github.com/{{ name }}/{{ name }}/archive/{{ version }}.tar.gz
sha256: {{ sha256 }}

build:
rpaths:
- lib/
number: 0
skip: true # [win]

requirements:
build:
- python
- hdf5
- gcc
- eigen
- fftw
- libsndfile
- mpg123
- argtable2
- cmake
- lapack

run:
- python
- hdf5
- libgcc
- eigen
- fftw
- libsndfile
- mpg123
- argtable2
- lapack

test:
files:
- yaafe_check.wav
- featureplan

imports:
- yaafelib

commands:
- yaafe -h
- yaafe -l
- yaafe -c featureplan -r 32000 -o h5 yaafe_check.wav
- yaafe -c featureplan -r 32000 -o csv yaafe_check.wav

about:
home: https://github.com/Yaafe/Yaafe
license: LGPL-3
license_family: LGPL
license_file: COPYING.LESSER
summary: "Yaafe - audio features extraction"

extra:
recipe-maintainers:
- thomasfillon
- hbredin
Binary file added recipes/yaafe/yaafe_check.wav
Binary file not shown.