• ydebutee

    Hello,

    I couldnt google this little feature so ... if you 're already using it, sorry.
    I just somehow wanted to contribute with something :).

    How to build Drag&Drop soundfiler.

    1.

    Fedora Core users reported the package tkdnd is available for tcl8.4 so you'll just have to fire up your package manager and install it.

    For Debian based systems (including Ubuntu), you'll have to do a little command-fu. First, go to sourceforge and download the latest i386 rpm file. I know, you thought that you were done with rpms, but... you're not.

    Open up a command line and issue the following commands as root in the directory that you downloaded it (probably ~/Desktop):

      apt-get install alien
    
      alien -d tkdnd*.rpm
      dpkg --install tkdnd*.deb
    

    2.
    in a /usr/lib/pd/bin directory is pd.tk file
    replace procedure pdtk_canvas_makeobjs with these lines:

    proc pdtk_canvas_makeobjs {name files x y} {
        set c 0
        for {set n 0} {$n < [llength $files]} {incr n} {
    
        set absolute [lindex $files $n]   
    
        if {[regexp {.*/(.+).pd$} $absolute file obj] == 1} {
                pd $name obj $x [expr $y + ($c * 30)] [pdtk_enquote $obj] \;
                incr c
            } elseif {[regexp {.*/(.+).(wav|WAV|aiff|AIFF)$} $absolute file obj] == 1} {
    
                set tmp [string trimleft $absolute "file:"]
                set filename [file join / $tmp]   
    
                pd $name obj $x [expr $y + ($c * 30)] [concat "table " $obj \;]       
                pd PDTK_ondrop [concat "??????" $filename] $obj $x $y \;
                incr c
                }
        }
    }
    

    That's it. Now you should be able to drop a soundfile on a patch and everything else should be done dynamically.

    See included test patch to see how it works.
    Hope someone will find it usefull.
    Have a nice day.

    http://www.pdpatchrepo.info/hurleur/dropsound.tar.gz

    posted in patch~ read more
  • ydebutee

    Hello,
    I've posted a very simple skelet of a grain abstraction... There is a buffer read by vd~ object, but I'm having troubles fully understand this topic... Deeper explanation of variable delay lines in attached patch would be very helpful (I would like to implement pitch shifting).
    ...my english sucks :)

    Thank you very much.
    Have a nice day and don't be afraid of editing the poor patch :).

    http://www.pdpatchrepo.info/hurleur/grrr~.pd

    posted in technical issues read more
  • ydebutee

    Hello any ideas how to cope with it ? Thanks

    posted in technical issues read more
  • ydebutee

    hi there,

    really strange matter... my resampling subpatch works under windows but when trying it on ubuntu downsampling is ignored when resizing the block size using switch~... sound is not downsampled but those high freq. mess is heard only but signal flow is not affected ... if you ever had encounered this problem, help please. Thanks

    Have a nice day

    posted in technical issues read more
  • ydebutee

    Hello,
    please any ideas would be highly appreciated. Somehow I cannot cope with the resynthesis of audio signal on bang to "output~" a beat (rather beat-like glitch), could fft be solution for this matter ? .. what do you think ? I beg for a hint again :)
    Thank you.

    posted in technical issues read more
  • ydebutee

    Hello. Somehow I cannot sort out how to route signal from mic and line-in input separately by adc~ and I'm sad about it. Please folks help...

    posted in technical issues read more
  • ydebutee

    hello, have a look at cyclone's [count~] object.

    posted in technical issues read more
  • ydebutee

    JACK for sure/

    posted in technical issues read more
  • ydebutee

    Hellou. Made this work year ago by customizing pd.tk.
    Wish it helped you.

    Here is my solution:
    http://puredata.hurleur.com/sujet-3292-dropsound

    Bye bye.

    posted in technical issues read more
  • ydebutee

    or

    [noise~] [ more crackling
    | /
    [lop~ 100]
    |
    [cos~]
    |
    [clip~ -0.5 0.5]

    produces also nice sounds. ///

    posted in technical issues read more
  • ydebutee

    Look also into pd&#180;s core source code. It might help you writting your own external for meta patching etc.

    posted in technical issues read more
  • ydebutee

    Hello. I accomoplished this stuff using gridflow&#180;s gf/canvas_getpos object. Just put it into your abstraction and it should return abstraction&#180;s coordinates on the parent&#180;s canvas.

    I hope this will help you.
    bye bye.

    posted in technical issues read more
  • ydebutee

    sorry, the first thing ... aif|AIF not aiff|AIFF

    http://www.pdpatchrepo.info/hurleur/bla.zip

    posted in patch~ read more
  • ydebutee

    I'm getting it now. Thanks.

    posted in technical issues read more
  • ydebutee

    :)))

    Yes, it does sound or rather the parent patch sounds as it should. I posted a fragment to keep code simple and not bother with other mess (I will definitely upload the whole work when i'll be proud of it :). I just wanted to point out vd~. I read somewhere it doesn't matter if one uses tabread4~ or vd~ (is even better than tabread4~ when processing audio on fly)... they work similar way as far as "4-point interpolation" :) (have a little idea what does this term mean) is concerned, but the fact it accepts signal which is delay time... it's too confusing... if i ramped the signal at higher or lower speed then it should be pitched, shouldn't ? Perhaps I'm completly lost in everything. It is really disturbing when I encounter some issue I dont understand :). Thank you very much once again and good night.

    posted in technical issues read more
  • ydebutee

    thanks a lot again. im gonna play with it.

    posted in technical issues read more
  • ydebutee

    thanks :) yes that was also my idea to jitter some variables, to add some little feedback to the whole stream (?).

    posted in technical issues read more
  • ydebutee

    Just looking for some technical hints how to process sustained drum sounds... if you ever had encountered this issue. say i have a one snare sample and want to get a good sounding roll out of it... silly question maybe (as usual :))

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!