• whale-av

    @svanya Yes, that's the way to do it..... but add the [switch~] before/after if you want/need to save some cpu.....
    David.

    posted in technical issues read more
  • whale-av

    @svanya Of course...... with 2 [line~].....
    0 to [line~] to [x~] and when done to [switch~] .......... for going down.
    1 to [switch~] and then to [line~] to [x~] for coming up.
    Times of your choosing...

    David.

    posted in technical issues read more
  • whale-av

    @weightless You can feed the output of [delread~] back to the input of [delwrite~] when you hit freeze (cutting the "live" signal at the same time)..
    You can have another [delwrite~] running (or more, in parallel) for when you want to "undo"......
    David.

    posted in technical issues read more
  • whale-av

    @weightless Isn't that what [delwrite~] allows......?
    Using [delread~] you can hook in where you wish.....

    Using a table you would need to re-write the table for every sample. I think that would be a problem.
    Maybe you could write to a table from [delread~] when you hit "freeze"......?
    David.

    posted in technical issues read more
  • whale-av

    @Johnny-Mauser Hello...... I seems not to exist in windows. Is the spelling correct?
    What does it do? Did it come from some external library (outside of Gem)?

    Oh..... I see...... I think you will need this one......... https://github.com/kronihias/pix_openni

    David.

    posted in pixel# read more
  • whale-av

    @johnwbyrd I have never looked at the source code, but I run a live performance with Pd....... 30 input channels, 8 out..... with live mixing and using [readsf~] for up to 15 minute backing tracks, and I have never had Pd hang even momentarily.
    I use extended for that although I doubt the [readsf~] implementation is different.
    However, I use windows7....... and is it possible that Pd and the OS treat disk access slightly differently on other systems? I doubt that.

    [readsf~] requires an "open" and a "start"...... so it is not forward looking as it might be in an audio editor. However if you program the "open" in advance.... or even at load, then the start is instantaneous (in ram) and you can emulate an instant player.
    If Pd is stumbling during playback..... look elsewhere for the problem....... not in [readsf~]......

    A multi-GHz processor with rapid disc access should not have problems with audio or Pd...... they use a paltry fraction of the resources available.

    Yes..... Pd prioritises audio..... like all programs that use audio.... over video, screen drawing...... everything. So if your patch is struggling in any way you could see the Pd gui stumble.
    Check thoroughly your audio and latency settings.... any mismatch with the capabilities of the soundcard could cause what you are seeing.
    More here about setting up your computer for audio......... https://forum.pdpatchrepo.info/topic/10125/audio-and-video-why-do-i-have-problems ..... with a link to a good read for problem solving!
    You often just need to tell your OS to do as instructed......"and I mean it!"........... Otherwise it prefers to go and peruse it's Facebook page for likes!

    Maybe, otherwise, use FL studio or something similar.
    Programs written specifically for audio application will have been written in assembly language and be more appropriate for your purposes.
    Communication with Pd is usually facilitated through at least midi or OSC messaging.
    David.

    posted in technical issues read more
  • whale-av

    @Fauveboy Well that is good news...... having twisted my head right off my neck I thought this might work...... twisted.zip
    but as you have it solved...... well done!

    A Eureka moment in all that?

    Yes....... abstraction = sub-routine (in 1970's speak).......

    David.

    posted in tutorials read more
  • whale-av

    @Fauveboy Yes, $0 unique within the abstraction..... and within the parent.

    If you have made an abstraction [abstr 1 2 3 $0] then actually the $0 value from the parent will be given to any $4 in the abstraction (its the 4th argument)
    In the abstraction you would have ...... $1=1 $2=2 $3=3 $4=1001 $0=1002 (for example).
    So in the parent $0=1001 = $4 in the abstraction.

    Can you zip the whole patch again and post....... it is easier to unwrap then copy/paste/save/rename all the patches separately......
    and I cannot find your $0-table........ in the 3 patches you have posted.

    The reason for the error in the table is that the $0 in the message [read -resize.........] is not $0 as an argument because it is in a message.
    You need to pump the value into the message....

    I am sort of hoping this will be your Eureka! moment, now that you have learnt so much.......

    David.

    Capture.JPG

    posted in tutorials read more
  • whale-av

    @pooopsi [s karao] is hiding in [recorders].
    I will chew on your project when I get a moment.
    David.

    posted in technical issues read more
  • whale-av

    @pooopsi Ok..... that didn't take too long, and tidying up allowed me to find what was throwing the terminal errors.
    Once you understand [playbk] and [recorders] you will find this much easier to work with.... and maybe see straight away where any other errors might be.
    They work in the same way as [timer_set]. Look in [pd audio] for the change.....!!
    If you want to change anything in a recorder or playback abstraction then it will be much easier....... just change what is inside one of them and save it..... they will all change when you restart the main patch.

    I have not put intro /outro as playback abstractions as they did not send to karao....... maybe an error, maybe not....
    lost2.zip
    Stop/start/reset a little improved..... lost4.zip

    David.

    posted in technical issues read more
  • whale-av

    @pooopsi Just addressing the questions that I can reply to without delving deep into the patch........
    Anything can be put into a sub-patch without problems..... it is just like having windows between rooms, all in the same house. Abstractions are like having a stock of jam jars in the larder, but the arguments are labels that say....... this one is raspberry flavour....... etc.
    Yes you could make [timer_set] a sub-patch instead of an abstraction, but you cannot use arguments in that case. You would have to replace the $1 and $2 in every copy of the sub-patch with the current arguments for the abstraction...... a bad idea I think..... it's a backward move.

    Yes, I think you could leave out all the libraries that you don't need..... and the doc folder.
    Pd (in windows) does not need to be installed.... it can be portable...... maybe other OS's too but I don't know.
    It is possible to lock patches as well...... they still work but cannot be "clicked".

    You will need to learn about OSC messaging, or [netsend] and [netreceive]......... and [netsend~] and [netreceive~] for passing messages and audio between people. A bit of network understanding would help too..... wifi... security.... all of that.
    David.

    posted in technical issues read more
  • whale-av

    @pooopsi Well done! I have tidied it up a bit...... and might do more and post again when I have time.... and also look at the errors in the terminal.
    I hope everything is still there.
    Look inside [pd audio] [pd graphics] etc for the bits that look like they are missing. I just could not find my way around with such a big page on my laptop.
    Some of your notes might be in the wrong place or in the wrong sub-patch though.

    It is time for you to learn about abstractions....... and using [throw~] and [catch~] to clean up the audio part..... again, I might start that for you.

    For Mobuplat it will have to be vanilla Pd....... usually possible to change quite easily..... I will look at that later as well.

    To have only part of the patch visible, and also hide the connections you use the GOP........ graph on parent.
    I have already done that for your parent patch. I have put everything in a sub-patch........[pd lostgeneration] and then right-clicked it and set the red window (graph area) that will be shown on the parent. Anything you put in the red box will appear on the window above [LostGeneration] patch window........
    The size and position of the box can be adjusted (right-click patch window... properties).
    lost.zip

    David.

    posted in technical issues read more
  • whale-av

    @Fauveboy You can have more than one argument...... try $1 1.... $1 2 etc. and use the second argument ($2 inside the patch) to differentiate....
    It looks like you are starting to get the hang of it........ let the fun commence!
    David.

    posted in tutorials read more
  • whale-av

    @Fauveboy Horribly tired and unable to follow....... so I might be wide of the mark. Playing audio in abstractions is complicated by needing to get $ variables into a message.
    I made this a while ago and it might give some insight/understanding into/of what is not working.....
    But it might not...... you might already be beyond this stage.........keyboard.zip
    And it might not expose the problem at all.......
    David.

    posted in tutorials read more
  • whale-av

    @johnwbyrd [readsf~] is still implemented in 047.1 and has been since before 0.37....... but maybe only for windows?....

    Your second two requests do not exist I think...... or at least not based on a disc streaming player.
    Now with ssd affordable I suppose it could be used, but for sequencing many samples, and maybe manipulating them as well, ram is still probably more sensible.

    I suppose you could write out the mono tracks (up to 64) using [writesf~] to be sure of the sync? but that's probably not useful.
    David.

    posted in technical issues read more
  • whale-av

    @maddynakedymaddy If those directories exist (and they probably do) then it must be a permissions problem. You will have to use Goggle (windows unable to write to program folder) to know, and to find a way around the problem.
    David.

    posted in technical issues read more
  • whale-av

    https://puredata.info/community/pdwiki/PdInternalMessages
    and my bible for dynamic patching
    https://puredata.info/docs/developer/PdFileFormat
    some more stuff (some only windows or extended).... stuff.zip
    David.

    posted in technical issues read more
  • whale-av

    @Fauveboy I have started but I don't have time to finish (flight to Prague waiting).......
    Yes, you can have just one gridSampler. It is about the most important thing to learn as you advance with Pd.

    like this.zip

    I have changed the table name and some of the send/receive objects so you can see the principle.
    Change every send, receive, send~, receive~, throw~, catch~ .......
    Add a $1 to their names and they become unique in every copy of the abstraction [gridSampler X]

    so change (for example) [r phasea] to [r $1-phasea]

    If you are sending or receiving information from outside the abstraction use the value of $1...... the argument of the [gridSampler] you want to communicate with.
    So to send to [gridSampler 1] use [s 1-phasea]........ to send to [gridSampler 2] use [s 2-phasea]

    Inside the abstraction $........ outside it's value....... its value in its name too (it is outside)..... see example above...
    Every $ (in an object... not in a message) will be given the value (become that value) when the abstraction is created.

    David.

    posted in technical issues read more
  • whale-av

    @Fauveboy Using abstractions...... you were nearly there (and did not upload the abstraction [GridSampler])
    like this.zip
    See here for more help.......https://forum.pdpatchrepo.info/topic/9774/pure-data-noob/4
    David.

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!