• bulek

    Hi,

    I'm newbie and I'm trying to find a way to implement simple echo system or any other generic IIR filter based on difference equation...

    I've found some information on possible ways but each has its own downsides :

    • fexpr~ should do it, but is limited to block size, when I try to change it, then dac complains....
    • I've read in some PD tutorial that ("untested feature") one could make size of the block 1 and then make it's own IIR filter, but again dac will complain...

    Can I implement generic DSP system with help of difference equation that would work ok on live audio data ?

    Thanks in advance,

    regards,

    Bulek.

    posted in technical issues read more
  • bulek

    Hi,

    I receive 4 integer values in ascii string over comport. I wonder how can I get those values into PD ?

    For instance : " 100 23 -12 340 \n" is a typical message...

    I have string2any missing in my pd-Ext ?
    I also tried with ArduinoPuredataMessageSystem.pd and unpack, but the problem is that I get extra space characters between digits and then unpack is unsuccessful... Maybe a way to strip those spaces (for instance I get " 1 0 0 2 3 - 1 2..."

    Thanks in advance,

    regards.

    Bulek

    posted in I/O hardware diyread more
  • bulek

    @Maelstorm said:

    Are you just trying to do a simple echo delay? Because if so, you'd be much better off using [delwrite~] and [delread~] or [vd~].

    Hi,

    thanks for reply and help. Yes, you're absolutely right. What I'm trying to do is to show Puredata to my students for DSP class and first step would be to show them how to implement generic DSP system by using difference equation - we use that concept a lot during lectures and exercises...We don't have time to go into details, but just quick introduction. I think that knowing about great open source tools is essential for them....

    So for a intruduction, I show them FIR block and fexpr blocks, and point out that there are other more efficient ways to do the same in Puredata...

    Really great system, I also see that you've contributed great amount of useful patches...

    Thank to you and to everybody else....

    Regards,

    Bulek.

    posted in technical issues read more
  • bulek

    Hi,

    I've found solution how to use fexpr here :

    http://puredata.hurleur.com/sujet-2279-change-block-size-analyse-audio

    I've put the part with fexpr~ and another block value into subpatch - and that's it...

    Thanks,

    regards,

    Bulek.

    posted in technical issues read more
  • bulek

    @newmiracle said:

    Not sure if this is any help, but this I how I formatted the output of the comport and parsed the list sucessfully:

    http://puredata.hurleur.com/sujet-5832-reading-multiplexed-input-streams-arduino

    Can you please share the Puredata .pd file ?

    Thanks in advance,
    regards,
    Bulek.

    posted in I/O hardware diyread more

Internal error.

Oops! Looks like something went wrong!