Git Product home page Git Product logo

svhf-net's People

Contributors

a-nagrani avatar albanie avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

svhf-net's Issues

Runtime error

>> setup_SVHFNet
The function or variable 'vl_setupnn' is not recognized。

ERROR setup_SVHFNet (line 7)
  vl_setupnn ;

example - wav to spectogram

Hi,
I am trying to run the example to convert wav file to spectrogram. Can you please provide a running example. Thank you.

`Tw = 25; % analysis frame duration (ms)

Ts = 10; % analysis frame shift (ms)

alpha = 0.97; % preemphasis coefficient

R = [ 300 3700 ]; % frequency range to consider

M = 20; % number of filterbank channels

C = 13; % number of cepstral coefficients

L = 22; % cepstral sine lifter parameter

%

% hamming window (see Eq. (5.2) on p.73 of [1])

hamming = @(N)(0.54-0.46cos(2pi*[0:N-1].'/(N-1)));

%

% Read speech samples, sampling rate and precision from file

[ speech, fs, nbits ] = wavread( 'sp10.wav' );

%

% Feature extraction (feature vectors as columns)

[ MFCCs, FBEs, frames ] = ...
mfcc( speech, fs, Tw, Ts, alpha, hamming, R, M, C, L );

%
% Plot cepstrum over time

figure('Position', [30 100 800 200], 'PaperPositionMode', 'auto', ...
'color', 'w', 'PaperOrientation', 'landscape', 'Visible', 'on' );

%
imagesc( [1:size(MFCCs,2)], [0:C-1], MFCCs );

axis( 'xy' );

xlabel( 'Frame index' );

ylabel( 'Cepstrum index' );

title( 'Mel frequency cepstrum' ); `

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.