Recent Posts

Pages: 1 2 [3] 4 5 ... 10
Plugin Development / Re: newbie erro
« Last post by cannam on February 10, 2014, 21:35:51 »
(The error you quoted is actually from the compile stage, not the linking stage. Did you try what I suggested, and if so, what happened?)

In answer to your most recent question, "make" is a declarative language -- instead of telling it what to do, you tell it what your targets depend on and (in theory) it works out what to do to build them. So if you write

simpleClass.o: simpleClass.cpp simpleClass.h

you are telling make that the .o file depends on the .cpp file and the .h file. That's great -- it's what you want -- but it's only a dependency, not an instruction. You also need to give make a hint that it actually needs to produce the .o file.

To do this, you'd normally add the .o file as a dependency of something somewhere else, such as the library file. There is often a variable that contains a list of the object files that need to be linked together to put together the library, and you'll want to add you new .o file to that.

Plugin Development / Re: newbie erro
« Last post by Vampire on February 08, 2014, 01:32:32 »
I think it might be the way I'm linking the files.

If I wanted to add the simplest class, at the moment I've gone back to Skeleton example and am adding a class that does almost nothing, just has a single int value. How can I extend the Makefile to include that okay?

I would expect, for the new class called simpleClass.h, we'd write something like

simpleClass.o: simpleClass.cpp simpleClass.h

and add that to make file?

maybe now the skeleton plugin depends on that?

I'm not familiar with writing make so anyone who has experience here, would much appreciate it!
Plugin Development / Re: newbie erro
« Last post by cannam on February 07, 2014, 16:47:45 »
Hi there --

My wild guess is that this is a problem with the selection of compiler SDK (i.e. which set of OS/X platform libraries the compiler tries to build for).

Try getting the compiler to switch back to its default settings (to compile for the current platform only) by removing the "-mmacosx-version-min=10.5 -arch i386 -arch x86_64" flags from the Makefile you're using, and see if that helps.

Plugin Development / newbie erro
« Last post by Vampire on February 07, 2014, 15:10:55 »
I've been looking to recompile BeatRoot, but so as to get a tempo output too. Have a compiling question, it seems to find the make file and the headers and start compiling, but has the following errors:

Vampires-MacBook-Pro:pluginDev vampire$ make

g++ -mmacosx-version-min=10.5 -arch i386 -arch x86_64 -I../../vamp-plugin-sdk -Wall -fPIC   -c -o myVampPlugin.o myVampPlugin.cpp
In file included from myProcessor.h:19,
                 from myVampPlugin.cpp:17:
Peaks.h:22: error: expected constructor, destructor, or type conversion before ‘using’
Peaks.h:36: error: expected ‘,’ or ‘...’ before ‘<’ token
Peaks.h:36: error: ISO C++ forbids declaration of ‘vector’ with no type
Peaks.h:44: error: ISO C++ forbids declaration of ‘vector’ with no type
..loads of this kind of stuff..

the line in question is form Beatroot peaks.h
[line number]
[19]#include <vector>
[20]#include <cmath>
[22]using std::vector;

is this something to be fixed in the Make file?
why would it have a problem finding vector?

any tips appreciated
Plugin Development / Re: Bass pitch
« Last post by Vampire on February 07, 2014, 15:06:36 »
have you looked at Matthias' pyin?

this is great for bass pitch as it is monophonic pitch tracker - but it is designed for separate bass parts - are you hoping to gte bass from a fully mixed audio track?
Getting and Using Vamp Plugins / Re: Can Vamp help me with this?
« Last post by Vampire on February 04, 2014, 16:36:40 »
you could process the sound - take in buffer by buffer

choose a feature - spectral centroid, mfcc (higher parts)

turn your sample of 30sec into a list of numbers for these features

try machine learning on recognising if the sound is baby/not baby

so could vamp help? - probably - you could try taking some of the routines here and using them to get your features. You probably don't want to buld a vamp host or anything crazy. just turn audio into a feature set that you can learn on.

hope that helps a bit! I don't necessarily know how to do all the above.
Host Forum: Sonic Visualiser / How do i install ladspa plugins?
« Last post by hinsn on January 19, 2014, 11:32:42 »
Hi all,

I´ve been trying really hard to understand how this works, but somehow I can´t figure it out...

I want to apply filter effects to isolate frequencies that I see in a spectrogram to train my hearing. I searched for filters in "Find Transforms" but there was nothing. In this forum, someone suggested to use LADSPA plugins.,198.msg473.html#msg473

Can anyone help me out here?

Plugin Development / Bass pitch
« Last post by Martin on December 14, 2013, 20:33:55 »
I have been looking at Chordino plugins for chord and chord note estimation using Audacity.  I would welcome help on modifying the plugin in order to label the note estimation track with actual midi notes rather than (or as well as) the midi note numbers.  It would also be a great help to be able to isolate the lowest note in a chord in order to get a good bass line part.
Martin :)
Plugin and Host Announcements / Sonic Visualiser v2.3 now available
« Last post by cannam on December 13, 2013, 15:06:26 »
Sonic Visualiser is an application for inspecting and analysing the
contents of music audio files. It combines powerful waveform and
spectral visualisation tools with automated feature extraction plugins
and annotation capabilities.

Version 2.3 of Sonic Visualiser is now available. This release contains
bugfixes and a small number of new features.

For more information, please read the change log at:

I am new to sound technology (as of 2 wks ago) and need to record infrasound for personal reasons.
My equipment = Earthworks M30 microphone, RME Fireface UC, iMac 10.7, both Earthworks mic and RME UC have a frequency range to 5hz. RME UC at sampling rate 192k.

Despite reading both manuals on the sonic visualiser I am a still unsure of how to set it up and how to interpret the data.

1. I don't really know what gain I should put on the mic preamp. I put 34.
2. I don't know how to interpret the spectrograph/gram, how can i tell if  infrasound or also something like a packet of sound like a sound bullet (its the only way I can describe it) are present and at what amplitude?DB? and for what periods of time?
3. is there a vamp plugin (hopefully mac compatible) that shows infrasound as an x y axis, hz on one side and db? on the other?

So I sort of throw myself at the mercy of the forum and hope someone or more can help me.

I have a short wav file and a longer wav file that I can put on a shared place. Its rather large bcs of the sampling rate though (192k).

Kind regards

Pages: 1 2 [3] 4 5 ... 10