• PedroPT

    I want to send the values of the signal (as I'm doing now, but now I only have the FFT results, with frequencies distribution) to libpd and present them on an Android tablet.

    So far this I have right, but I wanted to send the envelope instead of the FFT values...

    But thanks anyway @gsagostinho, @whale-av !!

    posted in technical issues read more
  • PedroPT

    Hm thanks again @gsagostinho! got it working but I don't think this is what I need.

    As I showed on the image, I want to do the envelope of a signal after I used FFT on it (now I have an array that tells me for each moment in time what are the frequencies that compose the signal).
    And this is right, as I tested it already.

    Now I just wanted to use those values and envelope them...

    posted in technical issues read more
  • PedroPT

    Oh I get it now! Makes sense!

    Any idea on how to save those values to a table?
    I can't seem to get the grasp on how Pure Data handles arrays and tables :/

    I can't use externals because I'm going to use the patch with libpd...

    Thanks again! @gsagostinho

    posted in technical issues read more
  • PedroPT

    Yeah, I know that, but when I try to use [env~] on my values and try to plot them, I only get one value (which makes sense, since it only outputts one value).

    What I want is something like this in the second plot (sorry for the bad drawing):
    example.png

    I want to plot and be able to save the envelope of the signal like this.
    Maybe Im confusing envelope with something else.....

    Any help is appreciated, thanks guys!

    posted in technical issues read more
  • PedroPT

    Oh btw, as I'm using libpd, I can't (as a requirement) use any externals, so no help with tabletool, but going to check it out for future projects! :)

    posted in technical issues read more
  • PedroPT

    Thanks for the reply!

    I tried using that, but unfortunately what I get is not what I need.

    I'm using this patch, that computes a Fourier Transform so I can analyze the frequencies of an incoming signal (the sound received on the microphone to be exact), but I want the envelope of the signal, not the signal itself.

    Here goes a part of my patch, the results seem correct, I just wanted the envelope now.

    Any help will be greatly appreciated, I feel I'm missing something :/
    fft_hz.pd

    posted in technical issues read more
  • PedroPT

    Hey!

    I'm fairly new to Pure Data, and I'm having a hard time figuring how to extract the envelope of a signal.

    Now I'm simply outputting the signal to an array, but I really wanted was to extract the envelope and plot it.
    Anyone can help please?

    posted in technical issues read more
  • PedroPT

    Hi!

    I've been using bonk~ to detect different classes (on this case, different gestures to a touch surface, a knock vs a tap vs a nail, etc).
    I now want to add some information to it, using fiddle~ to get the loudness level (dB) and pitch for example.

    Now I just put them on a list and receive them on libpd, but the values dont look right.

    Is there a way to guarantee that the values I retrieve from the audio signal (microphone) are synchronized? (The loudness level corresponds to the beat bonk~ detected and such.)

    Thanks!

    posted in libpd / webpd read more
  • PedroPT

    Hey!

    I've been getting some strange values from receiveList method.
    My patch uses bonk~ and fiddle~ to detect hits to a touch surface, and to get information when the hit occurs.
    I tried using fiddle~ to get that hit's loudness so I could calculate the hit's intensity (force applied to the surface), but the values are not what I expected.

    When I hit hard, the values for loudness (in dB) and bonk~'s second output value (its "velocity") are not that high, looking like a soft hit instead of a hard blow to the surface.

    I tried using the "synchronized" keyword on the receiveList method, because it could be a thread problem, but the results are the same..

    Any ideas?
    Here goes the patch, sorry if kinda confusing:
    test.pd

    posted in libpd / webpd read more
  • PedroPT

    Hm I can't use it, as I'm using libpd and can only use vanilla objects I think..
    So that's why I must go with bonk~..

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!