Giter VIP home page Giter VIP logo

Comments (8)

chausner-audeering avatar chausner-audeering commented on May 30, 2024 1

In your first example, the path to the config file is wrong, you are missing a ..\. Also the relative path to your input wave file seems wrong, you'll probably want to use absolute paths:

SMILExtract -C ..\config\mfcc\MFCC12_0_D_A.conf -I C:/Users/HP/Desktop/s.wav -O K.csv

The problem with the CSV contents is because you are using the -O option which outputs in HTK format. You will want to use -csvoutput:

SMILExtract -C ..\config\mfcc\MFCC12_0_D_A.conf -I C:/Users/HP/Desktop/s.wav -csvoutput K.csv

from opensmile.

chausner-audeering avatar chausner-audeering commented on May 30, 2024 1

Missing space in " -csvoutput"

from opensmile.

krishna51119 avatar krishna51119 commented on May 30, 2024

I tried it in python code too, as given

exe_opensmile = "C:/Users/HP/Desktop/opensmile/bin/SMILExtract"
path_config = "C:/Users/HP/Desktop/opensmile/config/mfcc/MFCC12_0_D_A.conf"
outfilename = './IEMOCAP.csv'
opensmile_call = exe_opensmile + " -C " + path_config + " -I " + infilename + " -O " + outfilename

Fortunately its creating csv file in same folder named IEMOCAP but its not readable. Few initial lines are

Á�† œ ÀÃ}rÁ`eÌ@×oGÁ˹ô@Äî�Á��©@ów�Á¯"�À�àV@G��Auïó@�ë’BÎÆÒ?i�»¿‰< ?×�z?‘E=¿ŽŽÌ¿Ä¦s¾´�j@-8A@5w ¾øºšÀ�æåÀ�e�¾¼�Í=ãƃ>ì j¾Ûæý>’Ðã>Ý`š?9Vµ?b�˜=�ÿz>8º=¿                
|"¾ƒ¡è>ܤk¾«ARÀm’ÙÁžoºA!žpÁ­µªÀ#�²ÁÉ¡›=                
4®Á¼×»?îL§@=júAFV+Á�|\BÎw�?¢°Ž¾x+¦?…P¢?úqÀ¿�@ß¿‘�«@�òú@´Ò�@‘¥-¿�\ùÀd?­Àž�â¿™�À=|2¾?/§I¿5¥R>¼3–?[ö¦?°­ˆ?„’E¿D{ž¿8ok¿–ét¼�

Tried all encoding for csv reader but nothing is working. Strange but no online resources or forum I can find for my answers. :(

from opensmile.

krishna51119 avatar krishna51119 commented on May 30, 2024

@chausner-audeering
Thank you so much for reply sir, Where is the output file created if executed correctly, like what will be the location of K.csv. (In case of command window feature extraction)

And sir in python code, are you saying I should write

outfilename = 'IEMOCAP.csv'
opensmile_call = exe_opensmile + " -C " + path_config + " -I " + infilename + " -csvoutput" + outfilename

Coz now its not even creating this file named IEMOCAP.csv

Many Thanks :)

from opensmile.

krishna51119 avatar krishna51119 commented on May 30, 2024

@chausner-audeering
Thank you so much for reply sir, Where is the output file created if executed correctly, like what will be the location of K.csv. (In case of command window feature extraction)

And sir in python code, are you saying I should write

outfilename = 'IEMOCAP.csv'
opensmile_call = exe_opensmile + " -C " + path_config + " -I " + infilename + " -csvoutput" + outfilename

Coz now its not even creating this file named IEMOCAP.csv

Many Thanks :)

Sir I got the first answer plz guide how to use in python coding, in second question.
I was using cmd for checking whether its working properly. Sir there its working

from opensmile.

krishna51119 avatar krishna51119 commented on May 30, 2024

Its still working dont know why :)
But thank you so much

Regards

from opensmile.

krishna51119 avatar krishna51119 commented on May 30, 2024

from opensmile.

chausner-audeering avatar chausner-audeering commented on May 30, 2024

Not all config files support all output formats. Most support CSV output using -csvoutput but some are hard-coded to create HTK output only, for example.

The column with "unknown" is normal, you can ignore it.

from opensmile.

Related Issues (20)

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.