• music_is_great

    I would like to create a sampler that allows me to separate the following variables and modulate them as the sample is playing:

    -Speed
    -Pitch
    -Cue Position

    Maybe also end position...

    I have been trying to understand the granular synthesis tutorials and i think this is the technique I need to use.

    http://www.pd-tutorial.com/english/ch03s07.html

    I have built a sampler that allows control of playback speed/direction, cue point, start point and end point all independently using a very complicated system of phasor~ and tabread4~

    I'm just not sure how to incorporate pitch modulation into this mess without disrupting the other variables...

    Does anybody have any ideas or maybe you can point me in the right direction? Even kind words of encouragement would help. This is only my first month of pure data programming and it's getting hard.

    thanks for everything I've learned on this beautiful forum.

    posted in technical issues read more
  • music_is_great

    First of all, I'm really thankful for this great forum. I just downloaded Pure Data three weeks ago and it's really blowing my mind with what is possible. I've been learning so much from you guys but I couldn't find an answer to this question.

    I need to convert a number that represents seconds (ex:246) into an easily human readable symbol like "4:06."

    I've got almost everything already built in the attached patch but I'm stuck at one tricky step. It seems so simple...

    If the number of seconds is less than ten, the output becomes a one digit number. This is fine but it looks weird to display 4:6 instead of 4:06. I want this app to be useable and understandable to the average itunes user and the timestamp needs to look "normal."

    Here's a text rendition of the bit that's causing problems.

    number atom: 4
    |
    |
    [t b f]
    | \
    | \
    [0( \
    | \
    | \
    [pack f f]
    |
    |
    [l2s]
    |
    |
    [print]

    print: symbol 0 4

    i get an output with a space between the numbers...

    I need this: symbol 04

    Thanks again for all your help and I really hope this problem can be solved.

    PS: The attached patch translates seconds into timestamp and for my app I'll next create a little system for reversing back out to recreate the seconds number from the timestamp.

    Maybe this little patch would come in handy for others? I would like to next add hours so I can have timestamps that look like this: 4:34:04.

    how about an object called [seconds2timestamp] and corresponding [timestamp2seconds]?

    Thanks again!

    http://www.pdpatchrepo.info/hurleur/seconds_to_timestamp.pd

    posted in technical issues read more
  • music_is_great

    thank you, I'll try all that.

    posted in technical issues read more
  • music_is_great

    Here's the final patch. I think I can make these into externals that can be called as objects... but here it is for now.

    Any reviews would be great. Let me know if they work for you!

    These patches handle any amount of seconds up into hundreds of hours and beyond. It puts all the colons in the right place and makes for a very easy to use plugin for beautifying and humanizing a GUI.

    Peace!

    http://www.pdpatchrepo.info/hurleur/timestamp2seconds.pd

    posted in technical issues read more
  • music_is_great

    NEVERMIND! I figured it out! I think the process of typing out that post got me thinking enough to find the answer.

    Thanks to some other forum post I found that message boxes support no spaces.

    I added [$1$2] after [pack f f] and things are working great!

    posted in technical issues read more

Internal error.

Oops! Looks like something went wrong!