Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

How can I calculate the functions per second?

未关闭
#122 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
python

调研方向

从 GeMAPSv01b.conf 以及其中引用的 FrameModeFunctionals.conf.inc 和 BufferMode.conf.inc 文件开始,然后检查 Python 的 Smile.process_file 如何处理已配置的 functionals level。将记录的 'destination levels are full' 警告作为第一个诊断点。完成的标准是:配置为每个预期的秒生成一条特征记录,并且处理完成时不会出现报告中的处理不完整警告。

由索引模型根据 Issue 内容生成。

描述

Hi,
I have this issue and would appreciate any help.

I was thinking of making the functionals per one second for frame and window size and not one output for the whole audio file as the default configuration. So, I copied all config files of GeMAPSv01b along with shared ones.

Then did these changes:

FrameModeFunctionals.conf.inc

frameMode = fixed
frameSize = 1.0
frameStep = 1.0
frameCenterSpecial = left

BufferMode.conf.inc

writer.levelconf.growDyn = 0
writer.levelconf.isRb = 1
writer.levelconf.nT = 5

for this writer.levelconf.nT option I did not find in the documentation what I should put or it will be handled automatically?

Finally, I used this in Python

smile = opensmile.Smile(
    feature_set='/...../OpenSMILE_configs/GeMAPSv01b.conf',
    feature_level='func',
    loglevel=2,
    logfile="smile.log",
)

features = smile.process_file(audio_files[3])
features.head()

After all that, the output still showed one record for the whole file!
This is the log I got, maybe there is a problem or I missed something, I could not understand the log of "destination levels are full ".

Note that this is my first time working with audio features.

['[ 28.03.2025 - 04:17:17 ]\n',
 '    (MSG) [2] SMILEapi: openSMILE starting!\n',
 '[ 28.03.2025 - 04:17:17 ]\n',
 '    (MSG) [2] SMILEapi: config file is: /content/drive/My Drive/..../...../OpenSMILE_configs/GeMAPSv01b.conf\n',
 '[ 28.03.2025 - 04:17:17 ]\n',
 '    (MSG) [2] cComponentManager: successfully registered 102 component types.\n',
 '[ 28.03.2025 - 04:17:17 ]\n',
 "    (MSG) [2] instance 'gemapsv01b_logSpectral': logSpecFloor = -140.00  (specFloor = 1.000000e-14)\n",
 '[ 28.03.2025 - 04:17:17 ]\n',
 '    (MSG) [2] cComponentManager: successfully finished createInstances (50 component instances were finalised, 1 data memories were finalised)\n',
 '[ 28.03.2025 - 04:17:19 ]\n',
 '    (MSG) [2] cComponentManager: starting single thread processing loop\n',
 '[ 28.03.2025 - 04:18:23 ]\n',
 '    (WRN) [2] cComponentManager: The following component(s) could not perform any work because destination levels are full but no other component performed any work either: gemapsv01b_smoE. Processing will possibly be incomplete. For more details, enable the execDebug option of cComponentManager.\n',
 '[ 28.03.2025 - 04:18:23 ]\n',
 '    (WRN) [2] cComponentManager: The following component(s) could not perform any work because destination levels are full but no other component performed any work either: gemapsv01b_smoE. Processing will possibly be incomplete. For more details, enable the execDebug option of cComponentManager.\n',
 '[ 28.03.2025 - 04:18:23 ]\n',
 '    (WRN) [2] cComponentManager: The following component(s) could not perform any work because destination levels are full but no other component performed any work either: gemapsv01b_smoE. Processing will possibly be incomplete. For more details, enable the execDebug option of cComponentManager.\n',
 '[ 28.03.2025 - 04:18:23 ]\n',
 '    (MSG) [2] cComponentManager: Processing finished! System ran for 97271 ticks.\n']
主要语言
BitBake
星标
334
派生
42
平均合并
57 分钟
30 天内合并 PR
2

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

audeering/opensmile-python 的其他 Issue

查看 audeering/opensmile-python 的全部 Issue

相似的 Issue

更多 Audio/Video & RTC Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。