• xgr

    Great! Thanks. It works!
    Xaver

    posted in news read more
  • xgr

    Hi,

    is it possible to open more than one instance of Purr Data on windows?
    I tried using the console but I had no luck. Would be nice to be able to open another instance when the patches get heavy.

    Regards,
    Xaver

    posted in news read more
  • xgr

    For exchanging via usb you can use [comport]
    https://puredata.info/community/pdwiki/ComPort

    It's part of Purr Data and it works well.

    Xaver

    posted in technical issues read more
  • xgr

    @whale-av

    They don't necessarily play in time anyway.

    Well, nor do I.

    But you can fix this later at mastering. You could record the click track to a second channel (having sent it out and back in) to aid with re-syncing. The distance from ear to monitoring you can measure physically and calculate the delay.

    And when I know the latency in advance, I can record while I play along and shift the recording afterwards, so it'll be in sync again.
    I'm not shure, but I think, when I use Katja's latency patch, it measures the latency between speakers and microphone. Only trouble might be too much ambient noise.

    @LiamG
    For now I tried to crossfade at the end of the sample. I'm mixing a fade-in of the start of the sample with a fade-out of the end of the sample.

    Maybe this picture is helpfull for a better understanding:
    set-arrays2.png

    The startsamples are taken from $0-temp, which is recorded first and which is delayed by the latency.
    $0-sound is the array used for playback.

    I tried to use a crossfade of equal power, but still I can hear a little dip when the sample is restarted.
    This is the calculation: expr ( 1 - cos( $f1 * (3.14159 / 2) ) )
    with 0 < $f1 < 1

    This is, what it looks like in a scope:
    crossfade.png

    The first row shows the cutted sample $0-sound. It's start is around 112800 samples. On the left side you can see the end with a fade out.
    The second row shows the fade-in of the start sample.
    The third row is the mixed result.

    Here's the new patch:
    loop-machine.7z

    Are there any ideas of how the mixing can be done better?

    Xaver

    posted in technical issues read more
  • xgr

    @whale-av
    I'm using a RME Fireface uc with it's own Asio driver on Win7/10. On Purr Data or vanilla I can set latency to 2 ms as well, but the roundtrip latency tester gives me the same results for 2-5 ms (around 440 samples measured with cable). With a 48 sample buffer instead of 64 on my soundcard I receive even worse values.
    But on pd-extended it just doesn't work. Don't know why, but as it's not updated anymore, I prefer working with vanilla and Purr Data.

    Anyway - in the manner I'm trying to loop, latency doesn't really matter, but you have to know it's length. Even with a latency of 50 ms or more you won't notice any offset in the recorded loops as long as you know the exact length of the latency.
    Tracks get recorded and shifted by the latency afterwards, so latency should be compensated.

    You're right, latency won't add up in Pd. But I don't use an in ear system. So if you change your reference from a metronom to a recorded track and from that track to the next recorded one, you will add up latency when the latency isn't compensated.

    Xaver

    posted in technical issues read more
  • xgr

    I changed my first post and uploaded a zip at the end.
    Works with Purr Data or pd (plus zexy)

    @whale-av
    Thanks for your patch. I tested it with extended, but I get latency issues. When I record saying something like "tik" on the beat, the "tik" is heavily delayed to the metronom on playback. But on pd extended I can't set the latency lower than 24 msecs. So there might be some issues with extendend on my machine. (pd or Purr Data let me set the latency to 5 msecs without problems.)

    You wrote: The biggest problem with (not noticing) an edit will be a difference of volume (power). Our ears are very sensitive to that.
    The second biggest problem will be the quality.... timbre..... but as you say a crossfade could help. But the bigger the difference the longer the crossfade needs to be.

    I thought about starting recording a little bit earlier and stop somewhat later, so I can crossfade between these extra samples. And maybe it's easier than I thought.

    @LiamG
    Thanks. How can I trigger between blocks? I thought messages are only send once during a block, aren't they?
    About 3): I was wondering, if it is a problem, not to be able to set the exact metronom tempo

    And here's a little screenshot to see what it looks like:
    loop-machine.png

    I would say, anything above 5 ms latency between the metronom and some voices starts to feel strange. And when you start to change your reference - say you start recording with the metronom, change to first recorded line as a reference, than to the second etc, - the latency will sum up and increase.
    I wonder how latency is treated on hardware loop stations.
    And I'm still asking myself how latency should be treated to get it right.

    Regards,
    Xaver

    posted in technical issues read more
  • xgr

    Hi,

    I'm creating a loop station and I've got several questions about different issues.

    1. Latency
    2. Fading/Cutting recorded samples at start and end
    3. Metronom settings

    1) Latency
    I'm using the latency tester from the repo.
    http://www.pdpatchrepo.info/patches/patch/92

    Latency might be calculated with different methods:
    a ) Connecting the output of the soundcard directly to the input via cable. This way the lowest possible latency is received. (Around 440 samples in my case)
    b ) Calculating via microphone and speakers. Latency will be higher compared to a ). Also the bigger the distance between mic and speakers, the higher the latency will be.

    Which calculation should be used?
    (To me it seemes to be logical, to use the latency calculated by b ), as that is the method which reflects the real circumstances. But I'm not shure and it's very hard to tell by what I hear.)

    2) Fading/Cutting recorded samples at start and end

    When the recorded sample contains a phrase which is completly finished before the next 1, doing a fade with [vline~] sounds OK. But when you record a continuous sound (like a string pad) you will always hear that fade of [vline~].
    Compared to Reaper: Cutting a sound and looping it, will result in a continuous sound. To me it seemes like some kind of crossfade between the beginning and the end of the sample is done.

    Does someone know more about this? How should it be done correctly?

    Crossfading seemes to be a quite difficult task in my eyes, as a lot of calculation has to be done. (Recording has to start a bit earlier and to stop later, sync has to start earlier, and so on)

    3) Metronom settings

    This loop station depends on a metronom and works similar to Ableton Live. As pd uses blocks of 64 samples, the tempo is corrected to a tempo which corresponds to an array with a size multiple of 64. So playing can easily be kept in sync.

    I'm not shure about this. Is it a good idea to do it like this?
    But changing this to a manner, where the tempo might be chosen freely, will result in much more complicated calculations. Is it worth it?

    Thanks for any comments in advance,
    Xaver

    My patch is still in development and can be found here:
    https://github.com/XRoemer/puredata/tree/master/loop-machine
    (downloading from github: go up one folder and use the download/clone button
    https://github.com/XRoemer/puredata/tree/master)

    loop-machine2.zip

    posted in technical issues read more
  • xgr

    I connected the output of my soundcard to it's input, and it makes a great difference.
    Via microphone I get a latency of 533 samples (12.08 msec), via cable 440 samples (9.97 msec)

    My Soundcard is set to 64 samples, pd delay to 5 msec. Smaller delays on pd have no influence.

    My soundcard has the option to set the latency to 48 samples. Doing that, the measured latency increases. I tried a [block~ 48], but that didn't change anything.
    Isn't it possible to set the latency of the soundcard to smaller values than 64 samples?

    posted in technical issues read more
  • xgr

    Thanks for reply.

    OK, just to be shure:
    Do you mean, I should plug the cable from the output of my soundcard directly to the input?

    Xaver

    posted in technical issues read more
  • xgr

    Hi,

    beeing busy with a live looping mechanism, I need a patch to measure the latency of my system.
    I've found the roundtrip latency tester: http://www.pdpatchrepo.info/patches/patch/92

    It works well under two conditions:

    1. A microphone is plugged in and placed directly in front of the speakers.
    2. There is no loud noise in the background.

    Both conditions might be problematic in live situations, especially the second.

    My question is, if there's any other possibility to measure the latency?

    posted in technical issues read more
  • xgr

    Thanks,
    Xaver

    posted in technical issues read more
  • xgr

    Your patch works. It changes the fill color to blue and the outline color to orange. The fill color is used with setting the view of the array to bar graph, which is an extra option in Purr Data. To get this extra option your radio button needs 8 buttons instead of 6.

    By the way: I didn't know colors can be changed by name. Is there an overview which names might be used?

    Xaver

    posted in technical issues read more
  • xgr

    In Purr Data arraydialog needs 8 arguments. For example this would work:
    [; array1 arraydialog array1 100 $1 0 5 5 5 5 (

    Does anybody know what the 4 extra arguments are used for?

    Here is the source code, but I couldn't figure it out:
    https://git.purrdata.net/jwilkes/purr-data/blob/master/pd/src/g_array.c
    lines 595 - 791

    posted in technical issues read more
  • xgr

    Thanks a lot,
    Xaver

    posted in technical issues read more
  • xgr

    Hi,

    I'm searching for a message, which can be send to an array, to change it's appearance from bezier curve to bar graph and vice versa.
    Does such message exist?

    And in general:
    Is it possible to find out, which messages are exepted by an object? I've been looking through the source code of pd, but couldn't find the right part.

    Thank for help,
    Xaver

    posted in technical issues read more
  • xgr

    @jancsika 2.1.2 works and lets me delete the knobs without crashing. (Tested on win10)

    (When I correct the path in knopf2.pd from [room_sim_2d ... ] to [iemgui/room_sim_2d ... ] it still doesn't show any knobs. I don't know, if it's because of my code or if there is another error with iemgui. I don't care as I changed the knobs to mknobs anyway, which is an easier and cleaner solution)

    I discovered another error while trying 2.1.2.:
    Unlike pd, Purr Data opens .pd files in the same instance of Purr Data ( is that intendet?). Opening a .pd file by double click doesn't work, when an instance of Purr Data is running and the path to the .pd file contains a german Umlaut ( ü ). Output in console is: error: <filename> : read failed

    posted in news read more
  • xgr

    The last version of pyext is from 2012, but it is stable and works fine with vanilla 0.47-1.

    [pd~] doesn't work on both of my windows machines, win7 and win10. I use the Purr Data version for win 64 you linked on the top of this thread

    pd.PNG

    posted in news read more
  • xgr

    After using Purr Data for a couple of days now, I really appreciate it!
    E.g. I don't want to miss scaling the surface anymore.

    But I still have some questions:

    • Is it possible to use pyext in a reliable manner?
    • What about [pd~]? I really need that. Will it work in future?

    Regards,
    Xaver

    posted in news read more
  • xgr

    I'm on win7 64bit. Downloaded Purr Data today.

    I uploaded one patch which has an error. Because of my settings it adresses iemgui directly, so it isn't found in Purr Data.
    The console told me room_sim_2d .... couldn't create.

    When I go into that patch and try to delete the knobs, I get a crash. I have to close the nw.exes in the task manager of win7. The running pd process can't be killed at all.

    You'll find the patch here (download the folder "crash" and start it from crash/test/test.pd
    https://github.com/XRoemer/puredata

    I got other crashes with a python programm of mine, which I started via pyext. But I'm not shure if pyext should be used with Purr Data, as I installed it manually.

    Best,
    Xaver

    posted in news read more
  • xgr

    Hi,

    first of all: Thanks for your great effort! Purr Data's handling is very nice.

    I played around with it today and tested some of my patches. Purr Data crashed every once in a while. I can't say, where exactly it happens. Is there a log file? I would send it to you.

    And is there a feature list? Would be nice to see what exactly is shipped with Purr Data and where it has extra features. Also which parts of Pd-l2ork are integrated.

    Regards,
    Xaver

    posted in news read more
Internal error.

Oops! Looks like something went wrong!