WSAStartup failure prevents pd patch from running headless on Windows 10
@sleepwonder
When pd.exe is run with -nogui it calls the substring pd.dll and pd.dll deals with WSAstartup.
-nogui just stops wish.exe being started.
So I see no reason for this problem......yet.
David.
MIDI Delay with weird fix (has now become an ASIO issue)
@ahorner Hmm..... playing around with settings I just had to use my own fix (the first one)....... embarrassing!
Interesting problem.
I use Pd a lot, with the MIMO drivers because I am just messing about building something or trying to help others.
When I am running a show I always start Pd with a batch file........ similar to the asio.bat that I sent to you. It sets all the settings and opens the master patch.
I do that so that I am absolutely certain that any changes I might have made in between shows will be ignored........ and I don't save the audio settings because I don't need to.
So when I get home and start Pd again I have MIMO drivers back again.
I had a look...... and I can reproduce your problem.
I notice that Pd.com stays running in the background.
Go to the folder pd/bin and open pd.exe..... then close Pd
It should now be fixed even though pd.com will always be opened by the patch (windows remembers).
It could be I should have used pd.exe and not pd.com in my fix file.
It will be hard to know without a fresh install.
David.
MobMuPlat OSC-to-MIDI Remote Control, spec. for PD, Guitarix, and Rakarrack and other guitar effects apps
It's always funny to me how working on one PD project results in fruit that might also prove useful.
Currently, working on a broader project, but this part (at least) (I think) is ready for distribution.
Background: I Really hate leaving the side of my guitar (for example to click a mouse or tweak a setting) when I am playing. So designed this mmp app so that I can attach (with funtack, ex.) my handheld to my guitar and control my settings from there or perhaps even as I play. Like so:
[Aside: the broader project also includes (on the front-side of the app) controls driven by the handheld's tilt, as well as, the adc~ pitch, env~, and distance of the pitch from a "center". But that part has to wait (though the code is all inside the mmp_osc2midi_rc.pd patch just disconnected/does not use the cpu).]
SETUP (linux is what I know, so other OSes may work just can't/haven't tested them):
JACK
Pure Data
a2jmidid - JACK MIDI daemon for ALSA MIDI (in the Ubuntu at least repos)
guitarix a/o rakarrack, or other midi-driven effects apps (such as the included set of 30 pd effects(see below))
PIECES:
The mmp_osc2midi_rc.zip (extract(android)/install(ios) to MobMuPlat directory)
The osc2midi_bridge.zip (to be run on the "pd receiver") and includes the osc2midi_bridge.pd, help file, and a set of 30 mmp-ready-(mono) effects (in the ./effs directory) that can be used if PD is to be used as the receiver. (They are standardized to include 3 inlets: left=inlet~, center=[0 $1(, [1 $1(, [2 $1( messages sent to 3 parameters on the effect, and right=[switch~] and 1 outlet~ and a demo guitarix "bank" file called "MIDITEST.gx" (which includes 2 presets/programs and set midi values (0-8) to test. Just add the file to the guitarix config "banks" folder).
Instructions:
- Start Jack;
- In Pure Data, open the osc2midi_bridge-help.pd file; toggle "listen" on; and set MEDIA to "ALSA-MIDI" (the additional pieces are just examples of receiving the midi values);
- In Jack>ALSA: Connect Read:MIDI to Write:PD & Read:PD to Write:Midi;
- From the command line execute "a2j_control start" (no quotes);
- Start (ex.) guitarix;
- In Jack>Midi connect a2j:Pure Data(capture) to (ex) gx_head_amp:midi_in_1.
Note/Alert/etc. For a machine to receive OSC messages the recipient-computer's firewall must (I believe) be turned off.
GUI:
The GUI has 3 pages that look (basically) as follows (with the subsequent 2 pages having only the 3 knobs and 3 buttons).
The buttons trigger text entry boxes which allow you to enter numbers (0-127) representing:
PGM: the number sent to (midi) [pgm]
and
(the buttons beside the knobs) the midi value, i.e [ctrl] (0-127), each knob is to be sent to (all on channel=0). (The resulting number of which are all written to the label to the left.)
For example:
Results in:
You can now to do 1 of 2 things:
Set the mmp-knobs to whatever midi values you have set in guitarix
or
Set the guitarix midi values (mousewheel click on a control) to one of the mmp preset 0-8 midi values.
WOW!!!
That took a helluva a lot of writing (and reading) but I hope you can both see the value and make use of this bit of technology.
As I said before,
I look forward to being able to fine tune my sound ALL while my hands and I are BOTH still at my guitar and not bend over, move, etc. etc. etc. to get the sound I want.
Peace, Love, and Ever-Lasting Good Cheer.
If you made it this far , Thanks for Listening.
Sincerely and Optimistically,
Scott
p.s. ask whatever you want regarding setup, how to use, points-of-clarification, etc. I am more than happy to help.
"Out of Love comes Joy"
Purr Data finally released
@jancsika I have just upgraded to 2.2.3 win 10 but had a major problem where pd.exe and unins000.dat and unins000.exe were not replaced (install error: could not replace existing file,,,,) and of course the program would not run (pd,exe not found) and no admin powershell or command prompt would allow access to delete.
I reverted to shift restart (safe mode) and command prompt to finally delete the files and complete the install.
I updated because I thought it may have fixed my current problem of $0 in struct names and scalar names not allowing messages to change colours etc. I think you have already addressed this before, but I couldn't find the post. I will move to Purr Data when I can produce a usable $0 abstraction, but so far it has eluded me. Am I doing something wrong?
Cyclone library stopped suddenly loading (PD Vanilla/Windows 10)
@ilpoj a possible workaround could be to create a link to pd.exe, open properties and change link target "pd.exe" to "pd.exe -path c://.../extra/cyclone". Not the solution, but might work...
Audio Ideas (AI) Collection (placeholder, currently only links)-effects, controllers, mmp, etc.
Audio Ideas (AI) Collection (placeholder) currently only links
per @LiamG 's kind suggestion I have begun the process of consolidating my abs and patches, etc. into a single location/zip file or for possible upload to github.
Just to get the ball/me rolling and scope the work I got the links for my shares into a single location to later be consolidated into the single AI Collection.
For now at least, please, bare with me (and the links below) as ideas I am more passionate about currently are demanding my attention. (Which funnily enough will probably also be included in the set, where ever they are shared.)
Thanks, for your patience and all you do for the Pure Data Family.
Sincerely,
Scott
abstract~
pushdelay-envelope-env-driven-delay-line-with-both-delay-time-and-feedback-dependent
numpad-abstraction-for-entry-of-large-numbers-via-click-instead-of-sliders-includes-basic-calculator
abs_delay_fbw-feedbackwards-lifo-last-in-first-out-delay
abs_sequences_by_formula-sequences-by-formula-abstraction-ex-collatz
abs_effects_router-60-effects-in-one-abstraction-router-from-diy2-stamp-album-my-abs
visualcontrolsurface-vsl-values-set-by-their-location-on-the-screen-req-ggee-shell
abs_4-8-14_way_toggle-pair-2-toggles-resulting-in-4-8-or-14-states
audioflow-delay-to-forward-backward-looper-using-speed-control
5-band-equalizer-with-bezier-controller-eq5_mey_w_bezier_sv-pd-updated-to-8-band-below
forward-backward-looper-orig-abs-from-residuum-whale-av
abs_rgb2hex-rgb-0-255-colors-to-hexadecimal-values
pseudo-12-string-effect-6-string-guitar-to-sound-like-a-12-string
jack_midi2pd_2sys_connector_sv-jack-midi_out-to-pd-sys_playback-switcher
abs_4to16pads_bin_conv_sv-convert-4-midi-pads-from-a-binary-value-to-a-decimal-for-rerouting
abs_automatedslider_sv-automated-control-changer-pd-and-mobmuplat-editor-versions
idea-for-effects-stack-ing-technique-control-mother
micin-_abs-abstraction-convert-signal-to-notein-ex-using-a-midi-synth-as-a-guitar-pedal
curve_abs-tri-way-curve-switch-to-change-control-values-in-either-linearly-convex-or-concave-manner
a-preset-control-abstraction-for-saving-parameters-presets-to-text-files
4-tap-delay-with-pitch-shifter-per-delay-line-adaptation-of-diy2-patches
patch~
extra
the-15-owl-faust-patches-compiled-as-32bit-linux-externals-attached
libpd
mmponboardeditortemplate-mmp-for-creation-of-mobmuplat-files-directly-on-the-handheld-android-only
3d-synth-webpd-tree-js-webgl_camera_cinematic-html-example
Off topic
Drawing objects simplified
@jancsika said:
@Balwyn said:
@jancsika I am impressed and interested, but I'm unable to have Purr Data and Pd-extended both set up on windows 10. I had to reinstall Pd-extended the last time I tried Purr Data
Well that's not good at all!
Question: what exactly happened to Pd-extended when you installed Purr Data? What broke?
Also, what version of Purr Data was it?
FYI-- I just tried with Beta 3 and it seems to work ok with Pd-extended 0.43.4. It does overwrite pdsend.exe, pdreceive.exe, cyclist.exe, and a handful of versioned libs which is a pain. I can probably get around the first three by just not shipping them. Nevertheless it doesn't seem to break anything
Little help please: building my own compressor (updated below...)
@whale-av
Thank you, so much, David, for the quick and informative response. Glad to hear I am on the right track. Just wrote the following update. So will go ahead and include it here.
::
Couldn't sleep: "dreaming in pure data" yet again!
But DID figure out how to make the noisegate I wanted (see below).
By adding a "basement" (old MS Excel programmer concepts :---) sorry.)) you can/I did:
drop to 0 everything below the basement;
leave alone everything above it and below the floor;
boost what it is above the floor and below the ceiling;
and limit everything above the ceiling.
A VERY cheap and easy way to create the gate.
Notes:
1 It loadbangs everything to 0 so you have to set the values to make it work;
2 Start with the ceiling and work down;
3 All the values are synchronized to the ceiling as percentages of its value, ex. 0.5 floor of a 0.5 ceiling equates to a 0.25 value (so if you change the ceiling all of the other values change accordingly);
4 The "meter" array on the right aligns with the "ramps" array on the left to calibrate the values;
5 The hradio shows in which "pocket" ex. "below basement", "below floor" etc., the current envelope is to better align the values.
TODO:
Look in to how to incorporate the ADSR patch to include those values/attributes which I will look into next. But am pretty darn sure it can just be added on after the fact so speak as another patch after this one to change the tonality of the sound.
Peace. ALL comments more than welcome.
Tally Ho! Happy pd-ing.
-svanya
internals-limiter~-help_sv.pd
internals-limiter~_sv.pd
@whale-av:
Thinking...thinking...:is the soft knee what is happening with the/what I am calling [v compramp] i.e. how fast the ramp occurs?
I do know this is not the traditional way to approach compression. And am hoping to learn more as I look into the ADSR patch to see what it is doing. I think alot of what has made this hard(er) to grasp is the words have various shades of meaning (on the from above side and the below side ex. threshold-"Above it?" or "Below it?") Thanks again. Peace. I really do appreciate all the effort you put into this comment (and the community in general).
abs_4to16pads_bin_conv_sv: convert 4 (midi) pads from a binary value to a decimal (for rerouting)
Background:
Last week I made the (what I now know as "life-altering") commitment to buy (and did) my first usb+midi keyboard controller, a Samson Graphite M25. I have since set up my shop (since given my tools+configuration I could not use the Graphite Preset Editor and because everything works better if you get pd involved :---)) to run the kb into pd then into amsynth via jack, using pd as the midi interface: kb>pd>amsynth>out.
In the process, one thing I did was upgrade the 32 "pre", preset button knobs, to 120, using the ideas included in this abstraction: convert the 4 pads and their binary-ness into decimals, so I can then tell pd to make the knobs, 8x15, instead of 8x4 (the default PRE pad count), see below for clarification...
Requirement(s): Linux and shell external (though I am pretty sure a version using the "until" object is do-able, I did not find one and know the shell waaayyy better than until or even metro.
Synopsis: by pushing on various combinations of pads (could actually be any set of cc(?)'s) the resulting binary number is turned into a decimal which can then be used to re-route or set a different control, ex. PROG.
(from the _help file comments):
Purpose: convert binary values to decimals in order to simplify and expand the rerouting from one control to another, ex. from POLTYTOUCH to PROG.
The left inlet takes a routing/control value,;
ex. note/polytouch control, etc.;
the middle inlet takes the value from that control;
and the right inlet takes a bang to trigger/get/output;
the decimal equivalent.
4pad/trigger to 16 pad/trigger binary-to-decimal converter;
the patch converts the pressing of multiple pads;
to a binary number then to a decimal so that;
for ex. a 4 pad control can send signals from 1-15.
the "shell" external is required;
and the shell script, named:bin2dec_pd, is;
also required. It includes only a single line, echo "$((2#$1))".
FYI: in the polytouch instance, the control is looking for;
127 as a trigger value, so the pads must be pushed Completely down.
I DO believe a metro or until version;
of this is also possible but the shell was more expedient.;
-svanya
Is it possible to execute an .exe from within Puredata
@0123456789_9876543210 Hi, I'm using [system] without exit to load 'Fluidsynth' as it doesn't close the command window anyway.
I've opened the same exe in the screenshot one with 'exit' which opens the exe and then closes the command window and then one without 'exit' which first opens the command window then the exe (this also pauses puredata until the exe is closed. So they wouldn't both be able to open if the one without 'exit was opened first. Weirdly it does however cache the attempts to open and then they open when the command window is closed
'start' and 'exit' are part of the windows command line batch file syntax
https://technet.microsoft.com/en-us/library/bb490890.aspx
Cheers Balwyn