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

What is extracted from speech as a feature of emotion? #7

Open
alone-86 opened this issue Nov 26, 2019 · 1 comment
Open

What is extracted from speech as a feature of emotion? #7

alone-86 opened this issue Nov 26, 2019 · 1 comment

Comments

@alone-86
Copy link

I notice that there is no introduction or description of the features you exttracted from the .wav of
database.
The only description is the code 👍

    if extract_features:
        win_size = 0.04
        step = 0.01
        Fglobal = []
        i = 0
        for (x, Fs) in db.data:
            ############
            F = audioFeatureExtraction.stFeatureExtraction(x, Fs, win_size * Fs, step * Fs)
            Fglobal.append(np.concatenate((np.mean(F[0], axis=1),np.std(F[0], axis=1)))) 
            #############
            ##I think these are all of the code which are used to extract  features


            sys.stdout.write("\033[F")  # cursor up one line
            i = i + 1;
            print "Extracting features " + str(i) + '/' + str(n_samples) + " from data..."

        print "Saving features to file..."
        cPickle.dump(Fglobal, open(db_type + '_features.p', 'wb'))

So, could you give some introdaction to what features you extracted from the file ?
( the mean and standard deviation ?)

Thank you very much, and sorry for my poor english.

@alone-86
Copy link
Author

我注意到,没有从
数据库.wav中提取或介绍的功能。
唯一的描述是代码👍

    如果 extract_featureswin_size =  0.04 
        =  0.01 
        Fglobal = []
        =  0 
        XFS db.data:
            # ########### 
            ˚F = audioFeatureExtraction.stFeatureExtractionXFS所以win_size * Fs的步骤* FSFglobal.appendnp.concatenate((np.meanF [ 0 ],= 1),np.stdF [ 0 ],= 1)))) 
            # ########## ## 
            ##我觉得这些都被用来提取功能的代码


            sys.stdout.write(“ \ 033 [F ”)   #将光标向上移一行 
            i = i +  1打印提取特征+  stri+  ' / '  +  strn_samples+从数据... ”

        打印正在将功能保存到文件... ” 
        cPickle.dumpFglobal打开db_type +  ' _features.p '' wb '))

因此,您可以介绍一下从文件中提取的哪些功能吗?
(平均值和标准偏差?)

非常感谢,对不起,我的英语不好。
I git it
https://github.com/tyiannak/pyAudioAnalysis/wiki/3.-Feature-Extraction

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant