Comments (6)
Yes, it is possible. Instead of binding to OnGeneratePCMData, which is used during sound wave playback, you should bind to OnPopulateAudioData, which is broadcasted each time audio population occurs. This way, the audio data will be analyzed during the capturing process itself.
from audioanalysistools.
Thanks for the quick reply! I am having trouble adapting this part of the wiki based on your recommendation: https://github.com/gtreshchev/AudioAnalysisTools/wiki#example-of-detecting-a-beat-as-a-sound-wave-is-played
It appears that I still need an imported sound wave in order to make everything connect properly?
Is there any documentation on OnPopulateAudioData?
from audioanalysistools.
Is this an appropriate direction? This is in a blueprint with just one Audio Capture in it.
from audioanalysistools.
The documentation regarding the OnPopulateAudioData including is here: https://github.com/gtreshchev/RuntimeAudioImporter/wiki/Utilities
Yes, this looks proper. Since streaming and capturable sound waves are inherited from imported sound wave, they support the same functionality and leverage the same internal logic for accumulating and outputting the audio data. If you encounter too many beats occurring, you can take a look at the IsBeatRange function, for example.
from audioanalysistools.
Thanks for the replies.
Is there a way to specify the input device by name? Or does this always default to Unreal's system default detection?
I am able to read out the names of available input devices, and see their ids. But it appears that only one of the devices works at a time, none of the device IDs except for that one work. (This is on macos)
from audioanalysistools.
I'm not entirely sure, but there might be platform-specific behavior that prevents using multiple input devices simultaneously. Although that's just my assumption, I haven't explored the workflow of capturing with multiple devices at the same time. As for identifying the input device, yes, I believe the only way is to take the ID integer into account when calling StartCapture
and specifying the ID.
from audioanalysistools.
Related Issues (11)
- Implement frequency spectrum calculation HOT 27
- How to use the plugin? HOT 4
- Beat position calculation HOT 8
- FFTSubbandsSize cannot be set higher than 512 or beat detection fails HOT 3
- Exception if you exit whilst AudioAnalysisTools calculation in progress HOT 3
- FFT Alloc typo? HOT 1
- In-Engine FFT tools HOT 3
- Pause an Play HOT 2
- Build error With audio analysis tools HOT 1
- Detect Build up HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from audioanalysistools.