Developing Algorithms - MATLAB / OCTAVE or other ?

DSP, Plug-in and Host development discussion.
Ross21
KVRist
54 posts since 25 Jun, 2011

Post Thu Dec 07, 2017 1:30 am

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

sOktay
KVRist
75 posts since 24 Jun, 2003

Re: Developing Algorithms - MATLAB / OCTAVE or other ?

Post Thu Dec 07, 2017 2:32 am

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!

stratum
KVRAF
1841 posts since 29 May, 2012

Re: Developing Algorithms - MATLAB / OCTAVE or other ?

Post Thu Dec 07, 2017 5:38 am

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:)
~stratum~

boark
KVRer
1 posts since 26 Nov, 2017

Re: Developing Algorithms - MATLAB / OCTAVE or other ?

Post Sat Dec 09, 2017 3:11 am

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.
Last edited by boark on Sat Dec 09, 2017 3:59 am, edited 1 time in total.

Miles1981
KVRian
1355 posts since 26 Apr, 2004 from UK

Re: Developing Algorithms - MATLAB / OCTAVE or other ?

Post Sat Dec 09, 2017 3:34 am

boark wrote:That leaves you with the language choice for algorithm development. Matlab/octave get my vote.
Not really a language :D so doesn't work :hihi: :clown:

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.

Return to “DSP and Plug-in Development”