Not receiving messages from TouchOSC
@lovelovevideo In the options in TouchOsc you can tell it to send a ping (it sends every 60 seconds.... I remember....... when ticked). Put a print connected to [dumpOSC] and see if the pings arrive in the Pd terminal window. If no ping then has the tablet/phone connected to the wrong network?....... no not the wrong network if it is seeing your ip....... clutching at straws.........
If you send messages back to TouchOsc does the little red dot flash at top right of the window?
I will try to dig out a patch to test that........
This should make the red dot flash every 2 seconds........
if you put the phone's IP (and TouchOSC port) in the message for [udpsend] and bang it.
Ardour 5.5 and Midi-Off Signals (or the lack thereof)
So, I've built myself a wonderful little wavetable synth which I've hooked into Ardour using Jack. I built it originally as a standalone and so didn't really think to include any syncronisation stuff. However, now that I'm using Ardour as a MIDI playback device, I'm finding that my patch doesn't receive a MIDI-off when I stop playback. I've since added a little panic button, but it would really be preferable to not have to switch to the patch every time I hit stop. I'm at a bit of a loss as to where to start, so I'm wondering if anyone has any experience with this or similar issues regarding pd-Ardour interaction.
Psychedellic Audioguide using MobMuPlat or PdParty
Recording to RAM has an upper limit on how large of a buffer you can allocate (I don't recall what the limit is), whereas recording to disk is contrainted only by available disk space. Recording to disk should not interrupt audio unless you are simultaneously reading/writing a lot to/from disk (or otherwise overworking the audio thread).
Not really. At the moment, PdParty has, in addition to pd vanilla, the externals at https://github.com/danomatika/PdParty. MobMuPlat only has the built-in vanilla externals (fiddle~, etc). There's no way to "drop in" new external objects (because iOS does not allow dynamic loading).
LANdini, Ping & Connect, (and, to my knowledge, Abelton link), and merely sending out a ping to other devices over multicast, all require a local network, meaning you'd have to carry around a router and have people connect to that. Otherwise, if over cell data (3G, etc), you'd have to program (in native app code) some sort of shared time (e.g. using NTP, network time protocol, which in my experience works well and will give you sub-second precision across multiple devices set to go off at the same time)
Pd vanilla only for both PdParty and MobMuPlat
There's a working example on www.mobmuplat.com, go to "rough doc" link.
MIDI Controller experiences/suggestions
@lovelovevideo Can your tablet access anything else (files etc.) on the laptop?
There are some "ping" apps for android.... Can the tablet ping the laptop and vice versa?
I just tried between my laptop and phone and it worked straight away (win7)........ I know...... that doesn't help.
The default gateway is the base address of the router that is connected to the internet...... and you don't need the internet.
What are the ip addresses of the laptop and the tablet?
How can I make the audio stop playing by press of a button?
@cdd101 [readsf~] just plays the file from disk from the start to the end........ but you can "pause" it using [switch~] like this............
Open up (right-click open) the control panel and see what the "pause/resume" (pink) button does......
The [line~] object stops the clicks that are caused by [switch~] when the audio processing is turned on and off....
You will need to use the same toggle to start and stop your [metro] (at the same time).
If you really want to just "stop" the track then see the (purple) "stop" button, and connect that to your metro as well........ sending a [0( (zero) to your number box at the output of your [metro] at the same time.........
If you have another problem to solve then upload your patch to the forum, because then it is easier to correct!.......
Pink as RRGGBB / Hex / 0xCC99CC
Pink as RRGGBB / Integer / 13408716
Magic is (-1 -color) so in that case -1 -13408716 equals -13408717.
Pink color is -13408717.
Note that positive number corresponds to indexed colors.
Note that only the 6 MSB of each RGB component are saved.
Don't ask me why. I have no idea.
Notice that it is not really pink, it is rather violet.
.Xressources and PD
@ponnuki I knew I had seen it somewhere.......
If you want to change the gui permanently it will probably (definitely) be easiest to edit the tcl..... (for you only...... not if you share a patch)..........
You already have the pd-gui.tcl file in extended and just need to edit lines 228 - 244..........
You will have to force the re-write of the file..............
In vanilla 0.46 the colour controls seem to have been distributed to other tcl files that are called. You will need to do a "text search inside files" to find them and edit them. In the tcl demo folder there are some "theme" files that seem to be part of the new way of doing this......
But you might be able to copy/paste the lines from extended into the vanilla version of pd-gui.tcl. Make a backup first. I don't know whether the set commands will be interpreted as you wish or even "at all".........
In fact, you can change a lot more than just the colors in the tcl folder so.......... be careful out there!........
udpsend and receive
@toddak Hello Toddak.......
I will post this here first. Error 51 is (for a mac).........
"51 ENETUNREACH Network is unreachable. A socket operation was attempted to an unreachable network."
So I will try to get the same error in my OSX partition, but it might take a while!.
Googling that error brings up a lot of chat about VPN's...........? are you running one on your home-to-work network?
Are you using "udp" for "netsend" (the -u -b switches I think)?
Do you get the message if you open just Pd........ before you open a patch?
Are you sure you are connected? Check by "pinging" a Pi? Check by pinging the router?
If you link (with a network cable) the "wan" (single rj45 socket) of the Linksys to your home network does that fix the problem.
Has the mac the correct information in the "prefs" netwok page..... Ip, subnet. Gateway that match the router info?
I will email you now so that you can send me as much as you have already found out........, and when I get a chance I will email you a zip of some screenshots of "good" router setup pages for your project....
udpsend and receive
@toddak Ok....... I just booted in to osx for a moment to check that I can see my Pi from there. It didn't pop up straight away but I could ping it and then it showed up in finder/go/ smb//:
(because I have a samba share/nas running on it).
So the 10.1.1.8 address would be fine, but if you can fix it then maybe make it 10.1.1.101 (for later) and the others 102, 103, 104........... easy to remember!
The 10.50.50.x is a different subnet and your router will think it is somewhere that it can't talk to.....
So leave it as 10.1.1.8 for now and try to ping it from terminal..........
In Utilities / terminal on your mac..
and you should see numbers coming in for how long the pi takes to respond?
Run............. sudo chmod 4755 /usr/bin/pd-extended ............again in case it is a permissions thing...
BUT its not extended is it......... you will have to google that!
Reboot it maybe ( sudo reboot will do that "softly"...... better than unplugging)...
sorry, off to bed now.