[clam-devel] Analogsignal to Midi and Qt Stuff
Nathan Stewart
swarfrat at gmail.com
Wed Dec 7 05:22:30 PST 2011
I have some ideas on doing it, but life has reduced my hobby tinkering
time to near zero for some time. That and I've decided to put a hex
pickup on my guitar.
Basically, my plan was to collect a training set, and run a sparse
correlation on the peak picked spectra.
I believe it should work as well as the chordal stuff does now, in
that it might fail to pick up an octave of a note that's already
present.
Nathan
On 12/7/11, Gerald Mwangi <gerald.mwangi at gmx.de> wrote:
> Hi Guys,
> First i would like to say that I'm very impressed of CLAM. It seems to
> just what i was looking for.
> I started developing a program that take a Guitarsignal (monophone) and
> transforms it to a midi/control message to drive oscillators and
> external Synths. To do this I use the SMSAnalysisCore for Peak and
> Fundamental detection followed by the Fund2Control(2Midi) processing.
> This work quit well for monophone signal (single notes on the Guitar),
> but i would like to explore the possibility of transforming polyphone
> signal with up to 6 notes to get the 6 Fundamentals. Therefore the
> question: is there anyway of building a network to do this in CLAM with
> the current processings,
> or would I have to write my own processing.
> I have some basic knowledge in signal processing since i work in the
> image processing field, so I could develope such a processing if you
> could give the literature.
>
> My second question is rather technical: My application is in Qt so how
> can I expose the controls of a network to the layout managers (QLayout,
> QScrollArea) I use. Right now I' ve subclassed QWidget the following way
>
> using namespace CLAM;
>
> class SynthControl : public QWidget
> {
> Q_OBJECT
> public:
> explicit SynthControl(QWidget *parent = 0,FloatInControl* control=0);
> ~SynthControl();
> ...
> signals:
> public slots:
> void valChanged(int val); // Connected to valChanged Signal of mknob
> private:
> QSynthKnob* mknob;
> QLabel* mknoblabel;
> FloatInControl* mControl;
> ...
> };
>
> The FloatInControl I get from the specific processing I want to control.
> Does CLAM actually expose such widgets directly through the CLAM::Network
> class?
>
> Thanx in advance,
> Gerald
>
>
>
--
Sent from my mobile device
More information about the clam-devel
mailing list