• oid

    @me-andmymonkey Here it is with array just for completions sake and you can decompose audio with it so why not. Too keep the last 5 elements just drop in a [sel 5] after the first [array size], left outlet would stop the next iteration and maybe load the next set of number, right outlet would feed [array size]
    aurn.pd
    Untitled.png

    posted in technical issues read more
  • oid

    @lacuna I think you would have to compile pd with double precision. Fairly simple to do and a search should answer all your questions if you are not much for building from source, but it apparently still has some bugs.

    posted in technical issues read more
  • oid

    @PLDS This will work for lists of any length, but I did not bother taking in account leading zeros, but there are a few ways to deal with that if need be.
    Untitled.png

    posted in technical issues read more
  • oid

    @ddw_music array In the abstraction and dump the contents to [savestate].

    posted in technical issues read more
  • oid

    @atk90x @Tilman You can also you message arguments to combine numbers
    Untitled.png

    Edit: Should mention that this can create a great number of symbols quickly, which can fill up the hash table and slow down pd. In cases like OP it is not much of an issue, just a few symbols are being created and it will have no real negative impact on speed, but in some situations you could quickly create thousands of unique symbols and this will slow things down.

    posted in technical issues read more
  • oid

    @Tombot7 It likely is the same between OSX and most linux distros, I would expect this is a raspbian thing and possibly a bug.

    posted in technical issues read more
  • oid

    In linux you can just use [ggee/shell] to run iwconfig, it provides all the needed data. I would probably use a bash script to run iwconfig and parse the output so pd only get the data it needs, easier than parsing it in pd. iwconfig is often not in the users path, depends on the distro, and needs to be run as root, but that can fixed with permissions or just copying iwconfig into the users path.

    edit: iw [interface name] link might be a better command, easier to parse output than iwconfig. But iwconfig can still be useful for finding out the interface name if you do not know it.

    posted in technical issues read more
  • oid

    @bocanegra I think you might be confused as too what Bela is? While they do make modular front panels for their product it is just a begalbone with a custom linux tuned to our needs, a very good sound card, some easy to access (software side) digital and analog I/0 for easy interfacing with anything you want. If you already know this then I am confused as to why you are bringing up voltage control and am just guessing.

    As too midi, from what I understand, Bela is already setup for USB midi but not old fashioned DIN and 1/8" MIDI. It would be fairly simple to implement old fashioned MIDI using the GPIO on either a Bela or rpi, should even be able to do it from within pd if you really wanted to, not that you should.

    posted in I/O hardware diyread more
  • oid

    @Herr-Rausch I would look into bela instead of a pi for this, it will be less of a learning curve, has analog inputs so you can have pressure sensitive pads or knobs without much work/hats/external mpus, active community and forum dedicated mostly to audio hardware with pd and will be about the same cost as a pi and the only decent soundcard for the pi. You can do it with a pi if you want to and some more knowledgeable folks will show up to detail that path. There is also a dedicated hardware platform for audio with a pd like interface for programming whose name is escaping me at the moment, that might be worth looking into, perhaps someone here knows it.

    posted in I/O hardware diyread more
  • oid

    @merzbow Installing JACK will allow you to route the audio to a DAW or any program which can communicate with JACK. In the days before jack I just plugged my headphone out into the the mic input on my computer and hit record in what ever program I was using for audio editing. For your issues with writesf, upload your patch, hard to say what you are doing wrong without seeing what you are actually doing.

    https://jackaudio.org/

    posted in technical issues read more
  • oid

    @nuromantix Triangles can be gotten from you saw, just run it through {abs~] and then multiply by 2 and subtract 1 to get levels back to normal. This assumes the saw has an amplitude of -1 to 1 and the saw is reasonably formed, if not a little futzing with the numbers and shifting the waveform should solve the issues.

    posted in technical issues read more
  • oid

    @cfry You can also use [pdcontrol], it allows you to parse the arguments and put them where you want them.
    Untitled.png
    array-set.pd
    This parses the arguments in the same way as the array objects, so you can do [abstraction arrayname f f], [abstraction f f], [abstraction f] or just [abstraction] and it gets everything where it should go without errors caused by a float being were a symbol should be.

    Edit: made it a more complete example

    posted in technical issues read more
  • oid

    @Krischomat Nope, plain old vanilla and documented in the help files. Open up the help file for sliders and explore those subpatches on the right hand side, lots of useful things you can do.

    posted in technical issues read more
  • oid

    @Krischomat Using the range message might make things more intuitive.
    length.pd
    Untitled.png

    posted in technical issues read more
  • oid

    @cfry While you do have to go element by element with lists, you do not need to unpack the list, you can drip it which allows lists of any length.
    Untitled.png
    list-search.pd

    Edit: Fresh eyes revel a flaw, right outlet of [list store] bangs after the list is empty so the counter goes one to many, works for lists which end in zero but not those which end with a one. Suppose the simple fix is to just trigger the [until] with a [list length] instead of relying on [list store] to stop it.

    posted in technical issues read more
  • oid

    @Matt-Stalcup I remember learning that lesson, still have to relearn it on occasion. Gave me a chuckle.

    posted in technical issues read more
  • oid

    If you want it to work across platforms, [midiout] and [midiin} are the most reliable options. I have a collection of vanilla abstractions to make all this easier which I am almost ready to post, these cover sysex, RPN, NRPN, and CC, and dealing with data from controllers which send relative data, but they just went through a massive overhaul because of the new [list store] methods coming out in 0.52 and I will not bother sharing them or even finishing them until 0.52 is finalized. I will probably stick these onto deken since they should be useful to enough people to warrant it, mostly aimed at easing the creation of interfaces between midi controllers and pd or using pd as an intermediary between the controller and other hardware/software but should come in handy anytime one needs to deal with midi.

    posted in tutorials read more
  • oid

    If the pisound is in your price range it may also be worth looking into the Bela products, the Bela-mini would be about the same price as a rpi4+pisound. I have no experience with either, just toyed with the idea some and have researched the options a fair amount. The cheaper rpi soundcards all seem about the same with there being two varieties, the $10 to $20 bare bones type and the ~$50 hifi ones, I can find no good comparisons between them and many seem to use the same ADC to I2C chips, (or was it SPI?) I am skeptical that there is much difference in quality between the two price ranges here but some have a full or near full ground plane on the underside to shield them from the rpi, which would likely decrease noise, but that depends on more than just there being a ground plane though and they could be noisey despite having it. pisound seem to be the best option if you need good audio input as well as output, input options are not the best for the rpi.

    posted in I/O hardware diyread more
  • oid

    @SignalsInNoise Nicely done. I did up your next step for you. From this you should be able to make the entire thing a single abstraction which you start up with x and y as arguments to the abstraction. This will also allow you to add $0 to all you [value]s and the like so you can run multiple copies of your game at once without them interfering. One bug noticed, it seems not to work with unequal x and y values. Learning at least basic dynamic patching is a real time saver.
    dynamic_life.pd

    posted in technical issues read more
  • oid

    So what actually is speedlim in Max, cyclone/speedlim works as on a metro but the ones being posted here use a delay and if delay time elapses without a new message it looses time. Is cyclone/speedlim broken?

    Edit: nevermind, was led astray by the {nbx}s used in the cyclone help files and their output of duplicate numbers, it also follows the delay method.

    posted in technical issues read more
Internal error.

Oops! Looks like something went wrong!