Login / Register  0 items | $0.00 New#KVRDeals
Ross21
KVRist
 
49 posts since 25 Jun, 2011

Postby Ross21; Thu Dec 07, 2017 1:30 am Re: Developing Algorithms - MATLAB / OCTAVE or other ?

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
 
73 posts since 24 Jun, 2003

Postby sOktay; Thu Dec 07, 2017 2:32 am Re: Developing Algorithms - MATLAB / OCTAVE or other ?

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
KVRian
 
1360 posts since 29 May, 2012

Postby stratum; Thu Dec 07, 2017 5:38 am Re: Developing Algorithms - MATLAB / OCTAVE or other ?

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 post since 25 Nov, 2017

Postby boark; Sat Dec 09, 2017 3:11 am Re: Developing Algorithms - MATLAB / OCTAVE or other ?

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
 
1272 posts since 26 Apr, 2004, from UK

Postby Miles1981; Sat Dec 09, 2017 3:34 am Re: Developing Algorithms - MATLAB / OCTAVE or other ?

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.
Previous

Moderator: Moderators (Main)

Return to DSP and Plug-in Development