-
ddw_music
@lacuna said:
I am highly interested in how to sync or interface Reaper or other DAW with PD control rate sample-accurately intra-blocks.
The second part of this video is about my approach to that.
hjh
-
ddw_music
@ddw_music said:
FWIW I'm planning to upgrade Ubuntu Studio over the weekend, after which I would be fully on Pipewire. I will try Bluetooth with that. I don't have high expectations, but let's see.
Finally did that upgrade (Ubuntu Studio 24.04): Pipewire could automatically switch between built-in audio, USB soundcard, and Bluetooth earpieces, and SC server (JACK app) could route audio to the Bluetooth earpieces without an apparent glitch (though I didn't try to push the CPU, so I don't know where the limit is).
So I'd say, if @bobfred needs JACK-ish behavior with a BT headset, Pipewire is very likely to be a good way to go.
hjh
-
ddw_music
@oid said:
@ddw_music I'm guessing this had SuperCollider in the mix so you had to use jack?
Yes.
With pd you could do it all with alsa...
Sure. The question was, how to get the Bluetooth headphones to show up in JACK, and the answer was about why that isn't a good idea.
FWIW I'm planning to upgrade Ubuntu Studio over the weekend, after which I would be fully on Pipewire. I will try Bluetooth with that. I don't have high expectations, but let's see.
hjh
-
ddw_music
@bobfred said:
How can I view a bluetooth output in jack so I can send these outputs independently to seperate devices?
JACK cannot do this. Period. JACK's timing requirements are far too strict for BT. Period.
(For sake of completeness: Some years ago, I tried to hack it using bluez-alsa and I did actually get JACK piping into Bluetooth earpieces for a short time, with a ridiculous buffer size of 8192 samples x 2 periods, like a quarter-second latency But then JACK would always hang within 15 minutes, and it was impossible to restart the JACK server without rebooting the whole system. So I found that this was not an especially joyful way to work and I gave it up.)
Pipewire might be able to do this.
hjh
-
ddw_music
@blindingSlow said:
- What I'm curious about is if there's any other Pd flavour (or plugin) that will offer the same as Plugdata
To my knowledge, the tcl/tk "standard" pd interface doesn't and probably will never do that. Pdnext is an offshoot of the tcl/tk interface and only adds bezier-curved cables but not the ability to segment them.
Purr Data might have this, but I don't know.
I'm not aware of any pd front-end interfaces other than the tcl/tk one, Purr Data and PlugData.
hjh
-
ddw_music
@SCFan32 said:
is there some ressource to search for specific functions like in the help browser of SuperCollider?
Also consider plugdata. The GUI is more modern (Max-inspired). Object boxes perform an autocompletion search while you're typing. In your case, you'd have typed "osc" and oscformat would have been in the list.
At one point, I tried an autocomplete tcl plugin for pd, but it didn't work for me.
hjh
-
ddw_music
@seb-harmonik.ar said:
@ddw_music I'm pretty sure there's an option to display all of the searched paths that get failed trying to load a certain class, if you run pd at higher verbosity. It will be like "tried xxx and failed" or something.
I tried log level 4 (maximum) and I don't see any such messages.
hjh
-
ddw_music
@oid said:
Might want to check the pd github, there is at least one pd killing bug when using Pipewire's Jack, saw it yesterday but did not look into it since I have also let updating my system slide and don't feel like updating quite yet.
The only bug report I see is that it fails when you toggle "use callbacks" -- so it looks like the old joke, "'Doc, it hurts when I move my arm like that!' -- so don't move your arm like that."
Btw I use both Pd-next and plugdata -- I'm not at all a fan of the Tcl/Tk interface, though, so I tend to reach for plugdata first. But if I'm making an abstraction that I know people will use in vanilla, then it makes more sense to build it in vanilla so that it looks nicer in that environment.
hjh
-
ddw_music
@whale-av said:
@ddw_music A lot of complaints of the same with externals lately.... always on a recent Mac.
What is this students machine /OS?It is mac, not sure the version.
You could try putting one of the abstractions in the Pd/bin folder. If it is then not found it must be an os security problem?
I guess I'd have assumed that macOS would treat a text file (.pd) as "just data" and not as an executable that could be quarantined. Also, I tested with a cyclone binary external (play~) and no problem, but the pure-vanilla abstraction failed.
Are there any additional log messages about objects that couldn't be created? "... couldn't create" isn't enough information to troubleshoot this problem. Is it because the file wasn't found? Or was there something wrong in the file? Or permissions...? I can only guess.
hjh
-
ddw_music
Copied hjh-abs/ into a student's Documents/pd/Externals folder.
Added Documents/pd/Externals/hjh-abs to the paths.
None of the abstractions in that folder are available ("couldn't create").
cyclone is also installed and in the path -- and there's no problem.
So how should we fix this? I never had this problem with my abstraction folder before.
hjh