问题标签 [bass]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
ios - BASS FX 的 Objective-C 回调块
我正在尝试在我的应用程序中使用音频库 BASS。我正在尝试使用一种在检测到音乐节拍时触发回调的方法。
这是我当前的代码:
回调在头文件中定义为:
错误信息是:
我很确定这个块只需要一个小的修改,但我不熟悉 Objective-C。
android - Bass Boost在Android中不起作用
*当我运行此代码时,只有简单的声音在播放 BassBoost 在更改搜索栏时不起作用,我做错了什么吗?我是如何在 Google 上观看一些关于堆栈溢出的教程的,但没有一个得到回答。
java - 加载 .so 库时出现问题
我有一个安卓项目(Inellij IDEA)。我已经从官方网站下载了 BASS 库,并将lib
文件夹中的内容复制到我的项目文件夹libs/
中。但是当我尝试用 加载它时System.loadLibrary("bass");
,它会抛出一个错误:
我究竟做错了什么?也许,我需要更改 gradle 配置?
c++ - Drawing audio spectrum with Bass library
How can I draw an spectrum for an given audio file with Bass library?
I mean the chart similar to what Audacity generates:
I know that I can get the FFT data for given time t
(when I play the audio) with:
That way I get 1024 values in array for each time t
. Am I right that the values in that array are signal amplitudes (dB
)? If so, how the frequency (Hz
) is associated with those values? By the index?
I am an programmer, but I am not experienced with audio processing at all. So I don't know what to do, with the data I have, to plot the needed spectrum.
I am working with C++ version, but examples in other languages are just fine (I can convert them).
c++ - BASS 库:没有声音
我想使用 BASS 库制作一个简单的 MP3 播放器。我有这个代码:
这段代码编译得很好,但是当我启动我的程序时,MP3 似乎没有播放,而输出似乎是正常的:
你有解决方案吗 ?
c# - Bass.Net 会导致大量 .mp4 文件出现更多内存泄漏
我Bass.Net
在我的应用程序中使用来读取 .mp4 数据。如果我使用限制为 700MB 的普通 .mp4 文件,它可以正常工作。但如果它超过了 1GB 这样的限制,实际上是 2.30 小时的数据。我遇到了一个例外,它不允许我进一步进行任何处理。你能帮我解决这个问题吗?
附上异常截图和堆栈跟踪。
c# - 在 Bass 中的特定时间触发回调
我是 Bass 库的新手,但是当歌曲到达那个时间时,是否可以传入触发事件的时间列表?比如我在30秒设置一个触发器,当歌曲达到30秒时,我可以调用一个事件吗?
c++ - 在 Linux 上的 Code::Blocks 中添加 BASS 库
有人可以帮我在 Ubuntu 上的 Code::Blocks 中添加 BASS 库吗?而是一步一步来。我尝试了很多东西,但我不能这样做......我有“bass24-linux.zip”文件,现在怎么办?请尽快帮助我!
编辑:
我会告诉你我在做什么:
- 在桌面上解压“bass24-linux.zip”。
- 将“bass.h”复制到 /usr/include
- 将“libbass.so”复制到 /usr/lib
- 在代码块中转到设置->编译器->搜索目录
- 将编译器路径设置为 /usr/include (bass.h 所在的位置)
- 将链接器路径设置为 /usr/lib(libbass.so 所在的位置)
- 然后进入项目构建选项->链接器设置并设置路径../../../../../usr/lib/libbass.so;
然后我正在编写一个简单的程序,例如:
然后我看到错误:
g++ -L/usr/lib -o bin/Debug/LightBulb obj/Debug/main.o ../../../../../usr/lib/libbass.so ../../. ./../../usr/lib/libbass.so:添加符号时出错:文件格式错误 collect2:错误:ld 返回 1 退出状态
c# - BASS.NET PITCHSHIFT 效果不起作用
我试过其他类似的效果,但是PITCHSHIFT
效果不行。为什么它没有被应用,我该如何解决?
创建和播放ch4
流的代码在另一个函数中。
我得到了回报BASS_ErrorGetCode()
。它返回BASS_OK
。