Developing Algorithms - MATLAB / OCTAVE or other ?
-
- KVRist
- Topic Starter
- 76 posts since 25 Jun, 2011
Hi,
I've installed soundfile but failed to generate sine wave tone that plays in real time via the speakers (windows, ASIO or other).
Could you share a simple code or hints to this matter?
Appreciated,
Ross
I've installed soundfile but failed to generate sine wave tone that plays in real time via the speakers (windows, ASIO or other).
Could you share a simple code or hints to this matter?
Appreciated,
Ross
-
- KVRist
- 89 posts since 24 Jun, 2003
Hi Ross,
You might also find this interesting: http://www.osar.fr/protoplug/ -- while I didn't spend that much time with it, I don't remember running into any issues and the performance was pretty decent. It's a plugin, so you need a VST host to use it, if that makes a difference... But it works at any sample rate the host supports, and you can query the rate through the API. Hope it's useful for you!
You might also find this interesting: http://www.osar.fr/protoplug/ -- while I didn't spend that much time with it, I don't remember running into any issues and the performance was pretty decent. It's a plugin, so you need a VST host to use it, if that makes a difference... But it works at any sample rate the host supports, and you can query the rate through the API. Hope it's useful for you!
-
- KVRAF
- 2256 posts since 29 May, 2012
Have a look at portaudio (C api) and forget about python for a while, perhaps it's not what you are looking for.
http://www.portaudio.com/
Contains many examples:)
http://www.portaudio.com/
Contains many examples:)
~stratum~
-
- KVRer
- 23 posts since 26 Nov, 2017
Deleted.
See Miles1981 post below. Contributed what I thought to be a helpful reply. This was my first post and didn’t expect to see that kind of behavior on this forum.
See Miles1981 post below. Contributed what I thought to be a helpful reply. This was my first post and didn’t expect to see that kind of behavior on this forum.
Last edited by boark on Sat Dec 09, 2017 11:59 am, edited 1 time in total.
-
- KVRian
- 1379 posts since 26 Apr, 2004 from UK
Not really a language so doesn't workboark wrote:That leaves you with the language choice for algorithm development. Matlab/octave get my vote.
Also Python can be as fast as Matlab, you just also have to use array notation... Not even talking about Spyder (comes natively with the Anaconda suite).
Seriously, you don't known scientific Python, so don't say it's not good enough.