Re: [PD] [PD-announce] Pure Data 0.55-0 test 3 released

2024-06-01 Thread William Brent
I just gave this a shot via "sudo spctl --master-disable" and get the same
behavior.

I also disabled the popup via the Privacy & Security/Full Disk Access
preference pane, but the ~8sec startup time remains.

On Sat, Jun 1, 2024 at 5:56 AM Roman Haefeli  wrote:

> On Sat, 2024-06-01 at 11:33 +0200, Dan Wilcox wrote:
> > To confirm, I also see a slow startup of the GUI with test3 on macOS
> > 14.5 on an M1 Pro. I will take a look at this too...
>
> I don't notice slow start up (didn't bother to measure)  on macOS
> 12.6.3 on x86_64 and arm64. Is this specific to macOS 14?
>
> Just throwing in random thoughts here, but could it be related to
> Gatekeeper? Does it happen with it turned off?
>
> Roman
>
> >
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Pure Data 0.55-0 test 3 released

2024-06-01 Thread William Brent
And here are my results running those tests:

/Applications/Pd-0.55-0test3a.app/Contents/Resources/bin/pd -send "pd quit"
0.02s user 0.03s system 1% cpu 2.987 total

time /Applications/Pd-0.55-0test3a.app/Contents/Resources/bin/pd -nosound
-send "pd quit"
0.02s user 0.03s system 1% cpu 2.976 total

time /Applications/Pd-0.55-0test3a.app/Contents/Resources/bin/pd -noprefs
-send "pd quit"
0.02s user 0.03s system 1% cpu 3.150 total

time /Applications/Pd-0.55-0test3a.app/Contents/Resources/bin/pd -nostdpath
-send "pd quit"
0.02s user 0.03s system 1% cpu 3.073 total

The same tests with 54-1 give me cpu times of about 0.35sec. And (probably
unrelated), with 55-0, I get "error: error parsing startup arguments" when
running each of these despite the arguments appearing to have their effect.
With 54-1 I don't get the error post.


On Sat, Jun 1, 2024 at 1:33 AM Miller Puckette 
wrote:

> Hmm, sounds like there are more than one problem...
>
> Can you (and Ben too if he's willing) try these...
>
> time /Pd-0.55-0test2c.app/Contents/Resources/bin/pd -send "pd quit"
>
> time /Pd-0.55-0test2c.app/Contents/Resources/bin/pd -nosound -send
> "pd quit"
>
> time /Pd-0.55-0test2c.app/Contents/Resources/bin/pd -noprefs -send
> "pd quit"
>
> time /Pd-0.55-0test2c.app/Contents/Resources/bin/pd -nostdpath -send
> "pd quit"
>
> I'm grasping at straws here :) Guessing that William's 8-second startup
> and new popup might be something external that's fighting with some Mac
> plist setting in Pd that might have changed.
>
> thanks
> M
>
> On 6/1/24 12:12 AM, William Brent wrote:
> > Thanks for this new release! Unfortunately, I can confirm the extra
> > startup delay for macOS... I tested on an M1 machine with 64GB of
> > memory running macOS 14.5.
> >
> > Also, I get the attached popup every time I open the app, even after
> > clicking "allow." Maybe there's something in macOS preferences that
> > will suppress it? After clicking "allow," it takes a full 8sec for the
> > Pd window to appear. I've only timed this casually with my watch at
> > this point, but after trying multiple times I can say that it's
> > consistently around 8sec for me here. Pd-0.54-1 consistently springs
> > to life in about 1sec for me.
> >
> > I'm happy to run any specific test routines if I can be useful on this.
> > William
> >
> >
> > On Fri, May 31, 2024 at 1:10 PM Miller Puckette
> >  wrote:
> >
> > Test 3 is out.  This should resolve all the trouble we've had with
> > test2
> > except that one tester on MacOS is still finding that Pd 0.55
> > loads way
> > more slowly than 0.54 - I  don't see that happening on my machine
> > and I
> > don't know how many machines will be affected... it might take a
> > while
> > to track this one down, but hopefully it won't affect many
> > people.  If
> > you _do_ notice longer startup times on MacOS please let me (or
> > the Pd
> > list) know - with more data points it migth be easier for me to
> > replicate the problem for myself.
> >
> > as usual: http://msp.ucsd.edu/software.htm OR
> > https://msp.ucsd.edu/software.htm
> >
> > source on github: https://github.com/pure-data/pure-data
> > <
> https://urldefense.com/v3/__https://github.com/pure-data/pure-data__;!!Mih3wA!GVjycnnXvxANGR5EvpOhP-gDSVl648XDg2uY4mOCl4Bx2j-OYstW0TnDQ7n7R0W2zf5OF7RaFNFSCSjeka4$
> >
> >
> > cheers
> >
> > Miller
> >
> >
> >
> >
> > ___
> > Pd-announce mailing list
> > pd-annou...@lists.iem.at
> > https://lists.puredata.info/listinfo/pd-announce
> > <
> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-announce__;!!Mih3wA!GVjycnnXvxANGR5EvpOhP-gDSVl648XDg2uY4mOCl4Bx2j-OYstW0TnDQ7n7R0W2zf5OF7RaFNFSA-t2mYg$
> >
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > https://lists.puredata.info/listinfo/pd-list
> > <
> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!GVjycnnXvxANGR5EvpOhP-gDSVl648XDg2uY4mOCl4Bx2j-OYstW0TnDQ7n7R0W2zf5OF7RaFNFSC4IW8vI$
> >
> >
> >
> >
> > --
> > William Brent
> >
> > “Great minds flock together”
> > Conflations: conversational idiom for the 21st century
> >
> > www.conflations.com
> > &

Re: [PD] [PD-announce] Pure Data 0.55-0 test 3 released

2024-05-31 Thread William Brent
Thanks for this new release! Unfortunately, I can confirm the extra startup
delay for macOS... I tested on an M1 machine with 64GB of memory running
macOS 14.5.

Also, I get the attached popup every time I open the app, even after
clicking "allow." Maybe there's something in macOS preferences that will
suppress it? After clicking "allow," it takes a full 8sec for the Pd window
to appear. I've only timed this casually with my watch at this point, but
after trying multiple times I can say that it's consistently around 8sec
for me here. Pd-0.54-1 consistently springs to life in about 1sec for me.

I'm happy to run any specific test routines if I can be useful on this.
William


On Fri, May 31, 2024 at 1:10 PM Miller Puckette 
wrote:

> Test 3 is out.  This should resolve all the trouble we've had with test2
> except that one tester on MacOS is still finding that Pd 0.55 loads way
> more slowly than 0.54 - I  don't see that happening on my machine and I
> don't know how many machines will be affected... it might take a while
> to track this one down, but hopefully it won't affect many people.  If
> you _do_ notice longer startup times on MacOS please let me (or the Pd
> list) know - with more data points it migth be easier for me to
> replicate the problem for myself.
>
> as usual: http://msp.ucsd.edu/software.htm OR
> https://msp.ucsd.edu/software.htm
>
> source on github: https://github.com/pure-data/pure-data
>
> cheers
>
> Miller
>
>
>
>
> ___
> Pd-announce mailing list
> pd-annou...@lists.iem.at
> https://lists.puredata.info/listinfo/pd-announce
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] issues trying to use libpd_process_float()

2023-06-04 Thread William Brent
Hi Eric,

Sounds like you might want to be using libpd_process_raw() instead. If I'm
remembering correctly, libpd_process_float() expects interleaved samples in
the buffer you feed it, and process_raw() expects blocks of samples
interleaved by channel.



On Sat, Jun 3, 2023 at 3:50 PM Eric Lennartson 
wrote:

> Hello all,
>
> I have been experimenting with using python and libpd, and for the most
> part it works well.
> However, I have been trying to use the other processing methods such as
> libpd_process_float() or libpd_process_double(), but when I do I just get
> crazy noise.
> The code I'm working with is just a modified version of the echo.py file
> in the samples section of the libpd github page. Basically, all I have done
> is change the pyaudio format to paFloat32, created a dummy buffer to pass
> to the process method with array.array('f', range(libpd_blocksize()) and
> called libpd_process_float() instead. I did check to see if the format was
> supported using pyaudio's is_format_supported() method and it returned
> True. The pd patch itself is just a quite sine tone straight into the dac.
> So I'm really scratching my head here, what am I missing?
>
> Thanks for any insight you can provide.
>
> Eric
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [leapmotion] how to get focus?

2023-04-24 Thread William Brent
Hi all. I'm  just circling back on this with an update after connecting
with rolf off-list. There was an issue on rolf's Windows machine that I
hadn't encountered in my Windows tests where application focus changes
weren't working as expected. Our setups were basically identical, but it
worked fine for me and only intermittently for rolf. I decided to sidestep
the need for application focus altogether by activating the
POLICY_BACKGROUND_FRAMES policy in the external. The new version of
[leapmotion] (0.2.4) that contains this update is available via deken for
Linux, macOS, and Windows. Further testing would be appreciated if anyone
is in the position to try it out.

And for anyone interested in this, I'll just say again that the
multi-platform and multi-hardware situation with LEAP has a lot of
potential for confusion. I was on a bit of a mission to make sense of it
all a few months back and still have a grasp on things if anyone needs
advice. The quick upshot is:

   - macOS: no support for the latest LEAP software (5.7.2) or the latest
   Ultraleap controller hardware. You can still use LEAP software 2.3.1 and
   the original Leap Motion Controller, but depending on your macOS version
   and hardware, you may have to resort to this annoying trick
   <https://forums.leapmotion.com/t/leap-motion-on-m1-mac-monterey/18535/3>.
   In Pd, use the [leapmotion] extern version 0.2.4 from deken.
   - Linux and Windows: LEAP software 5.7.2 is supported, which allows you
   to use both the original Leap Motion Controller and the new Ultraleap
   controller. In Pd, use the [ultraleap] extern from deken. If you want to
   use the [leapmotion] extern, you'll have to install the old 2.3.1 LEAP
   software. One reason to use the old software is that it features
   tool tracking and pre-defined gesture tracking. The newest API doesn't.




On Mon, Apr 17, 2023 at 2:12 PM William Brent 
wrote:

> Is the controller not working with any software, or only not with
> [leapmotion]? I had the same issue of the controller not lighting up when I
> ran the LEAP 2.3.1 installer, but I documented this extra step in the
> [leapmotion] INSTALL.txt that fixes things:
>
> When running the installer, a popup warning appears about missing graphics
> drivers. This can be ignored. When installation is finished, navigate to
> C:\Program Files (x86)\Leap Motion\Core Services\Drivers
> and run dpinst64.exe to install 64-bit drivers for the Leap Motion
> Controller.
>
> For me, this extra step installs the drivers correctly and the device
> lights up/is recognized afterward. I just went through this process again
> on my W10 machine with no issues, and [leapmotion] works fine after that
> fix. Could you report specifically on your results of trying that?
>
>
> On Mon, Apr 17, 2023 at 8:55 AM  wrote:
>
>> well, i tried to go back on the W11 machine to the [leapmotion] setup:
>>
>> however, the controler isn't working, it doesn't show the 3 red
>> sensor-lights.
>>
>> re-installing the Gemini/[ultraleap] -> no problem.
>>
>>
>> installed the [leapmotion] setup on the old W10 -> same result: controler
>> not working.
>>
>> changing to Gemini/[ultraleap] -> working.
>>
>> ??
>>
>>
>> that's it for now.
>>
>> rolf
>>
>>
>> ro...@dds.nl schreef op 17-04-2023 12:33:
>>
>> thanks William,
>>
>> installing Gemini & [ultraleap] made it work!
>>
>>
>> only just now i have time to follow up on your suggestions.
>>
>> i'll also test on my old Windows 10 machine.
>>
>>
>> report of that will follow asap.
>>
>>
>> rolf
>>
>>
>> William Brent schreef op 16-04-2023 1:58:
>>
>> I just set up my Windows machine to match your system as closely as
>> possible, and all still works as expected with [leapmotion] for me. The
>> only difference is that I'm on Windows 10 rather than 11.
>>
>> After reading your message again, I see that you're occasionally getting
>> some tracking data, so most of what I said in my previous post is
>> irrelevant. But before I dig any further: are you *sure* you're clicked on
>> Pd to make it the foreground application when testing [leapmotion]? If
>> you're clicked on the desktop or any other window/app to lose focus, then
>> tracking data will stop flowing. And if those focus gained/lost messages
>> aren't making sense with the actual clicking you're doing, that's what we
>> need to look into. Maybe I can just disable the need for focus entirely...
>>
>>
>>
>> On Sat, Apr 15, 2023 at 2:53 PM William Brent 
>> wrote:
>>
>>> Hi rolf, there are a few confusing things in the LEAP world across
>>> Lin

Re: [PD] [leapmotion] how to get focus?

2023-04-17 Thread William Brent
Is the controller not working with any software, or only not with
[leapmotion]? I had the same issue of the controller not lighting up when I
ran the LEAP 2.3.1 installer, but I documented this extra step in the
[leapmotion] INSTALL.txt that fixes things:

When running the installer, a popup warning appears about missing graphics
drivers. This can be ignored. When installation is finished, navigate to
C:\Program Files (x86)\Leap Motion\Core Services\Drivers
and run dpinst64.exe to install 64-bit drivers for the Leap Motion
Controller.

For me, this extra step installs the drivers correctly and the device
lights up/is recognized afterward. I just went through this process again
on my W10 machine with no issues, and [leapmotion] works fine after that
fix. Could you report specifically on your results of trying that?


On Mon, Apr 17, 2023 at 8:55 AM  wrote:

> well, i tried to go back on the W11 machine to the [leapmotion] setup:
>
> however, the controler isn't working, it doesn't show the 3 red
> sensor-lights.
>
> re-installing the Gemini/[ultraleap] -> no problem.
>
>
> installed the [leapmotion] setup on the old W10 -> same result: controler
> not working.
>
> changing to Gemini/[ultraleap] -> working.
>
> ??
>
>
> that's it for now.
>
> rolf
>
>
> ro...@dds.nl schreef op 17-04-2023 12:33:
>
> thanks William,
>
> installing Gemini & [ultraleap] made it work!
>
>
> only just now i have time to follow up on your suggestions.
>
> i'll also test on my old Windows 10 machine.
>
>
> report of that will follow asap.
>
>
> rolf
>
>
> William Brent schreef op 16-04-2023 1:58:
>
> I just set up my Windows machine to match your system as closely as
> possible, and all still works as expected with [leapmotion] for me. The
> only difference is that I'm on Windows 10 rather than 11.
>
> After reading your message again, I see that you're occasionally getting
> some tracking data, so most of what I said in my previous post is
> irrelevant. But before I dig any further: are you *sure* you're clicked on
> Pd to make it the foreground application when testing [leapmotion]? If
> you're clicked on the desktop or any other window/app to lose focus, then
> tracking data will stop flowing. And if those focus gained/lost messages
> aren't making sense with the actual clicking you're doing, that's what we
> need to look into. Maybe I can just disable the need for focus entirely...
>
>
>
> On Sat, Apr 15, 2023 at 2:53 PM William Brent 
> wrote:
>
>> Hi rolf, there are a few confusing things in the LEAP world across
>> Linux/Mac/Windows, but when I was working on this a few months back I did
>> successfully get both [leapmotion] and [ultraleap] working on multiple
>> Windows 10 machines with an original Leap Motion Controller. That said,
>> since you're on Windows 11 there could be some new wrinkles. But here are
>> some starting points to check:
>>
>> First, since you're using [leapmotion] and the old 2.3.1 LEAP software,
>> did you see the Windows notes at the bottom of the INSTALL.txt in the
>> GitHub repo? You can see that here
>> <https://github.com/wbrent/leapmotion/blob/main/INSTALL.txt>. Maybe
>> running that dpinst64.exe installer will resolve things, though I'm not too
>> confident of that since you're already using your device successfully with
>> other software.
>>
>> Second, have you tried installing the latest LEAP software (Gemini 5.7.2)
>> instead of the old 2.3.1? The latest software supports the new UltraLeap
>> controller as well as the original LEAP Motion Controller (which is what
>> you seem to be using). If you install that, you can try using the
>> [ultraleap] external instead, and hopefully things "just work." It's also
>> available via deken.
>>
>> If both of those fail, my next guess would be that there are additional
>> .dll dependencies as of Windows 11. If that's the case, you'd see messages
>> in Pd's console warning that "The specified module could not be found."
>> About the focus gained/lost messages, those should occur when you click on
>> or away from Pd to make it the foreground application or not. If you're
>> getting spammed with a bunch of these messages and aren't changing
>> application focus, then there's an issue I should look into. That worked as
>> expected for me in my Windows tests back in January.
>>
>> Let me know if any of this gets you unstuck. I was really hoping that
>> these updates to [leapmotion] would make it usable on all platforms for at
>> least a little while, so I'd love to get this working on Windows 11.
>> William
>>
>>

Re: [PD] [leapmotion] how to get focus?

2023-04-15 Thread William Brent
I just set up my Windows machine to match your system as closely as
possible, and all still works as expected with [leapmotion] for me. The
only difference is that I'm on Windows 10 rather than 11.

After reading your message again, I see that you're occasionally getting
some tracking data, so most of what I said in my previous post is
irrelevant. But before I dig any further: are you *sure* you're clicked on
Pd to make it the foreground application when testing [leapmotion]? If
you're clicked on the desktop or any other window/app to lose focus, then
tracking data will stop flowing. And if those focus gained/lost messages
aren't making sense with the actual clicking you're doing, that's what we
need to look into. Maybe I can just disable the need for focus entirely...



On Sat, Apr 15, 2023 at 2:53 PM William Brent 
wrote:

> Hi rolf, there are a few confusing things in the LEAP world across
> Linux/Mac/Windows, but when I was working on this a few months back I did
> successfully get both [leapmotion] and [ultraleap] working on multiple
> Windows 10 machines with an original Leap Motion Controller. That said,
> since you're on Windows 11 there could be some new wrinkles. But here are
> some starting points to check:
>
> First, since you're using [leapmotion] and the old 2.3.1 LEAP software,
> did you see the Windows notes at the bottom of the INSTALL.txt in the
> GitHub repo? You can see that here
> <https://github.com/wbrent/leapmotion/blob/main/INSTALL.txt>. Maybe
> running that dpinst64.exe installer will resolve things, though I'm not too
> confident of that since you're already using your device successfully with
> other software.
>
> Second, have you tried installing the latest LEAP software (Gemini 5.7.2)
> instead of the old 2.3.1? The latest software supports the new UltraLeap
> controller as well as the original LEAP Motion Controller (which is what
> you seem to be using). If you install that, you can try using the
> [ultraleap] external instead, and hopefully things "just work." It's also
> available via deken.
>
> If both of those fail, my next guess would be that there are additional
> .dll dependencies as of Windows 11. If that's the case, you'd see messages
> in Pd's console warning that "The specified module could not be found."
> About the focus gained/lost messages, those should occur when you click on
> or away from Pd to make it the foreground application or not. If you're
> getting spammed with a bunch of these messages and aren't changing
> application focus, then there's an issue I should look into. That worked as
> expected for me in my Windows tests back in January.
>
> Let me know if any of this gets you unstuck. I was really hoping that
> these updates to [leapmotion] would make it usable on all platforms for at
> least a little while, so I'd love to get this working on Windows 11.
> William
>
>
>
> On Sat, Apr 15, 2023 at 12:41 PM  wrote:
>
>> i finally got my hands on a Mac:
>>
>> installed the same Pd, leapmotion software, [leapmotion] for Mac.
>>
>> with my controller i got immediate result.
>>
>> the message "focus gained" appeared instantly,
>>
>> and i could use the cursor-test: moving around and firing the bang.
>>
>>
>> it really looks like there's something not right with [leapmotion] for
>> Windows.
>>
>> (the leapmotion apps available for V2 are also working onmy Windows
>> machine).
>>
>>
>> NB fwiw, when opening leapmotion.h in Visual Studio there appears this
>> message
>>
>> "// this project is built against LeapDeveloperKit_2.3.1+31549_mac, and
>> requires the same version of libLeap.dylib"
>>
>> rolf
>>
>>
>> ro...@dds.nl schreef op 05-04-2023 14:03:
>>
>> Windows 11, PD-53.1
>> SDK:LeapDeveloperKit_2.3.1+31549_win
>>
>> PD-console:
>> -
>> Leap Motion Listener: Initialized
>> Leap Motion Service: Connected
>> Leap Motion Connected Device: LP32497879452 v1.7.0
>>
>> 
>> [leapmotion] for Pd version 0.2.3
>> Forked from version 0.1 by Chikashi Miyama
>> Updated by William Brent (Dec 2022)
>> 
>>
>> Leap Motion Service: Connected
>>
>>
>> Leap Motion Controller: Focus gained
>> Leap Motion Controller: Focus lost
>>
>> Leap Motion Controller: Focus gained
>> Leap Motion Controller: Focus lost
>>
>> Leap Motion Controller: Focus gained
>> Leap Motion Controller: Focus lost
>>
>> -
>>
>> i've been trying to get leapmotion-help w

Re: [PD] [leapmotion] how to get focus?

2023-04-15 Thread William Brent
Hi rolf, there are a few confusing things in the LEAP world across
Linux/Mac/Windows, but when I was working on this a few months back I did
successfully get both [leapmotion] and [ultraleap] working on multiple
Windows 10 machines with an original Leap Motion Controller. That said,
since you're on Windows 11 there could be some new wrinkles. But here are
some starting points to check:

First, since you're using [leapmotion] and the old 2.3.1 LEAP software, did
you see the Windows notes at the bottom of the INSTALL.txt in the GitHub
repo? You can see that here
<https://github.com/wbrent/leapmotion/blob/main/INSTALL.txt>. Maybe running
that dpinst64.exe installer will resolve things, though I'm not too
confident of that since you're already using your device successfully with
other software.

Second, have you tried installing the latest LEAP software (Gemini 5.7.2)
instead of the old 2.3.1? The latest software supports the new UltraLeap
controller as well as the original LEAP Motion Controller (which is what
you seem to be using). If you install that, you can try using the
[ultraleap] external instead, and hopefully things "just work." It's also
available via deken.

If both of those fail, my next guess would be that there are additional
.dll dependencies as of Windows 11. If that's the case, you'd see messages
in Pd's console warning that "The specified module could not be found."
About the focus gained/lost messages, those should occur when you click on
or away from Pd to make it the foreground application or not. If you're
getting spammed with a bunch of these messages and aren't changing
application focus, then there's an issue I should look into. That worked as
expected for me in my Windows tests back in January.

Let me know if any of this gets you unstuck. I was really hoping that these
updates to [leapmotion] would make it usable on all platforms for at least
a little while, so I'd love to get this working on Windows 11.
William



On Sat, Apr 15, 2023 at 12:41 PM  wrote:

> i finally got my hands on a Mac:
>
> installed the same Pd, leapmotion software, [leapmotion] for Mac.
>
> with my controller i got immediate result.
>
> the message "focus gained" appeared instantly,
>
> and i could use the cursor-test: moving around and firing the bang.
>
>
> it really looks like there's something not right with [leapmotion] for
> Windows.
>
> (the leapmotion apps available for V2 are also working onmy Windows
> machine).
>
>
> NB fwiw, when opening leapmotion.h in Visual Studio there appears this
> message
>
> "// this project is built against LeapDeveloperKit_2.3.1+31549_mac, and
> requires the same version of libLeap.dylib"
>
> rolf
>
>
> ro...@dds.nl schreef op 05-04-2023 14:03:
>
> Windows 11, PD-53.1
> SDK:LeapDeveloperKit_2.3.1+31549_win
>
> PD-console:
> -
> Leap Motion Listener: Initialized
> Leap Motion Service: Connected
> Leap Motion Connected Device: LP32497879452 v1.7.0
>
> 
> [leapmotion] for Pd version 0.2.3
> Forked from version 0.1 by Chikashi Miyama
> Updated by William Brent (Dec 2022)
> 
>
> Leap Motion Service: Connected
>
>
> Leap Motion Controller: Focus gained
> Leap Motion Controller: Focus lost
>
> Leap Motion Controller: Focus gained
> Leap Motion Controller: Focus lost
>
> Leap Motion Controller: Focus gained
> Leap Motion Controller: Focus lost
>
> -
>
> i've been trying to get leapmotion-help working, with minimal succes.
> where the leapmotion diagnostic visualiser shows my hands representation
> all the time,
> [leapmotion] does not report anything from the controler,
>  and now and then prints the messages focus gained/focus lost.
>
> only a few times suddenly a frame with general data showed up,
>  with or without a change of position for the button in the cursor-test.
>
> why, i don't know. i cannot reproduce it, whatever i do with my hand(s).
>
> the siamese appearance of the gained/lost messages gives the impression
> (to me) there's some 'secret magic' needed for [leapmotion] to get
> focussed.
>
> what am i missing or doing wrong?
>
> rolf
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Noise in bp-filter

2023-02-18 Thread William Brent
Hi Daniel,

Did you smooth the frequency changes with a [line~] object or something
else before sending to [vcf~]'s 2nd inlet? You can do the same to make
gradual transitions for Q changes, but since the Q inlet doesn't take a
signal you'll have to use [line] instead.

On Sat, Feb 18, 2023 at 8:19 AM Daniel Martin via Pd-list <
pd-list@lists.iem.at> wrote:

> Hello Peter, thanks for the help. Unfortunately it doesn't work with the
> [vcf~] object either. As you say, the problem is that I jump from a
> frequency to the next non-continuosly. Is there a way to do that without
> interrupting the signal and without noise?
>
> Daniel
>
>
>
>
>
> El viernes, 17 de febrero de 2023, 23:52:22 GMT+1, Peter P. <
> peterpar...@fastmail.com> escribió:
>
>
> Daniel, can you try the [vcf~] object instead of [bp~]? The noise you
> hear most likely happens when you change the filter frequency
> non-continuously.
>
> * Daniel Martin via Pd-list  [2023-02-17 20:15]:
> > Dear PD-Users, I'm having a problem with a patch
> that filters overtones from a sample. I use for that a bp filter. The
> center values for frecuency, Q and output volume are changed according to
> which overtone one wishes to hear. It is so configured, that one can select
> between overtones 3 to 17, pressing keys d, r, f, t, g, y, h, u, j, i, k,
> o, l, p and ñ (I have a spanish keyboard). The problem is when I want to
> change between overtones: one hears a noise. I solved that partially by
> reducing the output volume of the bp filter to 0, than changing the filter
> parameters values and then raising up the volume again to 1. That works
> only with adjacent overtones (for ex. overtone 3 to 4 or 3 to 5), but with
> larger jumps (for ex. 3 to 15), the noise comes again, the larger the jump,
> the stronger the noise.
> >
> >I send attached the patch and a sample (Fagot). You need to
> open the sample ("open file" bang), select the third Vradio-square (Fagot,
> that sends specific Q and volume values for filtering this sample), then
> start the sample (key "a", it loops itself), then overtone selection (keys
> d, r, f, t...). The filter is in the suubpatch "Overtone_Filter". If you
> try for example changing from overtone 3 ("d") to 12 ("i") you'll hear a
> strong noise...
> >  I hope you can help me! I'll use this for a research on overtones
> effects on human health.
> > Greetings!Daniel Salva
> >
> >
>
>
>
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Shared memory for [pd~] processes

2023-02-01 Thread William Brent
It's available as 'shmem' via deken.

On Wed, Feb 1, 2023 at 11:58 AM Phil Stone  wrote:

> Hello everyone,
>
>
>
> I’ve converted my old ‘polywavesynth’ to being able to spawn a new [pd~]
> process for its voice management, and that’s working really well. I can see
> the load spread to other cores for multiple synthesizers, and after working
> out some bugs, I’m really happy with this new capability.
>
>
>
> I have another old synthesizer, ‘polygrainsynth’ I’d like to modify
> similarly. It has a large array which is displayed (and can be edited) in
> the top-level process. The array is used by the individual voices, which
> would be in a subprocess. Is there a way to share that array between the
> parent process and the sub-[pd~] process?
>
>
>
> I searched the archives and found mention of ‘share-mem’ by Cyrille Henry
> back in 2012:
> https://lists.puredata.info/pipermail/pd-list/2012-11/098714.html but I
> can’t find any other mention of it.
>
>
>
>
>
>
>
> Best,
>
>
>
> Phil
>
>
>
>
>
> Phil Stone
>
> Davis, California USA
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] DSP crashing - PD freezes.

2023-01-30 Thread William Brent
This was originally reported on this list Oct 27 2022 (see this thread
<https://lists.puredata.info/pipermail/pd-list/2022-10/131609.html>), and I
can also confirm it second-hand via someone I'm currently collaborating
with. He accidentally upgraded to Ventura and since then has been unable to
quit Pd using Pd menu/Quit or command-Q. It's the only reason I haven't
upgraded to macOS 13!

On Mon, Jan 30, 2023 at 2:26 PM Phil Stone  wrote:

> I cannot reproduce it by disabling/enabling DSP on an M1 Macbook running
> Monterrey and Pd 0.53-1.
>
>
>
> *From: *Pd-list  on behalf of Denis Połeć <
> denis.po...@gmail.com>
> *Date: *Monday, January 30, 2023 at 11:10 AM
> *To: *pd-list@lists.iem.at 
> *Subject: *[PD] DSP crashing - PD freezes.
>
> Hello everyone,
> I am experiencing an issue with Pure Data (0.53-1) on macOS Ventura (13.2)
> running on an Apple Silicon machine. Whenever I make changes to some of the
> DSP settings, such as disabling and enabling it again, the application
> freezes and I have to force close it. This also causes my audio to crash,
> and I have to kill CoreAudio in order to get it back up and running.
>
> Does anyone else experience this issue?
> I have tried older versions, but I am getting the same result. Is this an
> issue with Ventura? Can someone reproduce this?
>
> thanks.
> denis. :)
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Max pd~ object test compiled for M1 processors

2023-01-14 Thread William Brent
This is great, thank you! Just tested on my M1 machine using Rosetta and
then not and all seems to work fine in the help patches at first glance. I
did get a macOS quarantine popup the first time, but approving that worked
and it didn't re-appear.

On Sat, Jan 14, 2023 at 11:44 AM Miller Puckette via Pd-announce <
pd-annou...@lists.iem.at> wrote:

> To Pd announce -
>
> The pd~ Max object (which allows you to embed Pd patches in Max/MSP) is now
> available for the M1 architecture in a test version (0.55test1).  You can
> get it at the usual spot:  http://msp.ucsd.edu/software.html
>
> It _should_ be possible to run it in Max version 8 for either intel or "M1"
> (apple) architecture, using Pd compiled for either architecture - but I
> haven't
> tried out all the permutations yet.
>
> Bug reports are most welcome, either to Pd list or to me personally.
>
> cheers
> Miller
>
>
>
> ___
> Pd-announce mailing list
> pd-annou...@lists.iem.at
> https://lists.puredata.info/listinfo/pd-announce
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] [leapmotion] version 0.2.0 on deken

2022-12-29 Thread William Brent
It's the PdMax object (pd~.mxo) that's not compiled for arm64 yet. But you
can always run Max using Rosetta for now.

On Thu, Dec 29, 2022 at 10:49 AM Dan Wilcox  wrote:

> Actually, isn't pd~ already compiled for arm64? What am I missing...?
>
> % file /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat
> /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat:
> Mach-O universal binary with 2 architectures: [x86_64:Mach-O 64-bit bundle
> x86_64] [arm64:Mach-O 64-bit bundle arm64]
> /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for
> architecture x86_64): Mach-O 64-bit bundle x86_64
> /Applications/Pd-0.53-1.app/Contents/Resources/extra/pd~/pd~.d_fat (for
> architecture arm64): Mach-O 64-bit bundle arm64
>
> On Wed, Dec 28, 2022 at 07:49:43PM +0100, IOhannes m zm?lnig wrote:
>
> Am 28. Dezember 2022 16:20:08 MEZ schrieb "Jo?o Pais"  >:
>
> ah ah actually the wink was for Miller - pd~ doesn't work on M1 yet.
>
>
> Why not?
>
>
>
> 
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com
> robotcowboy.com
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] [leapmotion] version 0.2.0 on deken

2022-12-28 Thread William Brent
True, the abandoned 2.3.1 libLeap.dylib isn't built for arm64. But there's
always Rosetta... In a funny cluster of circumstances, under macOS 12.6
it's actually *only* M1 machines that can connect with the Leap controller.
The OS doesn't recognize it, but M1 users have a hacky option: go to
"Recalibrate Device" in Leap settings then restart the machine. Upon
restart, the device is recognized. This doesn't work for Intel macs, so
we've got a situation where the only Leap library build option is for the
architecture that can't recognize the device: great. I have no idea of the
behavior under macOS 13. It may be that Leap hardware is a complete no-go
there.

On Wed, Dec 28, 2022 at 8:24 AM João Pais  wrote:

> ... but not yet with the M1 processors (wink wink)
>
>
> > I think Max users can use pd~ to run this.
> >
> > cheers
> > Miller
> >
> > On Sun, Dec 25, 2022 at 06:08:44PM -0500, William Brent wrote:
> >
>
>

-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] [leapmotion] version 0.2.0 on deken

2022-12-27 Thread William Brent
Hi Miller, yes I can confirm that [pd~] works with this in Max 8. There's
also the option of a simple Pd patch that sends the data to Max via OSC,
and I'm considering your suggestion from an older thread: just make a
command line app that sends the data via OSC. For now I think I'm going to
finish this up as an extern...

On Tue, Dec 27, 2022 at 1:21 PM Miller Puckette  wrote:

> I think Max users can use pd~ to run this.
>
> cheers
> Miller
>
> On Sun, Dec 25, 2022 at 06:08:44PM -0500, William Brent wrote:
> > Hey Joao,
> >
> > Chikashi also has a mac build of [leapmotion] available here
> > <
> https://urldefense.com/v3/__http://puredatajapan.info/?page_id=1514__;!!Mih3wA!Haw4yo5G_N5jRUNIA9_p9jl43vxppxKYmzyb0cOH8fDT60JS_bGp2awgbPKBnG_tJAvFw6e-Sm3NUZM_QaA$
> >, but it seems to be using SDK 1.
> > So at least this version allows us to use 2.3.1. That's as far as we can
> go
> > on macOS unless Leap changes their stance on mac development. But I'm
> > messing around some with the latest 5.7.2 SDK and I'm not having any
> > trouble building/linking on both Linux and Windows. And on those
> platforms
> > I'm able to connect to both the original Leap Motion Controller and the
> new
> > Ultraleap hardware.
> >
> > I'm not sure about the best way to consolidate everything that's been
> done
> > in this area, especially since I decided to remove the FLEXT layer, which
> > will be important for Max/MSP users. Myself, I'm only interested in
> > building this for Pd and I want to keep things as simple as possible. And
> > if I follow through working with SDK 5.7.2, we'll have access to the
> latest
> > version of Leap software/hardware on all 3 platforms. I'm totally open to
> > working and organizing together on this...whatever seems to be the best
> > way. I think I'll have time to get the code up to a good stopping point
> > over the holidays.
> >
> > As for the gestures - do you mean adding a system for
> training/recognizing
> > user-defined gestures beyond the existing circle/swipe/tap gestures? I'm
> > interested in that idea for sure, but don't have the deep learning chops
> to
> > pull it off yet.
> >
> >
> > On Thu, Dec 22, 2022 at 1:21 PM João Pais  wrote:
> >
> > > Hi William,
> > > nice that you made this also for mac. I'm thinking that since each
> version
> > > of the object is in a different repository (I have the windows
> version, you
> > > have mac, and Chikashi has linux), would it make sense to
> cross-reference
> > > them? I guess putting them all together might be too much.
> > >
> > > I haven't used my leap too much, mostly because after some
> performances I
> > > wanted to use more complex control such as gestures. But I couldn't
> program
> > > anything myself, and didn't find any way of using e.g. machine
> learning or
> > > similar for that. Is this some kind of work you also do? Could you
> > > recommend any such libraries, even if not for Pd?
> > >
> > > Best,
> > > Joao
> > >
> > > Hi all,
> > >
> > > After years of using Chikashi Miyama's [leapmotion] object, I decided
> to
> > > fork his repo in order to make some changes and build against the most
> > > recently available Leap SDK for macOS (2.3.1). Information about
> specific
> > > changes can be found by visiting the repo:
> > >
> https://urldefense.com/v3/__https://github.com/wbrent/leapmotion__;!!Mih3wA!Haw4yo5G_N5jRUNIA9_p9jl43vxppxKYmzyb0cOH8fDT60JS_bGp2awgbPKBnG_tJAvFw6e-Sm3NTvTeC8Q$
> . I've also uploaded deken packages
> > > for macOS/Intel and Linux.
> > >
> > > Note that this external is for the original Leap Motion Controller, and
> > > not the current Ultraleap Controller. I may keep working on this in
> order
> > > to use the latest Leap SDK (5.7.2) for Ultraleap compatibility under
> Linux
> > > and Windows, but there seems to be no plan for supporting that device
> under
> > > macOS, hence the freeze at SDK 2.3.1 for now...
> > >
> > > I hope it's helpful to someone out there!
> > > William
> > >
> > >
> > > --
> > > William Brent
> > >
> > > “Great minds flock together”
> > > Conflations: conversational idiom for the 21st century
> > >
> > >
> https://urldefense.com/v3/__http://www.conflations.com__;!!Mih3wA!Haw4yo5G_N5jRUNIA9_p9jl43vxppxKYmzyb0cOH8fDT60JS_bGp2awgbPKBnG_tJAvFw6e-Sm3NGVm-xgo$
> > >
> > > ___
> > > Pd-an

Re: [PD] [PD-announce] [leapmotion] version 0.2.0 on deken

2022-12-25 Thread William Brent
Hey Joao,

Chikashi also has a mac build of [leapmotion] available here
<http://puredatajapan.info/?page_id=1514>, but it seems to be using SDK 1.
So at least this version allows us to use 2.3.1. That's as far as we can go
on macOS unless Leap changes their stance on mac development. But I'm
messing around some with the latest 5.7.2 SDK and I'm not having any
trouble building/linking on both Linux and Windows. And on those platforms
I'm able to connect to both the original Leap Motion Controller and the new
Ultraleap hardware.

I'm not sure about the best way to consolidate everything that's been done
in this area, especially since I decided to remove the FLEXT layer, which
will be important for Max/MSP users. Myself, I'm only interested in
building this for Pd and I want to keep things as simple as possible. And
if I follow through working with SDK 5.7.2, we'll have access to the latest
version of Leap software/hardware on all 3 platforms. I'm totally open to
working and organizing together on this...whatever seems to be the best
way. I think I'll have time to get the code up to a good stopping point
over the holidays.

As for the gestures - do you mean adding a system for training/recognizing
user-defined gestures beyond the existing circle/swipe/tap gestures? I'm
interested in that idea for sure, but don't have the deep learning chops to
pull it off yet.


On Thu, Dec 22, 2022 at 1:21 PM João Pais  wrote:

> Hi William,
> nice that you made this also for mac. I'm thinking that since each version
> of the object is in a different repository (I have the windows version, you
> have mac, and Chikashi has linux), would it make sense to cross-reference
> them? I guess putting them all together might be too much.
>
> I haven't used my leap too much, mostly because after some performances I
> wanted to use more complex control such as gestures. But I couldn't program
> anything myself, and didn't find any way of using e.g. machine learning or
> similar for that. Is this some kind of work you also do? Could you
> recommend any such libraries, even if not for Pd?
>
> Best,
> Joao
>
> Hi all,
>
> After years of using Chikashi Miyama's [leapmotion] object, I decided to
> fork his repo in order to make some changes and build against the most
> recently available Leap SDK for macOS (2.3.1). Information about specific
> changes can be found by visiting the repo:
> https://github.com/wbrent/leapmotion. I've also uploaded deken packages
> for macOS/Intel and Linux.
>
> Note that this external is for the original Leap Motion Controller, and
> not the current Ultraleap Controller. I may keep working on this in order
> to use the latest Leap SDK (5.7.2) for Ultraleap compatibility under Linux
> and Windows, but there seems to be no plan for supporting that device under
> macOS, hence the freeze at SDK 2.3.1 for now...
>
> I hope it's helpful to someone out there!
> William
>
>
> --
> William Brent
>
> “Great minds flock together”
> Conflations: conversational idiom for the 21st century
>
> www.conflations.com
>
> ___
> Pd-announce mailing 
> listpd-annou...@lists.iem.athttps://lists.puredata.info/listinfo/pd-announce
>
> --
> Manteuffelstr. 19
> 10997 Berlin (Deutschland)
> Tel +49 30 74921288 | Mob +49 176 98476769jmmmp...@gmail.com | skype: 
> jmmmpjmmmphttps://www.facebook.com/jmmmpais
>
> _______
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] [leapmotion] version 0.2.0 on deken

2022-12-21 Thread William Brent
Hi all,

After years of using Chikashi Miyama's [leapmotion] object, I decided to
fork his repo in order to make some changes and build against the most
recently available Leap SDK for macOS (2.3.1). Information about specific
changes can be found by visiting the repo:
https://github.com/wbrent/leapmotion. I've also uploaded deken packages for
macOS/Intel and Linux.

Note that this external is for the original Leap Motion Controller, and not
the current Ultraleap Controller. I may keep working on this in order to
use the latest Leap SDK (5.7.2) for Ultraleap compatibility under Linux and
Windows, but there seems to be no plan for supporting that device under
macOS, hence the freeze at SDK 2.3.1 for now...

I hope it's helpful to someone out there!
William


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] [array-abs] library

2022-10-27 Thread William Brent
Cool, thanks to everyone for the references. I'll check these out and will
look for ways to incorporate some of the efficiencies. The choice of
resizing arrays internally or externally is a tough one...maybe an option
for either is the way to go.

And about the timbreID examples: I caused some confusion by taking my
website down a few years back. But I did exactly what you're
suggesting...made a git repo for timbreIDLib, including a link to the most
recent examples package. You can find that here:
https://github.com/wbrent/timbreIDLib. Just scroll down in the README and
you'll see the link. The binaries available via deken are current with the
main branch, so you should be good to just grab the examples and check out
the latest version of the timbre space patch.



On Thu, Oct 27, 2022 at 9:37 AM padovani  wrote:

> Very nice!
>
> In 'planifolia' (in deken) I have created some abstractions to deal with
> arrays... not so many things, but there are two nice abstractions to
> create dynamic-patch based operations with arrays ([array.binop] and
> [arra.unop]).
>
> Not related: Would it be possible to you to upload a git repo with the
> last update of timbreID-examples? The link to your page is broken! I was
> trying to show the timbre-space example to a student and, as moved from mac
> to manjaro, I'm not sure if the bug I'm having here is related to my
> system, to the verion of the timbreID-examples pack that I have or with
> some sort of bug.
>
> Thanks again for your externals! :)
>
> Em qua., 26 de out. de 2022 às 11:14, William Brent <
> william.br...@gmail.com> escreveu:
>
>> Hi list,
>>
>> I'm not sure if something similar already exists out there, but I went
>> ahead and started a library of Pd-vanilla abstractions for searching and
>> manipulating [array]s. Following the naming of [list-abs], I've called it
>> [array-abs].
>>
>> See the GitHub repo with a list of objects here:
>> https://github.com/wbrent/array-abs.git, and download via deken. I hope
>> it's useful to someone other than me!
>>
>> William
>>
>>
>> --
>> William Brent
>>
>> “Great minds flock together”
>> Conflations: conversational idiom for the 21st century
>>
>> www.conflations.com
>> ___
>> Pd-announce mailing list
>> pd-annou...@lists.iem.at
>> https://lists.puredata.info/listinfo/pd-announce
>>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] [array-abs] library

2022-10-26 Thread William Brent
Hi list,

I'm not sure if something similar already exists out there, but I went
ahead and started a library of Pd-vanilla abstractions for searching and
manipulating [array]s. Following the naming of [list-abs], I've called it
[array-abs].

See the GitHub repo with a list of objects here:
https://github.com/wbrent/array-abs.git, and download via deken. I hope
it's useful to someone other than me!

William


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pd 0.53-0test2 released

2022-10-23 Thread William Brent
I'm noticing that pasting text into object boxes or comments produces an
extra trailing whitespace character. This happens on both 0.53-0test1 and
test2, and I'm running it on macOS 12.6 Monterey with M1 hardware. This
doesn't happen for me with 0.52-2. Minor detail, but worth fixing if it's
easy.

Thanks for the update!
William


On Sat, Oct 22, 2022 at 2:11 PM Miller Puckette via Pd-announce <
pd-annou...@lists.iem.at> wrote:

> To Pd-announce:
>
> Pd version 0.53-0test2 is available from http://msp.ucsd.edu/software.htm
> or (source only) via github: https://github.com/pure-data/pure-data
>
> This contains more bug fixes and documentation updates.
>
> Iohannes is still working on an update to teh string translation
> mechanism; I'm planning to incorporate that into the final release,
> hopefully early next week.
>
> cheers
> Miller
>
>
>
> ___
> Pd-announce mailing list
> pd-annou...@lists.iem.at
> https://lists.puredata.info/listinfo/pd-announce
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [hidraw] pre Deken release. was:(Reading/writing a HID device current best practice?)

2022-10-06 Thread William Brent
Hi Lucas - thanks for this! I just tested it on an M1 MacBook Pro under
macOS Monterey. I got the "malicious software" warning and had to go to
system prefs/security & privacy to allow the external to be run anyway, but
then it worked just fine to access my Logitech game controller.

On Wed, Oct 5, 2022 at 7:00 AM Lucas Cordiviola 
wrote:

> Hi all,
>
> Next week or so i'll hopefully release hidraw. An object that reads raw
> bytes from HIDs.
>
> Can anyone test this builds on a mac M1 with arm64 or a Monterey x64 intel?
>
>  https://nc.nubegris.com.ar/index.php/s/Rk7HRq67eCqF7kQ
>
> i'm not sure if i did correctly the code sign. (the object seems to work
> on my monterey VM).
>
> If anyone (not on macOS) is willing to test the above link also has
> Linux and Windows binaries.
>
> feedback is welcomed.
>
>
> --
>
> --
> Mensaje telepatico asistido por maquinas.
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] PD 0.52 bug ? ... [bang~ driven playback]

2022-10-05 Thread William Brent
Doing the same thing with the audio pre-loaded into an array and [tabplay~]
should work without clicks. You could also use [bang~] in the subpatch and
set [switch~] to a higher block size so that Pd has more time to deal with
the repeated open messages. But I'm curious why previous Pd versions didn't
give you clicks using the 64 sample block size.

On Wed, Oct 5, 2022 at 3:27 PM Peter P.  wrote:

> Oliver,
>
> can't really comment on your error, but am wondering why you might want
> to trigger each dsp block separately, especially opening the file from
> hard disk for each dsp block over and over again?
>
> best, P
>
> * oliver  [2022-10-05 20:50]:
> > Hi, dear list !
> >
> > I just stumbled upon something strange, probably a bug in PD 0.52. But
> i'm
> > not sure so i thought i send you a test patch to verify ...
> >
> > Harddisk soundfile playback with a [readsf~] driven by [bang~] used to
> work
> > fine up until PD 0.51. Since 0.52, using this method results in a heavily
> > distorted mess (please see attached test patch)
> >
> > I verified this with different earlier PD versions on different
> computers,
> > both windows and linux systems.
> >
> > (for the record:
> > WIN 7 64 bit
> > WIN 10
> > UBUNTU JELLYFISH
> > UBUNTU BIONIC
> > DEBIAN BULLSEYE)
> >
> > It's definitely the version 0.52 where this method stopped working.
> > Changing blocksize doesn't help either
> >
> > (though: the higher the blocksize, the longer the pauses between each
> > soundsniplet. it's as if [bang~] would output it's bangs too slow ? ...)
> >
> > Can you please make a short test and confirm or falsify my observation ?
> >
> > Thanks for your help
> >
> > Best
> >
> > Oliver
> >
> >
> > --
> > 
> > /// http://oliver.klingt.org ///
> > 
> >
>
> > #N canvas 541 52 447 372 10;
> > #X obj 60 329 dac~, f 5;
> > #X obj 34 7 bang~;
> > #X obj 34 179 f, f 8;
> > #X obj 94 179 + 1;
> > #X msg 79 157 0, f 2;
> > #X obj 34 235 * 64;
> > #X obj 34 157 spigot;
> > #X obj 59 63 tgl 15 0 empty empty empty 17 7 0 10 #00f8fc #00 #00
> > 0 1;
> > #X text 96 86 2.) start playing using [bang~];
> > #X obj 34 256 pack 0 s, f 17;
> > #X obj 133 27 openpanel;
> > #X obj 133 6 bng 15 250 50 0 empty empty empty 17 7 0 10 #00fc04 #00
> > #00;
> > #X symbolatom 133 48 0 0 0 0 - - - 0;
> > #X obj 338 68 loadbang;
> > #X msg 338 89 \; pd dsp 1;
> > #X floatatom 53 207 10 0 0 0 - - - 0;
> > #X msg 34 279 0 \, open \$2 \$1 \, 1;
> > #X text 156 5 1.) select a soundfile from Harddrive;
> > #X text 119 201 progress in dsp blocks, f 12;
> > #X obj 79 135 sel 1 0;
> > #X msg 102 157 0, f 2;
> > #X obj 59 86 t f f;
> > #N canvas 44 44 450 300 readsf_inside 0;
> > #X obj 110 41 inlet;
> > #X obj 268 40 inlet;
> > #X obj 268 206 switch~;
> > #X obj 110 73 readsf~ 2;
> > #X obj 92 113 outlet~;
> > #X obj 152 114 outlet~;
> > #X connect 0 0 3 0;
> > #X connect 1 0 2 0;
> > #X connect 3 0 4 0;
> > #X connect 3 1 5 0;
> > #X restore 34 301 pd readsf_inside;
> > #X msg 186 238 0 \, set 64 1 1 \, 1;
> > #X msg 186 262 0 \, set 1024 1 1 \, 1;
> > #X msg 186 285 0 \, set 4096 1 1 \, 1;
> > #X text 311 261 different stutters, f 10;
> > #X connect 1 0 6 0;
> > #X connect 2 0 3 0;
> > #X connect 2 0 5 0;
> > #X connect 2 0 15 0;
> > #X connect 3 0 2 1;
> > #X connect 4 0 2 1;
> > #X connect 5 0 9 0;
> > #X connect 6 0 2 0;
> > #X connect 7 0 21 0;
> > #X connect 9 0 16 0;
> > #X connect 10 0 12 0;
> > #X connect 11 0 10 0;
> > #X connect 12 0 9 1;
> > #X connect 13 0 14 0;
> > #X connect 13 0 23 0;
> > #X connect 16 0 22 0;
> > #X connect 19 0 4 0;
> > #X connect 19 1 20 0;
> > #X connect 20 0 22 0;
> > #X connect 21 0 19 0;
> > #X connect 21 1 6 1;
> > #X connect 22 0 0 0;
> > #X connect 22 1 0 1;
> > #X connect 23 0 22 1;
> > #X connect 24 0 22 1;
> > #X connect 25 0 22 1;
>
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] once again a timbreID question

2022-10-05 Thread William Brent
 from what you see in the
> help-patches of that great library.
>
> Have you checked out William's examples, which I can't locate in
> original on his web page (seems down) but which have been mirrored here?
> https://github.com/mxa/timbreID-examples
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread William Brent
Try running "sudo ldconfig" and see if that resolves it. If not, do a
sanity check by copying libfann.so.2.2.0 to the fann directory and make a
libfann.so.2 symlink to it there. It's a temporary hack, but if you do that
it really should load properly in Pd. If even that doesn't work, I'm
stumped!

On Mon, Apr 11, 2022 at 2:19 PM Alexandros  wrote:

> Yes, it's from the latest version of your repo. I did a "make clean" and a
> new "make" and still get the same. It's very strange. In the Makefile the
> /usr/local/lib path is specified, but Pd keeps on complaining.
>
> Don't know if this is of any relevance, but "file
> /usr/local/lib/libfann.so.2" says that this is a symbolic link to
> /usr/local/lib/libfann.so.2.2.0, which in turn is an ELF 64-bit LSB shared
> object.
> On 11/4/22 20:36, William Brent wrote:
>
> Just to confirm, did you pull my latest change to the repo with a new
> Makefile, do a "make clean", and then a new "make"?
>
>
>
> On Mon, Apr 11, 2022, 12:06 PM Alexandros  wrote:
>
>> Still no dice. Everything seems to be in /usr/local/lib. This is the
>> output of "ls /usr/local/lib/*fann*
>>
>> /usr/local/lib/libdoublefann.a
>> /usr/local/lib/libdoublefann.so.2.2.0
>> /usr/local/lib/libfann.so.2
>> /usr/local/lib/libfixedfann.so
>> /usr/local/lib/libfloatfann.a
>> /usr/local/lib/libfloatfann.so.2.2.0
>> /usr/local/lib/libdoublefann.so
>> /usr/local/lib/libfann.a
>> /usr/local/lib/libfann.so.2.2.0
>> /usr/local/lib/libfixedfann.so.2
>> /usr/local/lib/libfloatfann.so
>> /usr/local/lib/libdoublefann.so.2
>> /usr/local/lib/libfann.so
>> /usr/local/lib/libfixedfann.a
>> /usr/local/lib/libfixedfann.so.2.2.0  /usr/local/lib/libfloatfann.so.2
>>
>> I did "make fann_static" in fann's directory which gave this output "[100%]
>> Built target fann_static" and then "sudo make install" and then "make"
>> in pd_fann directory, but I keep on getting the same error message when
>> trying to load the object in Pd. My system is UbuntuStudio 21.10 with
>> Pd-0.52.2 compiled from source.
>> On 11/4/22 17:49, William Brent wrote:
>>
>> Ok - I just updated the repo so the project is using pd-lib-builder. I'm
>> on my Ubuntu 20.04.4 LTS machine now and the [fann] external builds and
>> loads fine for me. When building the actual FANN library, make sure to
>> build it as static with "make fann_static". Then do "make install" so the
>> lib and headers get to /usr/local. After that, you should be able to build
>> the Pd [fann] external with just "make".
>>
>>
>> On Mon, Apr 11, 2022 at 10:17 AM Alexandros  wrote:
>>
>>> I managed to build it on Linux but again can't load it, getting this
>>> error:
>>>
>>> /home/alexandros/Documents/Pd/externals/pd_fann/fann.pd_linux:
>>> libfann.so.2: cannot open shared object file: No such file or directory
>>>
>>> even though there is a libfann.so.2 file in /usr/local/lib, as I have
>>> built FANN 2.2.0. Is there something I need to change in the source?
>>> On 11/4/22 16:39, William Brent wrote:
>>>
>>> I got into this a few years ago and updated/extended the [ann_mlp]
>>> object. Here's the repo: https://github.com/wbrent/pd_fann. I just
>>> tried building it against the latest version of FANN (2.2.0) and it still
>>> appears to work fine. I need to update the project to use pd-lib-builder,
>>> but the included Makefile works for x86_64 builds on Mac.
>>>
>>> On Mon, Apr 11, 2022 at 8:34 AM Dan Wilcox  wrote:
>>>
>>>> I could be wrong, but I don't believe anyone has taken over maintenance
>>>> of [ann]. The original sources are still in the SVN export to
>>>> git.puredata.info:
>>>>
>>>> http://git.puredata.info/cgit/svn2git/libraries/ann.git/
>>>>
>>>> If there is interest, we could push this to the pd-externals group on
>>>> GitHub, add pd-lib-builder support, then someone can take over maintenance.
>>>> You perhaps? :)
>>>>
>>>> On Apr 11, 2022, at 9:48 AM, pd-list-requ...@lists.iem.at wrote:
>>>>
>>>> Message: 2
>>>> Date: Mon, 11 Apr 2022 09:38:51 +0300
>>>> From: Alexandros 
>>>> To: Pd-List 
>>>> Subject: [PD] Ann external source or 64-bit build?
>>>> Message-ID: <92b19048-4b59-2270-9880-f3554d918...@gmail.com>
>>>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>>&g

Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread William Brent
Just to confirm, did you pull my latest change to the repo with a new
Makefile, do a "make clean", and then a new "make"?



On Mon, Apr 11, 2022, 12:06 PM Alexandros  wrote:

> Still no dice. Everything seems to be in /usr/local/lib. This is the
> output of "ls /usr/local/lib/*fann*
>
> /usr/local/lib/libdoublefann.a
> /usr/local/lib/libdoublefann.so.2.2.0
> /usr/local/lib/libfann.so.2
> /usr/local/lib/libfixedfann.so
> /usr/local/lib/libfloatfann.a
> /usr/local/lib/libfloatfann.so.2.2.0
> /usr/local/lib/libdoublefann.so
> /usr/local/lib/libfann.a
> /usr/local/lib/libfann.so.2.2.0
> /usr/local/lib/libfixedfann.so.2
> /usr/local/lib/libfloatfann.so
> /usr/local/lib/libdoublefann.so.2
> /usr/local/lib/libfann.so
> /usr/local/lib/libfixedfann.a
> /usr/local/lib/libfixedfann.so.2.2.0  /usr/local/lib/libfloatfann.so.2
>
> I did "make fann_static" in fann's directory which gave this output "[100%]
> Built target fann_static" and then "sudo make install" and then "make" in
> pd_fann directory, but I keep on getting the same error message when trying
> to load the object in Pd. My system is UbuntuStudio 21.10 with Pd-0.52.2
> compiled from source.
> On 11/4/22 17:49, William Brent wrote:
>
> Ok - I just updated the repo so the project is using pd-lib-builder. I'm
> on my Ubuntu 20.04.4 LTS machine now and the [fann] external builds and
> loads fine for me. When building the actual FANN library, make sure to
> build it as static with "make fann_static". Then do "make install" so the
> lib and headers get to /usr/local. After that, you should be able to build
> the Pd [fann] external with just "make".
>
>
> On Mon, Apr 11, 2022 at 10:17 AM Alexandros  wrote:
>
>> I managed to build it on Linux but again can't load it, getting this
>> error:
>>
>> /home/alexandros/Documents/Pd/externals/pd_fann/fann.pd_linux:
>> libfann.so.2: cannot open shared object file: No such file or directory
>>
>> even though there is a libfann.so.2 file in /usr/local/lib, as I have
>> built FANN 2.2.0. Is there something I need to change in the source?
>> On 11/4/22 16:39, William Brent wrote:
>>
>> I got into this a few years ago and updated/extended the [ann_mlp]
>> object. Here's the repo: https://github.com/wbrent/pd_fann. I just tried
>> building it against the latest version of FANN (2.2.0) and it still appears
>> to work fine. I need to update the project to use pd-lib-builder, but the
>> included Makefile works for x86_64 builds on Mac.
>>
>> On Mon, Apr 11, 2022 at 8:34 AM Dan Wilcox  wrote:
>>
>>> I could be wrong, but I don't believe anyone has taken over maintenance
>>> of [ann]. The original sources are still in the SVN export to
>>> git.puredata.info:
>>>
>>> http://git.puredata.info/cgit/svn2git/libraries/ann.git/
>>>
>>> If there is interest, we could push this to the pd-externals group on
>>> GitHub, add pd-lib-builder support, then someone can take over maintenance.
>>> You perhaps? :)
>>>
>>> On Apr 11, 2022, at 9:48 AM, pd-list-requ...@lists.iem.at wrote:
>>>
>>> Message: 2
>>> Date: Mon, 11 Apr 2022 09:38:51 +0300
>>> From: Alexandros 
>>> To: Pd-List 
>>> Subject: [PD] Ann external source or 64-bit build?
>>> Message-ID: <92b19048-4b59-2270-9880-f3554d918...@gmail.com>
>>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>>
>>> I run into [ann] in Pd's website
>>> (http://puredata.info/Members/dmorelli/ann/ann/) from the Fann homepage
>>> and downloaded the Linux version, but it's a 32-bit build and Pd can't
>>> load it. I can't find it in deken. Anyone (IOhannes maybe, since you
>>> have provided the Linux build) has the source code so I can try to
>>> compile (any compilation instructions would be great too).
>>>
>>> Thanks,
>>> Alexandros
>>>
>>>
>>> 
>>> Dan Wilcox
>>> @danomatika <http://twitter.com/danomatika>
>>> danomatika.com
>>> robotcowboy.com
>>>
>>>
>>>
>>> _______
>>> Pd-list@lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> https://lists.puredata.info/listinfo/pd-list
>>>
>>
>>
>> --
>> William Brent
>>
>> “Great minds flock together”
>> Conflations: conversational idiom for the 21st century
>>
>> www.conflations.com
>>
>> 

Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread William Brent
Ok - I just updated the repo so the project is using pd-lib-builder. I'm on
my Ubuntu 20.04.4 LTS machine now and the [fann] external builds and loads
fine for me. When building the actual FANN library, make sure to build it
as static with "make fann_static". Then do "make install" so the lib and
headers get to /usr/local. After that, you should be able to build the Pd
[fann] external with just "make".


On Mon, Apr 11, 2022 at 10:17 AM Alexandros  wrote:

> I managed to build it on Linux but again can't load it, getting this error:
>
> /home/alexandros/Documents/Pd/externals/pd_fann/fann.pd_linux:
> libfann.so.2: cannot open shared object file: No such file or directory
>
> even though there is a libfann.so.2 file in /usr/local/lib, as I have
> built FANN 2.2.0. Is there something I need to change in the source?
> On 11/4/22 16:39, William Brent wrote:
>
> I got into this a few years ago and updated/extended the [ann_mlp] object.
> Here's the repo: https://github.com/wbrent/pd_fann. I just tried building
> it against the latest version of FANN (2.2.0) and it still appears to work
> fine. I need to update the project to use pd-lib-builder, but the included
> Makefile works for x86_64 builds on Mac.
>
> On Mon, Apr 11, 2022 at 8:34 AM Dan Wilcox  wrote:
>
>> I could be wrong, but I don't believe anyone has taken over maintenance
>> of [ann]. The original sources are still in the SVN export to
>> git.puredata.info:
>>
>> http://git.puredata.info/cgit/svn2git/libraries/ann.git/
>>
>> If there is interest, we could push this to the pd-externals group on
>> GitHub, add pd-lib-builder support, then someone can take over maintenance.
>> You perhaps? :)
>>
>> On Apr 11, 2022, at 9:48 AM, pd-list-requ...@lists.iem.at wrote:
>>
>> Message: 2
>> Date: Mon, 11 Apr 2022 09:38:51 +0300
>> From: Alexandros 
>> To: Pd-List 
>> Subject: [PD] Ann external source or 64-bit build?
>> Message-ID: <92b19048-4b59-2270-9880-f3554d918...@gmail.com>
>> Content-Type: text/plain; charset=UTF-8; format=flowed
>>
>> I run into [ann] in Pd's website
>> (http://puredata.info/Members/dmorelli/ann/ann/) from the Fann homepage
>> and downloaded the Linux version, but it's a 32-bit build and Pd can't
>> load it. I can't find it in deken. Anyone (IOhannes maybe, since you
>> have provided the Linux build) has the source code so I can try to
>> compile (any compilation instructions would be great too).
>>
>> Thanks,
>> Alexandros
>>
>>
>> 
>> Dan Wilcox
>> @danomatika <http://twitter.com/danomatika>
>> danomatika.com
>> robotcowboy.com
>>
>>
>>
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
>
>
> --
> William Brent
>
> “Great minds flock together”
> Conflations: conversational idiom for the 21st century
>
> www.conflations.com
>
> ___pd-l...@lists.iem.at mailing 
> list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Ann external source or 64-bit build?

2022-04-11 Thread William Brent
I got into this a few years ago and updated/extended the [ann_mlp] object.
Here's the repo: https://github.com/wbrent/pd_fann. I just tried building
it against the latest version of FANN (2.2.0) and it still appears to work
fine. I need to update the project to use pd-lib-builder, but the included
Makefile works for x86_64 builds on Mac.

On Mon, Apr 11, 2022 at 8:34 AM Dan Wilcox  wrote:

> I could be wrong, but I don't believe anyone has taken over maintenance of
> [ann]. The original sources are still in the SVN export to
> git.puredata.info:
>
> http://git.puredata.info/cgit/svn2git/libraries/ann.git/
>
> If there is interest, we could push this to the pd-externals group on
> GitHub, add pd-lib-builder support, then someone can take over maintenance.
> You perhaps? :)
>
> On Apr 11, 2022, at 9:48 AM, pd-list-requ...@lists.iem.at wrote:
>
> Message: 2
> Date: Mon, 11 Apr 2022 09:38:51 +0300
> From: Alexandros 
> To: Pd-List 
> Subject: [PD] Ann external source or 64-bit build?
> Message-ID: <92b19048-4b59-2270-9880-f3554d918...@gmail.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> I run into [ann] in Pd's website
> (http://puredata.info/Members/dmorelli/ann/ann/) from the Fann homepage
> and downloaded the Linux version, but it's a 32-bit build and Pd can't
> load it. I can't find it in deken. Anyone (IOhannes maybe, since you
> have provided the Linux build) has the source code so I can try to
> compile (any compilation instructions would be great too).
>
> Thanks,
> Alexandros
>
>
> 
> Dan Wilcox
> @danomatika <http://twitter.com/danomatika>
> danomatika.com
> robotcowboy.com
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [sfinfo~]

2022-01-28 Thread William Brent
If you're after the number of channels and sampling rate, the list coming
out of the right outlet of [soundfiler] gives you that. And the left outlet
gives you the number of frames/samples, but beware that it actually reports
the number of samples loaded to the target array. So if you don't use the
-resize flag it won't necessarily report the number of samples in the file.

On Fri, Jan 28, 2022 at 1:19 PM Pierre Alexandre Tremblay <
tremb...@gmail.com> wrote:

> Hello again
>
> So I was missing an object that is quite useful when dealing with audio
> files in batches. Attached is the ugly file in progress to read (with
> [file]) the header of audio files and demingle it to get the number of
> channels and number of frames and sampling rate… what the Max object
> [sfinfo~] does.
>
> Now I notices that the pd API offers me the headers to recode it in C - so
> I have 2 options here
>
> - I don’t bother anyone and I coder it as fluid.sfinfo
> - I code it as [sfinfo~] and make a PR and pray that the dev gods pick on
> it and in the meantime I just include my PR version.
>
> I looked in decken and couldn’t find that string (soundfile, sound file,
> etc) so I’m pretty sure it is not there.
>
> In all cases this is a very useful object to have. I offer my pd attempt
> in sacrifice to the people who want to have a laugh. It kind of works… but
> that ‘extended’ format (80 bit float anyone?) is a pain to detangle :)
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] permute lists?

2022-01-13 Thread William Brent
If you send the list to a table, [tabletool]'s "permute" method might be
helpful.

On Thu, Jan 13, 2022, 7:52 AM José de Abreu  wrote:

> you can do this using two list stores, see the file
>
> Em qui., 13 de jan. de 2022 às 09:34, Peter P. 
> escreveu:
>
>> Hi list,
>>
>> i am trying to get random permutations of the elements of a list. The
>> mailinglist archive gives some results using largely externals from
>> about twenty years ago, I wonder if any internal object can do that by
>> now?
>>
>> Thanks for all pointers,
>> P
>>
>>
>>
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] JACK on macOS

2021-12-14 Thread William Brent
For me, IOhannes' latest build (
https://git.iem.at/pd/pure-data/-/jobs/33818/artifacts/file/Pd-0.52-0test3-2-g6ca9539f.dmg)
and Dan's recent build (
http://docs.danomatika.com/pdbuilds/0.52/Pd-0.52-0test3-x86_64-jack.zip)
work on Big Sur 11.6.1 *without* callbacks enabled. I've done a lot of work
with Pd/JACK and have never enabled callbacks.

On Tue, Dec 14, 2021 at 9:01 AM Christof Ressi 
wrote:

> this must be a bug then... I don't see why Jack should only work with
> "callbacks" enabled.
> On 14.12.2021 14:51, Csaba Láng wrote:
>
> I confirm Jack works on Big Sur with using callback in the audio settings.
>
> Thanks for the hint.
>
> On Tue, Dec 14, 2021 at 2:16 PM William Brent 
> wrote:
>
>> Good news - this new build is indeed working for me with JACK 1.9.19 on
>> Big Sur 11.6.1 (Intel 64bit hardware). I'll update my comment on the ticket
>> to document it. Thanks IOhannes!
>>
>> On Tue, Dec 14, 2021 at 4:37 AM IOhannes m zmoelnig 
>> wrote:
>>
>>>
>>> On 12/13/21 22:06, IOhannes m zmölnig wrote:
>>>  >
>>>  >
>>>  > once it finished building, the dmg will be available on
>>> <
>>> https://git.iem.at/pd/pure-data/-/jobs/33818/artifacts/file/Pd-0.52-0test3-2-g6ca9539f.dmg>
>>>
>>>
>>>  >
>>>  > could you please be so kind and test with that version as well?
>>>
>>> my first tests show that this version indeed works (at least on
>>> Catalina).
>>> could someone on Big Sur or Monterey confirm this?
>>>
>>>
>>> gfsdr
>>> IOhannes
>>>
>>>
>>> PS: here's a bit more in-depth tech babble, for those interested what (I
>>> think) is going on:
>>>
>>> >
>>> > this info in the issue was incredibly helpful:
>>> >  > JACK protocol mismatch 8
>>> >
>>> > afaict it tries to tell us that Pd and jackd speak different (and
>>> > obviously incompatible) protocols.
>>> >
>>> > i'm currently trying to create a new binary on our CI that finally
>>> uses
>>> > the pre-built binaries from jackaudio.org (as dan always suggested).
>>> >
>>> > hopefully this will get the protocol version right.
>>>
>>> i now think that this was a red hering.
>>>
>>> the problem really seems to be that depending on whether Pd is linked
>>> against  JACK from homebrew or jackaudio.org it will look for the
>>> library in /usr/local/opt/jack/lib/ resp. /usr/local/lib/.
>>> for reasons i do not fully understand yet, a homebrew-jacked Pd (that
>>> looks for libjack.so.0.1.0 in /usr/local/opt/jack/lib/) will refuse to
>>> load the library if it is found in /usr/local/lib/ (even though this is
>>> a standard search path for libraries).
>>> copying/symlinking the libjack.so to the searched for directory, makes
>>> binaries work.
>>>
>>> $ mkdir /usr/local/opt/jack/lib/
>>> $ ln -s /usr/local/lib/libjack.0.1.0.dylib /usr/local/opt/jack/lib/
>>>
>>>
>>> of course this is not really practical
>>> ___
>>> Pd-list@lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> https://lists.puredata.info/listinfo/pd-list
>>>
>>
>>
>> --
>> William Brent
>>
>> “Great minds flock together”
>> Conflations: conversational idiom for the 21st century
>>
>> www.conflations.com
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
>
> ___pd-l...@lists.iem.at mailing 
> list
> UNSUBSCRIBE and account-management -> 
> https://lists.puredata.info/listinfo/pd-list
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] JACK on macOS

2021-12-14 Thread William Brent
Good news - this new build is indeed working for me with JACK 1.9.19 on Big
Sur 11.6.1 (Intel 64bit hardware). I'll update my comment on the ticket to
document it. Thanks IOhannes!

On Tue, Dec 14, 2021 at 4:37 AM IOhannes m zmoelnig  wrote:

>
> On 12/13/21 22:06, IOhannes m zmölnig wrote:
>  >
>  >
>  > once it finished building, the dmg will be available on
> <
> https://git.iem.at/pd/pure-data/-/jobs/33818/artifacts/file/Pd-0.52-0test3-2-g6ca9539f.dmg>
>
>
>  >
>  > could you please be so kind and test with that version as well?
>
> my first tests show that this version indeed works (at least on Catalina).
> could someone on Big Sur or Monterey confirm this?
>
>
> gfsdr
> IOhannes
>
>
> PS: here's a bit more in-depth tech babble, for those interested what (I
> think) is going on:
>
> >
> > this info in the issue was incredibly helpful:
> >  > JACK protocol mismatch 8
> >
> > afaict it tries to tell us that Pd and jackd speak different (and
> > obviously incompatible) protocols.
> >
> > i'm currently trying to create a new binary on our CI that finally uses
> > the pre-built binaries from jackaudio.org (as dan always suggested).
> >
> > hopefully this will get the protocol version right.
>
> i now think that this was a red hering.
>
> the problem really seems to be that depending on whether Pd is linked
> against  JACK from homebrew or jackaudio.org it will look for the
> library in /usr/local/opt/jack/lib/ resp. /usr/local/lib/.
> for reasons i do not fully understand yet, a homebrew-jacked Pd (that
> looks for libjack.so.0.1.0 in /usr/local/opt/jack/lib/) will refuse to
> load the library if it is found in /usr/local/lib/ (even though this is
> a standard search path for libraries).
> copying/symlinking the libjack.so to the searched for directory, makes
> binaries work.
>
> $ mkdir /usr/local/opt/jack/lib/
> $ ln -s /usr/local/lib/libjack.0.1.0.dylib /usr/local/opt/jack/lib/
>
>
> of course this is not really practical
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] JACK on macOS (was Re: [PD-announce] Pd version 0.52-0test3 released)

2021-12-13 Thread William Brent
No problem - just posted a comment with all of my info there.
Unfortunately, no luck with the iem-ci build on my system either...

On Mon, Dec 13, 2021 at 10:03 AM IOhannes m zmoelnig 
wrote:

>
> On 12/13/21 14:56, William Brent wrote:
> >
> > If I then start Dan's most recent build of test3
> > (Pd-0.52-0test3-x86_64-jack.app) from this email thread, choosing "jack"
> > from the Media menu results in no error and "pure_data" shows up in the
> > JACK connection graph.
>
> thanks for the info.
>
> i'm having a bit trouble finding the relevant infos in this growing
> thread (getting old, i guess), so i've started a ticket on github to
> collect all this information.
>
> https://github.com/pure-data/pure-data/issues/1512
>
> it would be supercool if you could add your info as well.
> (there's no need to test with JackOSX like I did - i only did this
> because Jack-1.9.19 was not really working on ElCapitan)
>
> > Thanks and let me know if I can test other attempts to fix this. I'll
> keep
> > an eye on this thread.
>
>
> could you also try the "iem-ci" build that is linked in the ticket? (it
> links to a disk image, that should be signed and notarized)
> that would be great.
>
> gfmadsr
> IOhannes
> _______
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Pd version 0.52-0test3 released

2021-12-13 Thread William Brent
Hi, here are the steps I've carried out in my test:

I'm using macOS Big Sur 11.6.1 on an Intel 64bit machine. I've already got
JACK 1.9.19 installed from https://jackaudio.org/downloads/. I went with
the Intel 64bit installer as opposed to the universal installer. My version
of Pd 0.52-0 test3 is the one "compiled for Macintosh OS 10 or later" from
Miller's page.

When I open Pd-0.52-0test3.app and choose "jack" as the audio backend, I
get an error in the Pd console saying "JACK: couldn't connect to server, is
JACK running?"

I then quit Pd entirely and start QjackCtl (also obtained from the
https://jackaudio.org/downloads/ install package). I can successfully start
the JACK server through QjackCtl and engage with other apps like Ardour.
When I start Pd again and choose "jack" as the audio backend, I still
receive the "JACK: couldn't connect to server, is JACK running?" error and
"pure_data" does not show up in the JACK connection graph.

If I then start Dan's most recent build of test3
(Pd-0.52-0test3-x86_64-jack.app) from this email thread, choosing "jack"
from the Media menu results in no error and "pure_data" shows up in the
JACK connection graph.

Thanks and let me know if I can test other attempts to fix this. I'll keep
an eye on this thread.




On Mon, Dec 13, 2021 at 4:29 AM IOhannes m zmölnig  wrote:

> On 12/13/21 03:42, Miller Puckette via Pd-list wrote:
> >>
> >> As explained in previous emails, I don't use jack from Homebrew for my
> builds. I use the distribution from jack.org <
> https://urldefense.proofpoint.com/v2/url?u=http-3A__jack.org_=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=ycOjZIud6YrWOk_GwSKZQH8UkGH1TeCiVsjsMIlmE_FTvOHrDlkBofF6FsBNUyl-=xZhKQcor-5nubxwqw4EU2QFekoO3jau_fkGQI5knM1g=
> > which is equivalent to the old JackOSX distribution:
> >>
> >>
> https://urldefense.proofpoint.com/v2/url?u=https-3A__jackaudio.org_downloads_=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=ycOjZIud6YrWOk_GwSKZQH8UkGH1TeCiVsjsMIlmE_FTvOHrDlkBofF6FsBNUyl-=bfa_OxtCOIyvpdlj2NL0nPmVqj505twR0xAxEXWncog=
> <
> https://urldefense.proofpoint.com/v2/url?u=https-3A__jackaudio.org_downloads_=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=ycOjZIud6YrWOk_GwSKZQH8UkGH1TeCiVsjsMIlmE_FTvOHrDlkBofF6FsBNUyl-=bfa_OxtCOIyvpdlj2NL0nPmVqj505twR0xAxEXWncog=
> >
> >>
> >> You just need to download and run the installer on the build machine,
> which could also be automated via a script. People needing to use jack
> installed via Homebrew should build Pd themselves as the those libs doesn't
> seem to enable weak linking like the ones in the installer AFAICT.
> >>
> >> Dan Wilcox
> >>
> >
> > Right ho - Iohannes - I'm hoping this is something you can fix in the CI
> > builds
> >
>
> yes of course.
>
> i'd still like to understand the problem first though.
>
> my setup is: macOS X Sierra (10.7) in a VM
>
> if i install the dmg file from my CI-scripts (now that they use a
> non-broken Tcl/Tk) Pd opens up just fine.
> going to the media menu, i see two options for the audio backend:
> - standard (portaudio)
> - jack
>
> selecting "jack" i get an error on the Pd-console, saying:
>  > Can't open Jack (it seems not to be installed)
>
> this is expected, as i haven't installed jack.
>
> i then download JACK-1.9.19 from https://jackaudio.org/downloads/,
> extract it, and run the jack2.pkg found withing.
> this should install JACK.
>
> i *restart* Pd and select "jack" again, and now i get an error
>  > JACK: couldn't connect to server, is JACK running?
>
> again, tihs is expected, as i haven't started JACK.
>
> so i open up qJackCtl (also found in the download from jackaudio.org),
> and start the JACK server (i use the *dummy* audio backend, as the VM
> has no soundcard).
>
> back in Pd, i again select "jack" as the backend, and - tada - no more
> warnings *and* Pd shows up in the qjackctl graph.
>
> the binary i'm using is this one (Tcl/Tk is universal; but Pd itself is
> only amd64; this is built with JACK from homebrew):
> https://git.iem.at/pd/pure-data/-/jobs/33751/artifacts/download
>
>
> william: could you tell me where our paths deviate?
>
> gfmdsa
> IOhannes
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Pd version 0.52-0test3 released

2021-12-12 Thread William Brent
> https://urldefense.proofpoint.com/v2/url?u=http-3A__danomatika.com_=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=pUDUnwMwtM1gQzGh5pRh4tr1grCOQtmE2YH_fRaqZWamfq1MdtU8DW1Rnd4_-N9H=3NxM-gsNTnCdJpIFEI7JUaluiwPCqqY9A-2hljwiqMc=
> >
> > >> robotcowboy.com <
> https://urldefense.proofpoint.com/v2/url?u=http-3A__robotcowboy.com_=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=pUDUnwMwtM1gQzGh5pRh4tr1grCOQtmE2YH_fRaqZWamfq1MdtU8DW1Rnd4_-N9H=VMjuvJzBnHiNv9bGTMXKdzXHaGIu0eXUIjEVUY31BN8=
> >
> > >>
> > >>
> > >>
> >
> > 
> > Dan Wilcox
> > @danomatika <
> https://urldefense.proofpoint.com/v2/url?u=http-3A__twitter.com_danomatika=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=pUDUnwMwtM1gQzGh5pRh4tr1grCOQtmE2YH_fRaqZWamfq1MdtU8DW1Rnd4_-N9H=cY26l8O39zpd5pFDeTEj2kdSs5LM66tusaFtLTEYGPI=
> >
> > danomatika.com <
> https://urldefense.proofpoint.com/v2/url?u=http-3A__danomatika.com_=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=pUDUnwMwtM1gQzGh5pRh4tr1grCOQtmE2YH_fRaqZWamfq1MdtU8DW1Rnd4_-N9H=3NxM-gsNTnCdJpIFEI7JUaluiwPCqqY9A-2hljwiqMc=
> >
> > robotcowboy.com <
> https://urldefense.proofpoint.com/v2/url?u=http-3A__robotcowboy.com_=DwIFAg=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=pUDUnwMwtM1gQzGh5pRh4tr1grCOQtmE2YH_fRaqZWamfq1MdtU8DW1Rnd4_-N9H=VMjuvJzBnHiNv9bGTMXKdzXHaGIu0eXUIjEVUY31BN8=
> >
> >
> >
> >
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Pd version 0.52-0test3 released

2021-12-08 Thread William Brent
Thanks everyone for all the action on this. I've tried two Pd 0.52-0 test3
versions downloaded today from http://msp.ucsd.edu/software.html

   - "compiled for Macintosh OS 10 or later"
   - "64-bit Macintosh version for OSX 10.7 or later"

Both of these fail to recognize when I have the latest version of JACK
running and tell me that they can't open JACK. Dan's latest single-arch
build successfully recognizes the latest JACK and opens just fine on my
x86_64 Mac under Big Sur.

I'm happy to do any testing needed to help out here, so just let me know.
William




On Wed, Dec 8, 2021 at 2:02 PM Miller Puckette  wrote:

> Oops, perhaps this whole thing was a false alarm on my end...
>
> William - is it still the case that the Mac version on the website is
> failing to connect with the current version of jack?
>
> thanks
> M
>
> On Wed, Dec 08, 2021 at 07:55:03PM +0100, IOhannes m zmölnig wrote:
> > On 12/8/21 16:54, Miller Puckette via Pd-list wrote:
> > > I think it would be sensible to build the "official" Pd binary with the
> > > newest JACK - I think anyone running the older JACK can probably fall
> back
> > > to the "macosx7" compile that I can still compile :)
> > >
> > > Iohannes - is this an easy thing for you to change in the CI sys?
> >
> >
> > actually, the CI already does this...
> >
> > the relevant change to the CI configuration is here:
> > <
> https://github.com/pure-data/pure-data-ci/commit/0ef09a0bbfe46eea481715ceb09683947a604623
> >
> > (it has since been superseded, but in the core it remains the same)
> >
> > the current build logs show that the CI indeed only links against libjack
> > (and not against the framework):
> >
> > https://git.iem.at/pd/pure-data/-/jobs/33678#L2432
> >
> >
> > fdsf
> > IOhannes
>
>
>
>
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
>

-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] Pd version 0.52-0test3 released

2021-12-08 Thread William Brent
Unfortunately, that build is showing up as "damaged" for my students on Mac
OS Mojave and Big Sur, only offering the option of moving it to the trash
(see the attached screenshot). Even the usual route of doing a
right-click/open on the app leads to the same message, and in the Mac OS
security preferences it never offers the option to approve opening the app.
I can get them to successfully launch it from the command line by having
them navigate to the pd binary in the app bundle though. Or of course, just
build from source themselves. Not sure how important this is to others but
I'm doing a lot of work with JACK in my classes and nearly all of my
students are on Mac OS.


On Tue, Dec 7, 2021 at 7:40 PM Miller Puckette  wrote:

> Dan Wilcox has a build againset the new Jack:
>
> http://docs.danomatika.com/pdbuilds/0.52/Pd-0.52-0-universal-jack.zip
>
> (I think I need to include that in the (growing) list of compiled versions
> on my site, hmm...)
>
> cheers
> Miller
>
> On Mon, Dec 06, 2021 at 04:31:32PM -0500, William Brent wrote:
> > Very glad to be getting closer to 0.52-0! Once you're out of testing,
> will
> > the final Mac OS version be compiled against the latest JACK 1.9.19?
> >
> > On Mon, Dec 6, 2021 at 1:44 AM Miller Puckette via Pd-announce <
> > pd-annou...@lists.iem.at> wrote:
> >
> > > To Pd announce:
> > >
> > > Pd 0.52-0 test3 is out on the usual site:
> > >
> > > http://msp.ucsd.edu/software.htm
> > >
> > > or (source only) on github:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_pure-2Ddata_pure-2Ddata=DwIFaQ=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=5jvvsZgAffvjPdiNMZYSg0B-MN4WVfKeV_DrB9ZyBJPSudwOzfLcxY5dL4wd1peh=KkU6PkmgKEAEzmCuEs8wRNVqL0l2-lgLJm9e-lGgPSM=
> > >
> > > cheers
> > > Miller
> > >
> > >
> > >
> > > ___
> > > Pd-announce mailing list
> > > pd-annou...@lists.iem.at
> > >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_listinfo_pd-2Dannounce=DwIFaQ=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=5jvvsZgAffvjPdiNMZYSg0B-MN4WVfKeV_DrB9ZyBJPSudwOzfLcxY5dL4wd1peh=4-gNEigRA6NlpOfziY9Sd-7QB89oMHK6IWLh5uxpW14=
> > >
> > > ___
> > > Pd-list@lists.iem.at mailing list
> > > UNSUBSCRIBE and account-management ->
> > >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.puredata.info_listinfo_pd-2Dlist=DwIFaQ=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=5jvvsZgAffvjPdiNMZYSg0B-MN4WVfKeV_DrB9ZyBJPSudwOzfLcxY5dL4wd1peh=04cBE_LYxq_kUrXKFX8rUYNzyVbs1QPEl1tsT_yZ1iM=
> > >
> >
> >
> > --
> > William Brent
> >
> > “Great minds flock together”
> > Conflations: conversational idiom for the 21st century
> >
> >
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.conflations.com=DwIFaQ=-35OiAkTchMrZOngvJPOeA=XprZV3Fxus2L1LCw80hE4Q=5jvvsZgAffvjPdiNMZYSg0B-MN4WVfKeV_DrB9ZyBJPSudwOzfLcxY5dL4wd1peh=dLfwD8wiQgpojH6cC0nSQoyZTEs-MC2LzfXvLh_osSY=
>


-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] BeatSeeker

2021-03-10 Thread William Brent
There's also [tempo~] in timbreID.

On Wed, Mar 10, 2021, 7:14 PM Chris McCormick  wrote:

> On 11/3/21 6:04 am, Simon Iten wrote:
> > Has anybody done anything like this in PD?
> >
> > https://www.ableton.com/en/packs/beatseeker/
> >
> > Basically a live drum to midi clock generator
>
>
> You could use piem's aubio to do this. There is a Pd external.
>
> https://aubio.org/
>
> Chris.
>
>
> --
> https://mccormick.cx/
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] mkdir in motex/system

2020-09-27 Thread William Brent
I used [motex/system] in a recent project because it was the only object
that can create directories in Linux, Mac OS, and Windows. So I can confirm
it loads and works on all platforms. But yes...it's very minimal, doesn't
report errors, and you have to deal with backlashes for the Windows case.


On Sun, Sep 27, 2020 at 2:03 PM oliver  wrote:

> Christof Ressi wrote:
> >> but all I get is error messages
> > Would you mind sharing the error messages? ;-)
>
> i guess what christof is pointing at is that [system] doesn't give us
> any error messages at all ;-)
>
> ([system] is avery minimalist object, as far as i can guess from a look
> at the source code).
>
> @David:
>
> you have to use double backslashes as path seperators. single
> backslashes are just used to escape special characters in PD.
>
> so, to create a directory called my_temp on partition D, you would write:
>
> [mkdir D:\\my_temp(
> |
> [system]
>
> Your OS version would be
> > helpful as well.
>
> must be windows, right ?
> i don't think [system] even loads in OSX or LINUX
>
> best
>
> oliver
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Create new directory from patch

2020-08-30 Thread William Brent
Sounds perfect, thank you!

On Sun, Aug 30, 2020 at 1:44 PM oliver  wrote:

> William Brent wrote:
> > Hi all,
> >
> > Can anyone share a strategy for triggering creation of a new directory
> > that works on Linux, Mac OS, and Windows? I've been using mkdir commands
> > via [shell] for Linux and Mac, but don't know of an option for Windows.
> >
>
>
> [system] from the MOTEX library
> (unfortunately there's no [shell] on windows)
>
> it's quite basic and does no error report, but it works (still). thanks
> to PD now admitting backslashes can be used easily if used carefully
>
> try something like [dir D:\Temp > D:\dir_result.txt(
> or (in your case) [mkdir D:\testdir(
>
> (or any other harddrive letter or directory.
> "D" is just my personal data partition,
> so i'm not messing around on my system partition)
>
> best
>
> oliver
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] Create new directory from patch

2020-08-30 Thread William Brent
Hi all,

Can anyone share a strategy for triggering creation of a new directory that
works on Linux, Mac OS, and Windows? I've been using mkdir commands via
[shell] for Linux and Mac, but don't know of an option for Windows.

-- 
William Brent

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Key chord finder

2020-07-04 Thread William Brent
There's a key estimation patch in the examples package for timbreID using
the [chroma~] object. It calculates a moving average pitch class profile
over whatever amount of time you want, and compares it to PCPs for each key
to get the best match. I just made it as a proof of concept example, but it
seemed to work well with Bach WTC pieces. Hope it helps...

William

On Sat, Jul 4, 2020 at 2:26 AM Ronni Montoya 
wrote:

> Hi, is there any key/chord finder external , abstraction or patch
> available out there?
>
>
> Im looking something like this in pd:
> https://www.hornetplugins.com/plugins/hornet-songkey-mk3/
>
> Any idea?
>
>
> Cheers
>
> R.
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Can someone build midifile for mac and linux?

2020-06-07 Thread William Brent
Hmm, Gmail won't let me attach the Mac OS d_fat or pd_darwin here. I'll
upload it later today and send you a link directly...

On Sun, Jun 7, 2020 at 1:07 PM William Brent 
wrote:

> Here's a build of midifile for Linux x86_64. Switching over to Mac OS now
> to get you that as well.
>
> On Sun, Jun 7, 2020 at 11:37 AM João Pais  wrote:
>
>> Hi list,
>>
>> Martin Peach has released a new version of midifile. But since in the
>> present situation he's not able to get to his computers, the binaries
>> for the mac and linux versions can't be built and uploaded to deken.
>>
>> Would it be possible for someone with build powers to build these two
>> binaries? Here are the instructions sent by Martin:
>>
>>
>> You can get the code from the sourceforge repository:
>> svn checkouthttps://svn.code.sf.net/p/pure-data/svn/trunk  pure-data-svn
>>
>> I added the pd-lib-builder to the mrpeach directory in trunk/externals
>> so you just have to go there and type 'make' and see if it works.
>>
>>
>>
>>
>> If someone can send that to me, I can make them arrive to the correct
>> place.
>>
>> Best,
>> Joao
>>
>>
>>
>>
>> _______
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list
>>
>
>
> --
> William Brent
> www.williambrent.com
>
> “Great minds flock together”
> Conflations: conversational idiom for the 21st century
>
> www.conflations.com
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Can someone build midifile for mac and linux?

2020-06-07 Thread William Brent
Here's a build of midifile for Linux x86_64. Switching over to Mac OS now
to get you that as well.

On Sun, Jun 7, 2020 at 11:37 AM João Pais  wrote:

> Hi list,
>
> Martin Peach has released a new version of midifile. But since in the
> present situation he's not able to get to his computers, the binaries
> for the mac and linux versions can't be built and uploaded to deken.
>
> Would it be possible for someone with build powers to build these two
> binaries? Here are the instructions sent by Martin:
>
>
> You can get the code from the sourceforge repository:
> svn checkouthttps://svn.code.sf.net/p/pure-data/svn/trunk  pure-data-svn
>
> I added the pd-lib-builder to the mrpeach directory in trunk/externals
> so you just have to go there and type 'make' and see if it works.
>
>
>
>
> If someone can send that to me, I can make them arrive to the correct
> place.
>
> Best,
> Joao
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com


midifile.pd_linux
Description: application/puredata-external-linux
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] pd 0.51-0test2 for Macontosh - another try at code signing

2020-05-30 Thread William Brent
Hi all, thanks very much for this work.

I'm testing on Catalina 10.15.5. I installed Pd-0.51-0test2 when I had
System Integrity Protection and Gatekeeper disabled. I got an initial
warning asking if I wanted to open the software, and a request for
microphone access the first time I turned on DSP. Also got a dialog
confirming that I wanted to allow network comm when loading a patch with
[netsend]/[netreceive]. After that, I've had no issues, and all of the
externals I've tried so far are working with no increased load time that I
can notice. I've used ofelia, tof, hcs, timbreID, and a DSP extern of mine
for a current project - all working fine.

Since that initial run I re-enabled SIP and Gatekeeper to see if that would
affect performance. After reboot, it brought up the above
warning/confirmation dialogs again, but then no problems and still no
increased loading times here.

PS: I happen to have a project that involves lots of TCP messaging between
remote networked players and we're meeting twice weekly these days, so I
can look for any issues related to network performance. And I'm happy to
test/confirm any specific details of this release - I have the
blessing/curse of 3 separate machines running Ubuntu 18.04.4 LTS, Mac OS
Catalina, and Windows 10.


On Sat, May 30, 2020 at 4:07 AM Kevin Haywood via Pd-list <
pd-list@lists.iem.at> wrote:

> For me, on almost-latest macOS (10.15.4, although 10.15.5 just came out),
> test2 will not load externals at all.
>
> I get the "… couldn’t create” message in the Pd Window, but whereas
> previously I could quit Pd, go to System Preferences > Security & Privacy
> and there would be a little message telling me the last piece of software
> that was blocked (and allowing me to unblock it), that message no longer
> appears.
>
> To make matters worse, when I go back to 0.50-2, none of my externals will
> load there, either, now that I’ve run test2.
>
> Yikes!
> Kevin
>
>
> > On May 29, 2020, at 4:01 PM, Miller Puckette via Pd-announce <
> pd-annou...@lists.iem.at> wrote:
> >
> > To Pd-announce:
> >
> > Pd 0.51-0test2 is up.  It should fix the code signing problem in test1
> ofr
> > Macintoshes.  No difference from test1 on other OSes.
> >
> > http://msp.ucsd.edu/software.htm
> >
> > cheers
> > Miller
> >
> >
> >
> >
> > ___
> > Pd-announce mailing list
> > pd-annou...@lists.iem.at
> >
> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-announce__;!!Mih3wA!QGc5i8PTe-F_4dnjJDKiw64MilFuPqW8NHzUgNx4wPlVBsdDkpvll4rCcljYD_zx$
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!QGc5i8PTe-F_4dnjJDKiw64MilFuPqW8NHzUgNx4wPlVBsdDkpvll4rCchQiXOi8$
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Error running timbreID external on MacOS 10.14.6

2019-12-03 Thread William Brent
Hi Justin,
On top of what Iohannes said, the timbreID mean object is [tID_mean], not
[mean]. I did it that way to avoid conflicts with various other averaging
objects out there. There might be a very old version out there that has an
object called [mean], but you should use the latest version. Also keep in
mind that you now have to load timbreID using [declare -lib
timbreID/timbreIDLib] since it's a multi-object library within a single
binary. The version on deken should work with 32- or 64-bit Pd.
William


On Mon, Dec 2, 2019 at 9:12 PM Justin Martin  wrote:

> When I try to create a timbre object (in this case [mean]) I get the
> following error:
>
> .. couldn't create
> /Applications/Pd-0.50-0.app/Contents/Resources/Scripts/../extra/tID/mean.pd_darwin:
> dlopen(/Applications/Pd-0.50-0.app/Contents/Resources/Scripts/../extra/tID/mean.pd_darwin,
> 10): no suitable image found.  Did find:
> /Applications/Pd-0.50-0.app/Contents/Resources/Scripts/../extra/tID/mean.pd_darwin:
> no matching architecture in universal wrapper
> /Applications/Pd-0.50-0.app/Contents/Resources/extra/tID/mean.pd_darwin:
> no matching architecture in universal wrapper
>
> Does anyone know what the problem is?
>
> Thanks!
> Justin
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] timbreID 0.8.1

2019-08-03 Thread William Brent
Thanks for all the thorough replies! I'll try working this in for the next
update.



On Fri, Aug 2, 2019, 12:30 PM Christof Ressi  wrote:

> right, so William could declare only "setup" with
> __attribute__((visibility("default"))) and in your makefile:
>
> ifeq ($(make-lib-executable),yes)
>   ldflags := -fvisibility=hidden
> endif
>
> Note that this doesn't work on Windows because MinGW ignores visibility
> attributes. But there's a solution:
>
> On MinGW, GCC exports all non-static symbols unless at least one symbol is
> declared with __declspec(dllexport).
>
> For Windows, simply declare the library's "setup" function with
> __declspec(dllexport).
> "make-lib-executable=yes" -> only the "setup" function is exported.
> "make-lib-executable=no" -> the file containing the "setup" function won't
> be compiled, so all other non-static symbols are exported (as usual).
>
> Christof
>
>
> > Gesendet: Freitag, 02. August 2019 um 17:34 Uhr
> > Von: "katja" 
> > An: Pd-List 
> > Betreff: Re: [PD] [PD-announce] timbreID 0.8.1
> >
> > On 8/2/19, Christof Ressi  wrote:
> > > ah, for this to work you'd have to make sure that "timbreID_setup" is
> not
> > > exported... pd-lib-builder exports all non-static functions by
> default...
> >
> > ... because gcc exports all non-static functions by default. No need
> > to hack Makefile.pdlibbuilder, a library makefile can overrule the
> > default with:
> >
> > ldflags := -fvisibility=hidden
> >
> >
> >
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
> >
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] timbreID 0.8.1

2019-08-02 Thread William Brent
Maybe there's a trick someone can suggest, but I didn't think that was
possible. There's a timbreID.c source file for the [timbreID] object in the
library, and a timbreIDLib.c source file for building the whole library as
a single binary. That calls the _setup() functions for all the individual
objects and also has a timbreIDLib_setup function itself. So making the
names the same would result in two timbreID_setup() calls that are supposed
to do two different things. I never looked into ways to work around that...



On Thu, Aug 1, 2019 at 4:42 PM Alexandre Torres Porres 
wrote:

>
>
> Em qui, 1 de ago de 2019 às 13:27, William Brent 
> escreveu:
>
>> Hi Alex, thanks for taking a look. Yes - the reason I ended up calling
>> the single library binary timbreIDLib is that there was already a
>> [timbreID] object in the library. I just wanted to avoid confusion. Looking
>> back, I wish I had named that object something else. At this point I think
>> I'd rather live with an awkwardly named library rather than change the name
>> of any individual object within it, but I'm open to suggestions.
>>
>
> My suggestion was to change the name of library, not the object. But I
> don't really understand the challenges involved (haven't really checked the
> code structure). Though I think it's feasible. What do you say? Have you
> considered it and thought it wasn't possible or worth it?
>
> cheers
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [PD-announce] timbreID 0.8.1

2019-08-01 Thread William Brent
Hi Alex, thanks for taking a look. Yes - the reason I ended up calling the
single library binary timbreIDLib is that there was already a [timbreID]
object in the library. I just wanted to avoid confusion. Looking back, I
wish I had named that object something else. At this point I think I'd
rather live with an awkwardly named library rather than change the name of
any individual object within it, but I'm open to suggestions.

On Mon, Jul 29, 2019 at 3:55 PM Alexandre Torres Porres 
wrote:

> I assume maybe the issue is that you also have the timbreID object? But I
> also don't really think that could be a necessarily a problem, though I
> haven't tested throughly...
>
> Em seg, 29 de jul de 2019 às 04:32, Alexandre Torres Porres <
> por...@gmail.com> escreveu:
>
>> Hi William, congrats on the update.
>>
>> I got one question, any reason why not to call the library binary just
>> "timbreID" instead of "timbreIDlib"?
>>
>> This imposes a minor inconvenience that the user needs to specify the
>> path and the library name, whereas if it were called "timbreID", you
>> wouldn't need to worry to specify the path, as Pd would automatically find
>> it.
>>
>> Not sure if you had to do it this way, but I'd suggest you to consider
>> changing it.
>>
>> cheers
>>
>> Em sáb, 29 de jun de 2019 às 11:42, William Brent <
>> william.br...@gmail.com> escreveu:
>>
>>> Hi all,
>>>
>>> I've just finished an update for timbreID, version 0.8.1. It's available
>>> via deken for Linux/Mac/Win, and at https://github.com/wbrent/timbreID.
>>> The examples package is now available via the github README.
>>>
>>> Here's a summary of changes below and a quick video of the updated
>>> timbre space example, which has a lot of new features:
>>> http://williambrent.conflations.com/mov/timbre-space-june-2019.mp4
>>>
>>> Any and all feedback is welcome!
>>> William
>>>
>>>
>>> Objects
>>>
>>>- new [chroma] and [chroma~] objects for pitch class profile of
>>>spectrum
>>>- new [phaseSpec] and [phaseSpec~] objects for phase spectrum
>>>- new [tempo~] object for tempo estimation
>>>- new [featureNorm] and [featureDelta] objects for feature processing
>>>- new functionality for [featureAccum]
>>>   - running sum of feature input
>>>   - running mean of feature input
>>>   - simple moving average of feature input
>>>- additional methods for [tabletool] (overlap_add, permute, drip,
>>>as_set, dump_range, hps, valleys)
>>>- [timbreID] can now output its database formatted as a FANN
>>>training file for use with the FANN neural net library
>>>- new zero-padding feature
>>>
>>>
>>> Examples
>>>
>>>- automation via audio features: gated reverb, multi-band compressor
>>>- improved vocoder
>>>- chromagram plotting
>>>- key estimation
>>>- audio segmenting based on BFCC deltas
>>>- significant update to timbre space example
>>>   - uses new "chain_" message functionality to avoid redundant FFTs
>>>   for much faster batch analysis
>>>   - works on all platforms with Pd 0.49 and Gem 0.94
>>>   - keyboard commands for navigation/mouse functions
>>>   - new mouseover functionality to play all grains within mouse
>>>   radius in sequence (according to distance from center) or in random 
>>> order
>>>   - grain pitch transposition
>>>   - map features to Gem sphere size
>>>   - new "constellation" feature for making sequences of grains
>>>   - a constellation control panel for managing multiple parallel
>>>   sequences, changing sequence playback behavior, level, speed, rhythm
>>>
>>>
>>>
>>> --
>>> William Brent
>>> www.williambrent.com
>>>
>>> “Great minds flock together”
>>> Conflations: conversational idiom for the 21st century
>>>
>>> www.conflations.com
>>> ___
>>> Pd-announce mailing list
>>> pd-annou...@lists.iem.at
>>> https://lists.puredata.info/listinfo/pd-announce
>>> ___
>>> Pd-list@lists.iem.at mailing list
>>> UNSUBSCRIBE and account-management ->
>>> https://lists.puredata.info/listinfo/pd-list
>>>
>>

-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] timbreID 0.8.1

2019-06-29 Thread William Brent
Hi all,

I've just finished an update for timbreID, version 0.8.1. It's available
via deken for Linux/Mac/Win, and at https://github.com/wbrent/timbreID. The
examples package is now available via the github README.

Here's a summary of changes below and a quick video of the updated timbre
space example, which has a lot of new features:
http://williambrent.conflations.com/mov/timbre-space-june-2019.mp4

Any and all feedback is welcome!
William


Objects

   - new [chroma] and [chroma~] objects for pitch class profile of spectrum
   - new [phaseSpec] and [phaseSpec~] objects for phase spectrum
   - new [tempo~] object for tempo estimation
   - new [featureNorm] and [featureDelta] objects for feature processing
   - new functionality for [featureAccum]
  - running sum of feature input
  - running mean of feature input
  - simple moving average of feature input
   - additional methods for [tabletool] (overlap_add, permute, drip,
   as_set, dump_range, hps, valleys)
   - [timbreID] can now output its database formatted as a FANN training
   file for use with the FANN neural net library
   - new zero-padding feature


Examples

   - automation via audio features: gated reverb, multi-band compressor
   - improved vocoder
   - chromagram plotting
   - key estimation
   - audio segmenting based on BFCC deltas
   - significant update to timbre space example
  - uses new "chain_" message functionality to avoid redundant FFTs for
  much faster batch analysis
  - works on all platforms with Pd 0.49 and Gem 0.94
  - keyboard commands for navigation/mouse functions
  - new mouseover functionality to play all grains within mouse radius
  in sequence (according to distance from center) or in random order
  - grain pitch transposition
  - map features to Gem sphere size
  - new "constellation" feature for making sequences of grains
  - a constellation control panel for managing multiple parallel
  sequences, changing sequence playback behavior, level, speed, rhythm



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [sigmund~] table analysis crash

2019-06-01 Thread William Brent
Hi all,
I just came across a crash with [sigmund~ -t]. I triggered it by
accidentally feeding sigmund~ an analysis request with a samplerate of 0.
It doesn't happen with 32bit Pd, only 64bit. I'm using:

Pd-0.49-1
Mac OS 10.13.6

I've attached a simple patch to demonstrate.



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com


sigmundCrash64.pd
Description: Binary data
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] sharpness external? Where to get timbreID/Libxtract?

2019-05-30 Thread William Brent
The latest version of timbreID is 0.7.8, and I'm preparing some work for
another update this summer. So the v0.5 binaries on that downloads page are
really old! I've been having fun lately revisiting the old timbre space
example to add various kinds of functionality. Check out the
"constellation" feature for grain sequencing about a minute into this video:

http://williambrent.conflations.com/mov/timbreSpace2019A.mp4

There are options in the constellation control panel to make all kinds of
time-locked parallel sequences...lots of fun, especially for composing
percussion patterns in full sample mode rather than granular. I need to
resurrect my website in the near future and post a new examples package
there. Though I plan to continue distributing the binary solely through
deken. Alex: it looks like the issue you were having was with all deken
packages, and it's already been fixed.



On Thu, May 30, 2019 at 2:47 AM Peter P.  wrote:

> * Alexandre Torres Porres  [2019-05-30 04:00]:
> > Howdy, I'm bringing my old masters' and phd research back to life,
> getting
> > the dust out of it and creating a brand new github repository for it.
> This
> > was actually never made publicly available, I just kept it and shared
> with
> > whoever asked for it. It's a bunch of psychoacoustic tools.
> >
> > Anyway, I'm cleaning it up, trying to document it and make it more
> > presentable. I'm also expanding it and improving it, cause I've learned a
> > thing or two over the years.
> >
> > One new thing I did was a sharpness~ model as a vanilla patch, and I
> wanted
> > to compare with others out there to see if it's working well. Back in the
> > day, I knew timbreID and Libxtract had those, but I can't find these to
> > download anymore. I already opened issues in jamie's and william's
> > repositories but I wonder if anyone here has these externals laying
> around
> > (preferrably for mac) so I can test it.
>
> Now a quick search on startpage.com yielded this
> https://puredata.info/downloads/timbreid
> not sure how current these binaries are...
>
>
>
> _______
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] table reverse lookup

2018-09-04 Thread William Brent
The "equals" method of [tabletool] returns the indices of a value you're
searching for, as well as the number of occurrences.



On Tue, Sep 4, 2018, 5:19 PM Roman Haefeli  wrote:

> Hi
>
> I'm using a couple of same-size tables to store tuples of numbers so
> that their index is there ID. When (tab)reading all tables at the given
> index, I get back the hole tuple. Mostly I have an ID and I need to
> look up some value which is obviously an inexpensive task.
>
> But sometimes I know two values (the combination of the two values is
> unique) and I need to find the corresponding ID (index where both
> values are found in their respective tables). I'm currently doing a
> reverse lookup by scanning the table(s) which is more expensive than
> the forward lookup.
>
> Let's assume memory usage is less of a concern, is there an
> complementary way to store the data (x tuples of same size) that allows
> for a quick reverse lookup?
>
> ID -> (x, y): easy
>
> (x, y) -> ID: ??
>
> Roman
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] incorrect checksum for freed object - object was probably modified after being freed.

2018-08-26 Thread William Brent
Thanks for the advice IOhannes. I'll look into that aspect of things next...

On Fri, Aug 24, 2018 at 2:32 PM IOhannes m zmölnig  wrote:

> On 8/23/18 10:15 PM, William Brent wrote:
> > Just to update this thread: I'm now using the pd-lib-builder Makefile and
> > have cleaned up the timbreID repo.
>
> cool. thanks.
> however and unfortunately, cleaning up a repo is not a very easy task.
> but at least it's a good start :-)
>
> since cloning the repo will download the entire history of it, just
> removing big files with a commit doesn't hep very much: they are still
> all there.
>
> i guess the completely proper way would be:
> - remove all the binaries and example data from the repositories *history*
> - use git-lfs for the example data.
>
> gfmards
> IOhannes
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] incorrect checksum for freed object - object was probably modified after being freed.

2018-08-23 Thread William Brent
Just to update this thread: I'm now using the pd-lib-builder Makefile and
have cleaned up the timbreID repo.

Federico - I still can't get your patch to crash...can you write me off
list and explain exactly how to duplicate it?



On Tue, Aug 21, 2018 at 4:24 AM IOhannes m zmoelnig  wrote:

> On 2018-08-21 01:35, Fede Camara Halac wrote:
> > Hi Will,
> >
> > Thanks so much, yes! I'm puzzled. I've even compiled single-precision
> fftw and timbreID and still have the crash. It might be my old mac or
> something I must have in my environment then that I can't really pin down...
> >
>
> not necessarily.
> memory errors are notorious for *not always* breaking the system:
> depending on memory alignment and (prior) usage, the content of an
> accessed memory block might contain expected data (mostly all NULLs) or
> some garbage, leading to crashes.
>
> you would need to compile timpleID with debugging symbols and without
> stripping, to see where the problems start.
>
> for whatever reasons, timbreID does not use the pd-lib-builder Makefile
> which would make this very simple, but some self-made one.
>
>
> mgasrd
> IOhannes
>
> PS: i was tempted to fix this and open a PR on github, but the
> repository contains hundred of megabytes of unneccesary data (compiled
> objects of old versions of the library for multiple OS; zipfiles of data
> which is also present in the archive,...) which made me bang my head on
> the table repeatedly so i gave up doing anything.
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] incorrect checksum for freed object - object was probably modified after being freed.

2018-08-21 Thread William Brent
Yes, I should spend some time incorporating pd-lib-builder and learning how
to maintain a repository properly. Hopefully I'll be able to work on those
things soon.

On Tue, Aug 21, 2018 at 4:24 AM IOhannes m zmoelnig  wrote:

> On 2018-08-21 01:35, Fede Camara Halac wrote:
> > Hi Will,
> >
> > Thanks so much, yes! I'm puzzled. I've even compiled single-precision
> fftw and timbreID and still have the crash. It might be my old mac or
> something I must have in my environment then that I can't really pin down...
> >
>
> not necessarily.
> memory errors are notorious for *not always* breaking the system:
> depending on memory alignment and (prior) usage, the content of an
> accessed memory block might contain expected data (mostly all NULLs) or
> some garbage, leading to crashes.
>
> you would need to compile timpleID with debugging symbols and without
> stripping, to see where the problems start.
>
> for whatever reasons, timbreID does not use the pd-lib-builder Makefile
> which would make this very simple, but some self-made one.
>
>
> mgasrd
> IOhannes
>
> PS: i was tempted to fix this and open a PR on github, but the
> repository contains hundred of megabytes of unneccesary data (compiled
> objects of old versions of the library for multiple OS; zipfiles of data
> which is also present in the archive,...) which made me bang my head on
> the table repeatedly so i gave up doing anything.
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] FANN external for neural nets

2018-07-25 Thread William Brent
Hi all,

I wanted to try out Davide Morelli's [ann_mlp] object, which uses the FANN
library for neural nets, and found that some of the FANN functions it uses
no longer work as of FANN 2.0. I decided to take it on and update things to
get basic functionality going, and then went further to add access to
additional/new FANN options and create an in-depth help file as well.

It's been useful to me in timbre classification problems, and if there
isn't already a current go-to neural net option for Pd that I just don't
know about, I feel like this would be a great tool to put out there again.
I'm happy to share this source code/help file, but I wanted to see if
[ann_mlp] is something Davide or anyone else still wants to maintain as
part of the [ann] library. I also see that Iohannes and Georg Holzmann put
in work on [ann], and I'm wondering about its status for the future. I
don't think I'll be taking on updating the other objects in [ann], so one
option would be for me to put my updated version of Davide's [ann_mlp] out
in the world on its own for now. I've been calling it [fann] in my own use
since it's a direct interface for FANN functions.

Any thoughts on this? Is there another neural net package for Pd that I'm
totally ignorant of? A more current version of [ann] using FANN 2.0 that I
just didn't come across in my searches?

William



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] rescan audio devices

2018-07-08 Thread William Brent
Hi Derek,
I know it's not exactly the feature you want (and maybe you already know
about it), but there is the "Save All Preferences" option, which will write
your current audio and MIDI device selections to a prefs file that is used
the next time Pd starts up. So that way at least you don't have to
re-select your MOTU each time you start Pd. I always close Pd before
putting my computer to sleep or shutting down because disconnecting my
audio device while Pd is open and DSP running leaves Pd hanging
unresponsive. That's the best practice I can think of with the current
features. Automatically re-scanning for new audio/MIDI devices while Pd is
running would be a nice thing to have down the road.




On Sun, Jul 8, 2018 at 1:46 PM Derek Holzer  wrote:

> Dear list,
>
> Is there a way to get Pd to rescan available audio devices (on OSX)?
>
> For example, if I use my MOTU, then disconnect it (because I'm leaving
> studio and want to take laptop with me) but leave Pd open, then Pd does
> not see it when I plug it back in next time. Very inconvenient when I am
> in the middle of a project!
>
> I checked --help but AFAIK there is no internal message there to rescan
> devices, unless --listdev does that. But Pd does not accept that as an
> internal message, only a startup flag.
>
> Suggestions appreciated!
> Thx,
> Derek
>
> --
> derek holzer
> noise.art.technology
> http://macumbista.net
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] dryUp~ external not creating

2018-07-07 Thread William Brent
t;> > clang: error: unknown argument: '-ftree-vectorizer-verbose=2'
>>
>> looks like this is flag is GCC only. just remove it and try to compile
>> again.
>>
>> Gesendet: Freitag, 06. Juli 2018 um 19:30 Uhr
>> Von: "José Rafael Subía Valdez" 
>> An: PD-List 
>> Betreff: [PD] dryUp~ external not creating
>>
>> Dear List,
>>
>> I am using William Brent's [dryUp~] object for a project, I now have to
>> go into the studio to mix the piece, but my University's computer is
>> failing to create the external. I have set the correct paths but it does
>> not create the object. Furthermore, I try to run the help file through the
>> terminal and this is the message I get:
>>
>> eca-alsems-m003:MacOS s1469080$ ./Pd
>> /Volumes/chss/eca/users/s1469080/Pd/dryUp/dryUp\~-help.pd
>>
>> 2018-07-06 18:16:32.574 pd[3581:19936] Error loading
>> /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio:
>> dlopen(/Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio,
>> 262): no suitable image found.  Did find:
>>
>> /Library/Audio/Plug-Ins/HAL/DVCPROHDAudio.plugin/Contents/MacOS/DVCPROHDAudio:
>> no matching architecture in universal wrapper
>>
>> 2018-07-06 18:16:32.575 pd[3581:19936] Cannot find function pointer
>> NewPlugIn for factory C5A4CE5B-0BB8-11D8-9D75-0003939615B6 in
>> CFBundle/CFPlugIn 0x1004010f0
>>  (bundle, not loaded)
>>
>> Pt_Start() called
>>
>>
>> I have no Idea what plugin these messages refer to, and the problem is
>> that it is the computer in the studio and the  University does not give me
>> privileges to delete the plug-in in question to see if that is the issue.
>>
>> Pd window does not give me any type of architecture error.
>>
>> If I try to compile the object with make I get:
>>
>> eca-alsems-m003:dryUp s1469080$ make
>>
>> cc -DPD -I../..//src -Wall -W -g -fPIC -arch i386 -arch ppc
>> -mmacosx-version-min=10.4 -ftree-vectorize -ftree-vectorizer-verbose=2
>> -fast -o "dryUp~.o" -c "dryUp~.c"
>>
>> clang: error: unknown argument: '-ftree-vectorizer-verbose=2'
>>
>> make: *** [dryUp~.o] Error 1
>>
>>
>> which might be more of the reason the object is not creating?
>>
>> I am on a
>>
>> OSX 10.10.5 "yosemite"
>> Mac Pro (Late 2013),
>> Processor: 3.5 GHz 6-Core Intel Xeon E5
>> RAM: 16 GB 1866 MHz DDR3 ECC
>>
>> any help is deeply appreciated
>>
>> --
>>
>> José Rafael Subía Valdez
>> www.jrsv.net[http://www.jrsv.net]
>>
>>
>>  ___ Pd-list@lists.iem.at
>> mailing list UNSUBSCRIBE and account-management ->
>> https://lists.puredata.info/listinfo/pd-list[https://lists.puredata.info/listinfo/pd-list]
>>
>
>
>
> --
> José Rafael Subía Valdez
> www.jrsv.net
>
>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Piano roll sequence display

2018-05-01 Thread William Brent
Thanks for all the responses, looks like one of these options will work for
what I need.

On Mon, Apr 30, 2018 at 4:13 PM, Roman Haefeli <reduz...@gmail.com> wrote:

> On Mon, 2018-04-30 at 11:20 -0400, William Brent wrote:
> > Has anyone done something like this using [struct]/[polygon], even
> > just for sequence display purposes and not editable via mouse
> > clicking/dragging? I did a quick search of the archives but haven't
> > found anything.
>
> There is unstep[1] in netpd, which is a sequencer abstractions that
> some instruments use. It's only able to trigger notes and has no notion
> of note lengths or velocity, but number of rows and columns can be
> dynamically set. It's based on an abstraction called ungrid[2] which
> works also outside the netpd context and which comes a with a proper
> help.
>
> [1] https://netpd.org/~roman/tmp/unstep.png
> [2] https://github.com/reduzent/netpd-instruments/
> blob/master/abs/ungrid.pd
>
> Roman
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] Piano roll sequence display

2018-04-30 Thread William Brent
Has anyone done something like this using [struct]/[polygon], even just for
sequence display purposes and not editable via mouse clicking/dragging? I
did a quick search of the archives but haven't found anything.


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Normaliizing sinus mix

2018-04-30 Thread William Brent
Maybe I'm misunderstanding what you're asking, but if the waveform is
visually outside of the +1/-1 table bounds, the peak amplitude has to be
greater than 1.0 too. Peak amplitude is the maximum of the absolute value
of a waveform...max(abs(x)). When I run

sinesum 512 1 0.5 0.25;

I get a peak amplitude of 1.38751. Dividing all samples in the table by
that value makes the new peak 1.0, and all other values scaled
proportionally. So if you want to normalize without using the built-in
"normalize" function, you can safely do it this way.

On Mon, Apr 30, 2018 at 4:25 AM, João Pais <jmmmp...@gmail.com> wrote:

> Hi William,
>
>
> Hi Joao, you need to find the peak amplitude, max(abs(x)), and divide all
> samples by that.
>
>
> I'm not sure: if I use the amplitudes 1 0.5 0.25, the peak amplitude is 1,
> and the wave is clearly outside of the 1/-1 boundaries.
>
> Basically what I'm trying to do is to find out what is the formula that
> does the "normalize" function.
>
> Best,
>
> Joao
>
> On Apr 29, 2018 7:55 PM, "João Pais" <jmmmp...@gmail.com> wrote:
>
> Hello list,
>
> I was curious about the following math issue: when defining a waveform
> using "sinesum 0.8 0.2 0.1", what would be the formula to normalize the
> wave to 1?
> I tried adding all the values (=1.1 in this case), getting the inverse
> value and multiplying the list with that. Although the sum of the values
> is 1, the resulting wave isn't normalized to 1 the same way the
> "normalize
> 1" command would do it. So I imagine some higher math is required?
>
> Also, is the process the same if the wave components are harmonic or not
> (that is, multiples of the base frequency)?
>
> Best,
>
> jmmmp
>
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Normaliizing sinus mix

2018-04-29 Thread William Brent
Hi Joao, you need to find the peak amplitude, max(abs(x)), and divide all
samples by that.


On Apr 29, 2018 7:55 PM, "João Pais"  wrote:

Hello list,

I was curious about the following math issue: when defining a waveform
using "sinesum 0.8 0.2 0.1", what would be the formula to normalize the
wave to 1?
I tried adding all the values (=1.1 in this case), getting the inverse
value and multiplying the list with that. Although the sum of the values
is 1, the resulting wave isn't normalized to 1 the same way the "normalize
1" command would do it. So I imagine some higher math is required?

Also, is the process the same if the wave components are harmonic or not
(that is, multiples of the base frequency)?

Best,

jmmmp

___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Best practices for pitch shifting a sample?

2018-03-26 Thread William Brent
Hi Andrea, check out the technique described in section 9.6 of Miller's
book: Phase bashing. It's implemented as I10.phase.bash.pd in Pd's built-in
documentation. It's more complicated than the doppler-based shifting you're
looking at, but it's dramatically better for preserving the timbre of the
original input signal. Doppler and playback speed solutions (which is what
granular pitch shifting usually involves) will stretch and contract the
spectral envelope, which can cause serious aliasing. There are also the
pitch halving and doubling techniques in E03.octave.divider.pd and
G06.octave.doubler.pd, which add or remove harmonics in ways that don't
disturb the spectral envelope too much and therefore still sound natural.
Of course, then you're limited to octave jumps which is probably not what
you want.

I know you're not looking for extern suggestions, but if you download
[tune~] from deken, you can see how I adapted the phase bash patch for
real-time use. It might be useful in connection with Miller's original
patch for understanding the technique.



On Mon, Mar 26, 2018 at 11:59 AM, <afl...@inventati.org> wrote:

> Hello,
>
> I started thinking about this problem because I was doing some frequency
> modulation, but when I tried to change the carrier frequency directly with
> notein and mtof~  there were sometimes unpredictable results (which can
> sometimes, but not always, be remedied by maintaining a fixed ratio between
> the carrier and modulation frequencies).
>
> DAWs like Ableton allow you to select a sample (such as a kick drum) and
> then play it at a bunch of different pitches (i.e. with a midi keyboard).
> How do they accomplish this? Is it with variable delay?
>
> I've been looking at the section on pitch shifting in Puckette's book (
> http://msp.ucsd.edu/techniques/latest/book-html/node115.
> html#sect7.pitchshift), but I thought I would ask if there's an easier
> way before I take the plunge.
>
> I've tried granular synthesis but it doesn't preserve the timbre very well.
>
> To be clear, I don't just want suggestions of externals, I actually want
> to program it myself (in pd-vanilla)
>
> Best,
> Andrea
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
> stinfo/pd-list
>



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] library updates/releases

2018-03-26 Thread William Brent
Hi all,

In an effort to get organized and share work more effectively, I made git
repos for some ongoing projects and some new ones. I've gotten to a
stopping place for now, and uploaded the following items to deken. Note
that these were packaged with deken 4.0, so you may need to update to find
them. Here's a quick rundown:



[convolve~]: a partitioned impulse response convolution reverb
- version 0.11 uses FFTW for non-power-of-2 window sizes and therefore
finer control over delay. It includes an "eq" method for shaping the
spectrum of the reverb in 25 Bark-frequency bands. It also accepts a second
argument to specify an IR array for analysis at creation.

https://github.com/wbrent/convolve_tilde.git




[DRFX]: a dynamic routing system for DSP effects. (Pd-vanilla abstraction)
- [DRFX] automatically creates a signal routing system and associated
controls (routing matrix) based on inputs and effect modules that you
specify. This allows you to make any type of series or parallel connection
chain between your inputs and effects, and change routing on the fly. It
also saves/loads complex routing presets, including effect parameter
settings.

https://github.com/wbrent/DRFX.git




[martha~]: an oscillator bank designed to accept output from [sigmund~]'s
sinusoidal tracking function. (Pd-vanilla abstraction)
- Version 0.6 adds an option to toggle between oscillators and band-pass
filtered white noise, and vibrato functionality.

https://github.com/wbrent/martha_tilde.git




[missive~]: a vector synth object. (Pd-vanilla abstraction)
- [missive~] is a vector synth object that uses a wavetable index to
crossfade between neighboring wavetables in a set. Wavetable sets can have
an arbitrary number of wavetables, and are composed of individual .wav
files that each contain one wavetable cycle. The length of each wavetable
can be arbitrary because [missive~] adds the extra guard points required
for Pd's 4-point interpolation scheme.

https://github.com/wbrent/missive_tilde.git




[streamStretch~]: a time-stretching/pitch-shifting/layering pastiche
effect. (Pd-vanilla abstraction)
- [streamStretch~] buffers multiple copies of incoming live audio and
creates overlapping streams of time-stretched & transposed output that
trail the input to achieve a variety of results.

https://github.com/wbrent/streamStretch_tilde.git




[timbreID]: an audio analysis and classification library
- version 0.7.3 adds a few methods to the [tabletool] object: NRT
overlap-add, permutations, and sequential output of table contents (like
[list-drip] for tables). As of version 0.7, timbreID uses FFTW to allow for
large and non-power-of-2 window sizes. Several basic time-domain objects
were also added at 0.7.

https://github.com/wbrent/timbreID.git




[timeStretch~]: a polyphonic time compression/expansion sample player.
(Pd-vanilla abstraction)
- [timeStretch~] is built around the I07.phase.vocoder.pd example patch
from Pd's built-in documentation, and adds functionality for changing
sample arrays on the fly, 16-voice polyphony, predetermined playback
duration, and indefinitely suspending time post-transient until a "release"
command is issued.

https://github.com/wbrent/timeStretch_tilde.git




[tune~]: a real-time pitch correction object. (Pd-vanilla abstraction)
- [tune~] tunes an input signal to any desired MIDI pitch while keeping
formant structure relatively intact. It is an adaptation of the built-in
Pure Data documentation patch I10.phase.bash.pd. While the original patch
demonstrates the technique in separate analysis and playback stages,
[tune~] is designed for real-time pitch correction.

https://github.com/wbrent/tune_tilde.git
****



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-announce mailing list
pd-annou...@lists.iem.at
https://lists.puredata.info/listinfo/pd-announce
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] error: delay: no method for 'open'

2018-03-25 Thread William Brent
Hi Andrea, the error is reporting that the message "open" is being received
by a [delay] object, which doesn't understand that message. Delay accepts
bangs or floats to schedule bangs in the future.

I haven't looked at your patch, but maybe you want the delay object before
the open message box?

Hope that helps

On Sun, Mar 25, 2018, 8:44 AM Andrea Simeoni 
wrote:

>
>
> I tried to make a patch that allowed me to acquire a MIDI note signal from
> AKAI LPD8 into my program, then execute a sound file according to the value
> of the note signal by using a ‘select’ object (that is: according to the
> pad pressed). The main idea of this program is to emulate the operation of
> mapping the controller MIDI – like you map any controller MIDI in Ableton,
> for example.
>
>
>
> The value of the note signal is acquired by using a ‘notein’ object, then
> it passes through a ‘select’. In this case only the first pad of AKAI LPD8
> should allow the execution of the subsequent ‘open’, ‘delay’ and ‘readsf’
> objects.
>
>
>
> When I press the first pad in my LPD8, I expect that a sound should be
> executed. Instead, I get an error message in my console: “delay: no method
> for ‘open’”.
>
> I’m sure that I can send MIDI signals from LPD8 to Pure Data because I
> tested it by using different ‘bangs’.
>
>
>
> I made this project in Windows 10. In Media > MIDI Settings I selected
> LPD8 as input device, also I selected ASIO4ALL v2 as audio input and output
> driver. Finally with Realtek I made sure that any audio file should be
> executed at 24bit / 48000Hz.
>
>
>
> What does the error mean?
>
>
>
> Andrea
>
>
>
> In Files.rar You’ll find the .pd file with the Sounds folder.
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management ->
> https://lists.puredata.info/listinfo/pd-list
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [convolve~] version 0.11 testing

2018-03-20 Thread William Brent
Thanks Lucas & Roman - I'll need to get up to speed on this for 64bit
Windows.

On Mon, Mar 19, 2018 at 5:06 PM, Roman Haefeli <reduz...@gmail.com> wrote:

>
>
>
> On Mon, 2018-03-19 at 20:58 +, Lucas Cordiviola wrote:
> > Hi William,
> > Are you aware of --> https://github.com/pure-data/pd-lib-builder
> > This will ease building on many platforms including the upcoming
> > windows64bit.
> > You will like it.
> > : )
>
> Just in case, you're going to use pd-lib-builder: I already uploaded an
> earlier version of convolve~ to deken and thus added a pd-lib-builder
> Makefilee because it suits my workflow, if you're interested:
>
> https://github.com/reduzent/pd-convolve/blob/master/Makefile
>
> Roman
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] [convolve~] version 0.11 testing

2018-03-19 Thread William Brent
Ok - I think I've got a decent version for testing built for Linux, Mac,
and Windows. Clone here and try it out if you're interested:

https://github.com/wbrent/convolve_tilde.git





On Mon, Mar 19, 2018 at 12:34 PM, Marco Matteo Markidis <
mm.marki...@gmail.com> wrote:

> happy to be a trick-mader 8-)
>
> best,
> marco
>
> 2018-03-19 15:38 GMT+01:00 William Brent <william.br...@gmail.com>:
>
>> Thanks Marco, I just tried it and it worked perfectly. I'll build for the
>> other platforms at some point today at get those binaries and the updated
>> source pushed to git for testing.
>>
>> Peter - thanks for the suggestion too. At this point I've committed to
>> [convolve~] being self-contained with all of its IR analysis stuff, so I
>> think with this clock_delay() trick I'm all set.
>>
>>
>> On Mon, Mar 19, 2018 at 9:16 AM, Marco Matteo Markidis <
>> mm.marki...@gmail.com> wrote:
>>
>>> hi william,
>>>
>>> i met the same problem in [loadmess]. actually you can clock a 0-delay
>>> time; in this case the loading method should be evaluated at the end of the
>>> same logical time, providing that the loadbanged array is evaluated. if
>>> this solution is not correct, i have to change loadmess :)
>>>
>>> best,
>>> marco
>>>
>>> 2018-03-19 14:09 GMT+01:00 William Brent <william.br...@gmail.com>:
>>>
>>>> That's something I actually did for this round and then abandoned. I
>>>> had it taking an array name as the 2nd argument (so it wouldn't break
>>>> backward compatibility), and then automatically running the IR analysis
>>>> routine at the end of object creation. The problem I couldn't come up with
>>>> a good solution for was that the IR array won't necessarily be loaded with
>>>> samples before [convolve~] creates. So in a scenario where you have a patch
>>>> that loadbangs an IR .wav file into an array as the patch starts up,
>>>> [convolve~] tries to analyze the IR array given as a creation argument
>>>> before the .wav is loaded, and ends up analyzing an array full of zeros.
>>>>
>>>> I started on a strategy where I set a clock to wait a certain amount of
>>>> time before running the analyze routine at the end of object creation, but
>>>> that seemed like bad design. Anyone have any suggestions for this problem?
>>>>
>>>>
>>>>
>>>>
>>>> On Sun, Mar 18, 2018 at 11:14 PM, Alexandre Torres Porres <
>>>> por...@gmail.com> wrote:
>>>>
>>>>> Awesome!
>>>>>
>>>>> I always hoped convovle~ could take an optional symbol argument to
>>>>> define an array to analyze. Any chance of that?
>>>>>
>>>>> cheers
>>>>>
>>>>>
>>>>> 2018-03-18 22:29 GMT-03:00 William Brent <william.br...@gmail.com>:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I just got around to making some updates to [convolve~] for
>>>>>> partitioned IR convolution reverb. I'm now using FFTW so that
>>>>>> non-power-of-two window sizes are possible, which gives finer control 
>>>>>> over
>>>>>> the delay between the dry and wet signal as well as CPU% impact. You
>>>>>> can change window size on the fly now too. The other major difference is 
>>>>>> an
>>>>>> FFT filter eq method for making custom adjustments to the IR's spectrum.
>>>>>>
>>>>>> I'd appreciate testing from anyone who's willing. The source, help
>>>>>> file, and Mac OS binary are here:
>>>>>>
>>>>>> https://github.com/wbrent/convolve_tilde.git
>>>>>>
>>>>>> I'll probably update with Windows and 64bit Linux binaries tomorrow.
>>>>>> Or, the Makefile will let you build in the meantime if you build/install
>>>>>> FFTW first.
>>>>>>
>>>>>> William
>>>>>>
>>>>>>
>>>>>> --
>>>>>> William Brent
>>>>>> www.williambrent.com
>>>>>>
>>>>>> “Great minds flock together”
>>>>>> Conflations: conversational idiom for the 21st century
>>>>>>
>>>>>> www.conflations.com
>>>>>>
>>>>>> _

Re: [PD] [convolve~] version 0.11 testing

2018-03-19 Thread William Brent
That's something I actually did for this round and then abandoned. I had it
taking an array name as the 2nd argument (so it wouldn't break backward
compatibility), and then automatically running the IR analysis routine at
the end of object creation. The problem I couldn't come up with a good
solution for was that the IR array won't necessarily be loaded with samples
before [convolve~] creates. So in a scenario where you have a patch that
loadbangs an IR .wav file into an array as the patch starts up, [convolve~]
tries to analyze the IR array given as a creation argument before the .wav
is loaded, and ends up analyzing an array full of zeros.

I started on a strategy where I set a clock to wait a certain amount of
time before running the analyze routine at the end of object creation, but
that seemed like bad design. Anyone have any suggestions for this problem?




On Sun, Mar 18, 2018 at 11:14 PM, Alexandre Torres Porres <por...@gmail.com>
wrote:

> Awesome!
>
> I always hoped convovle~ could take an optional symbol argument to define
> an array to analyze. Any chance of that?
>
> cheers
>
>
> 2018-03-18 22:29 GMT-03:00 William Brent <william.br...@gmail.com>:
>
>> Hi all,
>>
>> I just got around to making some updates to [convolve~] for partitioned
>> IR convolution reverb. I'm now using FFTW so that non-power-of-two window
>> sizes are possible, which gives finer control over the delay between the
>> dry and wet signal as well as CPU% impact. You can change window size on
>> the fly now too. The other major difference is an FFT filter eq method
>> for making custom adjustments to the IR's spectrum.
>>
>> I'd appreciate testing from anyone who's willing. The source, help file,
>> and Mac OS binary are here:
>>
>> https://github.com/wbrent/convolve_tilde.git
>>
>> I'll probably update with Windows and 64bit Linux binaries tomorrow. Or,
>> the Makefile will let you build in the meantime if you build/install FFTW
>> first.
>>
>> William
>>
>>
>> --
>> William Brent
>> www.williambrent.com
>>
>> “Great minds flock together”
>> Conflations: conversational idiom for the 21st century
>>
>> www.conflations.com
>>
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
>> stinfo/pd-list
>>
>>
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [convolve~] version 0.11 testing

2018-03-18 Thread William Brent
Hi all,

I just got around to making some updates to [convolve~] for partitioned IR
convolution reverb. I'm now using FFTW so that non-power-of-two window
sizes are possible, which gives finer control over the delay between the
dry and wet signal as well as CPU% impact. You can change window size on
the fly now too. The other major difference is an FFT filter eq method for
making custom adjustments to the IR's spectrum.

I'd appreciate testing from anyone who's willing. The source, help file,
and Mac OS binary are here:

https://github.com/wbrent/convolve_tilde.git

I'll probably update with Windows and 64bit Linux binaries tomorrow. Or,
the Makefile will let you build in the meantime if you build/install FFTW
first.

William


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Pitch correction abstraction based on I10.phase.bash.pd

2018-03-14 Thread William Brent
Hi Julian, thanks for this - I'll take a look.

On Wed, Mar 14, 2018 at 8:37 PM, Julián Villegas <villegas.jul...@gmail.com>
wrote:

> Hi William,
>
> A while ago, I ported [shifter~] from Max/MSP to Pd. Shifter is originally
> written by Tristan Jehan and uses PSOLA for pitch adjustments making it
> less prone to formant artifacts. I don’t know how to put it in Deken, but I
> think others could find it useful so I’m sending it as an attachment here
> (Pd source code, patch, and binaries for Pd-0.48-1/MacOS).
>
> Cheers,
>
> Julian.
>
>
>
>
>
>
> > On Mar 15, 2018, at 0:20 AM, pd-list-requ...@lists.iem.at wrote:
> >
> > Send Pd-list mailing list submissions to
> >   pd-list@lists.iem.at
> >
> > To subscribe or unsubscribe via the World Wide Web, visit
> >   https://lists.puredata.info/listinfo/pd-list
> > or, via email, send a message with subject or body 'help' to
> >   pd-list-requ...@lists.iem.at
> >
> > You can reach the person managing the list at
> >   pd-list-ow...@lists.iem.at
> >
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of Pd-list digest..."
> >
> >
> > Today's Topics:
> >
> >   1. Pitch correction abstraction based on I10.phase.bash.pd
> >  (William Brent)
> >
> >
> > --
> >
> > Message: 1
> > Date: Wed, 14 Mar 2018 11:19:47 -0400
> > From: William Brent <william.br...@gmail.com>
> > To: pd-list@lists.iem.at
> > Subject: [PD] Pitch correction abstraction based on I10.phase.bash.pd
> > Message-ID:
> >   <CAGukSDNSs6Pe0hNMXPqxmoV+U6im8ax7Sj9MtXVZfw5VgKuKUQ@
> mail.gmail.com>
> > Content-Type: text/plain; charset="utf-8"
> >
> > Hi all,
> >
> > I've been picking apart I10.phase.bash.pd for teaching purposes, and
> ended
> > up making an adaptation of it for live inputs. Here's a .zip file of my
> > first go at it. It's an abstraction and help file, and can be used to get
> > auto-tune-like results on vocals. I'm about 20 years late to the party on
> > that one, but it's still fun...
> >
> > Maybe someone has already done something like this that I'm not aware of
> -
> > I'd like to know if so. Otherwise, I may do a little more tinkering and
> put
> > this up on deken.
> >
> > William
> >
> >
> >
> > --
> > William Brent
> > www.williambrent.com
> >
> > “Great minds flock together”
> > Conflations: conversational idiom for the 21st century
> >
> > www.conflations.com
> > -- next part --
> > An HTML attachment was scrubbed...
> > URL: <http://lists.puredata.info/pipermail/pd-list/attachments/
> 20180314/cd9f26e8/attachment.html>
> > -- next part --
> > A non-text attachment was scrubbed...
> > Name: tune~-0.0.1.zip
> > Type: application/zip
> > Size: 961101 bytes
> > Desc: not available
> > URL: <http://lists.puredata.info/pipermail/pd-list/attachments/
> 20180314/cd9f26e8/attachment.zip>
> >
> > --
> >
> > Subject: Digest Footer
> >
> > ___
> > Pd-list mailing list
> > Pd-list@lists.iem.at
> > to manage your subscription (including un-subscription) see
> > https://lists.puredata.info/listinfo/pd-list
> >
> >
> > --
> >
> > End of Pd-list Digest, Vol 156, Issue 52
> > 
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>


-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Pitch correction abstraction based on I10.phase.bash.pd

2018-03-14 Thread William Brent
Hi - no problem. I just made a git repo if you want to grab it there as I'm
changing it this week: https://github.com/wbrent/tune_tilde.git

On Wed, Mar 14, 2018 at 6:18 PM, jlistshit <jlists...@kliklak.net> wrote:

> William, i’d like to pick up on pitch correction 20 years too late as well!
> Would you mind sending the example patch again, or privately to me? Digest
> mode scrubs attachments here.
> Thanx a lot!
>
> jayrope
> - - -
> www.jayrope.com
> www.aircushionfinish.com
> www.ello.co/jayrope
>
>
>
> On 14 Mar 2018, at 22:49, pd-list-requ...@lists.iem.at wrote:
>
> > Just noticed a little problem - DSP needs to be on before opening the
> help
> > patch. Otherwise the read/write head sync doesn't happen properly on
> > loading. You can also just force it to re-sync by going into the [pd
> > other-commands] subpatch and setting buf-read-delay to about 50ms.
> >
> > On Wed, Mar 14, 2018 at 11:19 AM, William Brent <william.br...@gmail.com
> >
> > wrote:
> >
> >> Hi all,
> >>
> >> I've been picking apart I10.phase.bash.pd for teaching purposes, and
> ended
> >> up making an adaptation of it for live inputs. Here's a .zip file of my
> >> first go at it. It's an abstraction and help file, and can be used to
> get
> >> auto-tune-like results on vocals. I'm about 20 years late to the party
> on
> >> that one, but it's still fun...
> >>
> >> Maybe someone has already done something like this that I'm not aware
> of -
> >> I'd like to know if so. Otherwise, I may do a little more tinkering and
> put
> >> this up on deken.
> >>
> >> William
> >>
> >>
> >>
> >> --
> >> William Brent
> >> www.williambrent.com
> >>
> >> “Great minds flock together”
> >> Conflations: conversational idiom for the 21st century
> >>
> >> www.conflations.com
> >>
> >
> >
> >
> > --
> > William Brent
> > www.williambrent.com
> >
> > “Great minds flock together”
> > Conflations: conversational idiom for the 21st century
> >
> > www.conflations.com
> > -- next part --
> > An HTML attachment was scrubbed...
> > URL: <http://lists.puredata.info/pipermail/pd-list/attachments/
> 20180314/6e17a184/attachment-0001.html>
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Pitch correction abstraction based on I10.phase.bash.pd

2018-03-14 Thread William Brent
Just noticed a little problem - DSP needs to be on before opening the help
patch. Otherwise the read/write head sync doesn't happen properly on
loading. You can also just force it to re-sync by going into the [pd
other-commands] subpatch and setting buf-read-delay to about 50ms.

On Wed, Mar 14, 2018 at 11:19 AM, William Brent <william.br...@gmail.com>
wrote:

> Hi all,
>
> I've been picking apart I10.phase.bash.pd for teaching purposes, and ended
> up making an adaptation of it for live inputs. Here's a .zip file of my
> first go at it. It's an abstraction and help file, and can be used to get
> auto-tune-like results on vocals. I'm about 20 years late to the party on
> that one, but it's still fun...
>
> Maybe someone has already done something like this that I'm not aware of -
> I'd like to know if so. Otherwise, I may do a little more tinkering and put
> this up on deken.
>
> William
>
>
>
> --
> William Brent
> www.williambrent.com
>
> “Great minds flock together”
> Conflations: conversational idiom for the 21st century
>
> www.conflations.com
>



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] Text projection in real time

2018-03-01 Thread William Brent
Hi João,

I used [text3d] in GEM for my "Typing Hero" piece at the last PdCon. It was
a piece for 3 networked laptop players to type text read in from a text
file to play Bach 3-part inventions. I found that [text3d] did everything I
needed and worked as expected for all the issues you mention, except that
handling long texts was an issue. Here's a video from that night:

https://youtu.be/IACzW39PnW8



On Wed, Feb 28, 2018 at 5:03 PM, Jack <j...@rybn.org> wrote:

> Hello João,
>
> Le 28/02/2018 à 19:31, João Pais a écrit :
> > Hello list,
> >
> > I was looking on the best way to display some texts which will be
> > produced/improvised in realtime. These will be acessible either as a
> > list, OSC, or on a file.
> >
> > I tried gem's 2dtext and [flatgui/entry], but they both don't work that
> > well, as some or all of the following aren't possible:
>
> You mean [text2d] for the Gem object... In term of performance, I prefer
> to use [text3d]... depending of what you need.
>
> > - centered text
> > - some texts are long, so the paragraphs have to break at the end of a
> word
> > - black background, white font - font and size will be chosen later
> > - fullscreen on a 2nd screen (to be projected)
>
> Everything here is doable with [text2d]/[text3d].
>
> >
> > I imagine the word sliptting and text centering can be calculated in Pd
> > so that Gem displays it correctly, but I'm not sure I'll have the time
> > for it. So trying another solution such as coordinating with Processing
> > or similar would be an option, in case it's easier to implement.
>
> Centering text is by default with [text2d]/[text3d]. You can change this
> with the message "justify".
> To cut a sentence after a word when a certain amount of letter is
> present is not very difficult using [list fromsymbol], [list prepend
> 10], [list prepend string]/[list trim] (for text2d]/[text3d]).
>
> You can even change line spacing with the message "linedist" on recent Gem.
> ++
>
> Jack
>
>
> >
> > Are there any suggestions on how to tackle this?
> >
> > Best,
> >
> > jmmmp
> >
> > ___
> > Pd-list@lists.iem.at mailing list
> > UNSUBSCRIBE and account-management ->
> > https://lists.puredata.info/listinfo/pd-list
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] absolute values of a list of numbers?

2018-02-17 Thread William Brent
If you're already using timbreID, you could put the list in a table and use
[tabletool]'s "abs" method to do this without iterating.

On Feb 16, 2018 10:31 AM, "IOhannes m zmölnig"  wrote:

> On 02/16/2018 02:43 PM, Peter P. wrote:
> > Hi list,
> >
> > I am using William Brent's [cepstrum~] to calculate cepstral
> > coefficients from a section of an audio signal. My object outputs 512
> > the real-valued coefficients as pd message list, which I would like to
> > convert to their absolute value. I can't seem to find an easy way to do
> > this except for possibly sending the list to an array and using tabread
>
> the [list] help has example implementations of a serializer and an
> accumulator.
>
> gfadsmf
> IOhannes
>
>
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/
> listinfo/pd-list
>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] pd~ -nogui subprocess [stdout]

2017-09-21 Thread William Brent
Hi list,

I've recreated a problem I'm having with [pd~] using -nogui in the attached
patches. The subprocess patch simply sends a bang and a stream of random
numbers to [stdout]. When running the subprocess with a GUI, I get the
expected behavior (data sent to [stdout] in the subprocess appears at the
outlet of [pd~] in the master process). When I run it with -nogui, nothing
appears at the outlet of [pd~].

I looked around for a thread or bug tracker issue on this, but didn't see
anything. Is this a known issue or am I doing something wrong here?

Pd 0.48.0
Mac OS 10.11.6

Thanks,
William



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com


pd-tilde-sub.pd
Description: Binary data


pd-tilde-master.pd
Description: Binary data
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] timbreID version 0.7 testing

2017-07-13 Thread William Brent
Thanks Antoine - got it working as a single library file now. That plus
static linking to FFTW makes it pretty compact and easy to install.

On Tue, Jul 11, 2017 at 4:12 PM, Antoine Villeret <
antoine.ville...@gmail.com> wrote:

> There are lots of library that uses one big file for all objects : Gem,
> zexy, Cream library (from Cicm) amongs others.
> The key is to call each object's setup method in the library setup method.
>
> Cheers
>
> antoine
>
> --
> do it yourself
> http://antoine.villeret.free.fr
>
> 2017-07-11 20:43 GMT+02:00 William Brent <william.br...@gmail.com>:
>
>> Yes, one library file is sounding more and more like the right way to go.
>> I've never done that, so if you can offer any simple examples to look over,
>> please do. But apart from individual binaries vs one big binary for the
>> whole library - I'm not even sure how to link statically on Windows with
>> the FFTW .dll. I did succeed in producing a .a file using MinGW/dlltool (
>> http://www.mingw.org/wiki/createimportlibraries), but couldn't get it to
>> work in the end. If anyone who has done static linking of FFTW 3.3.5 on
>> Windows is wiling to hear my gripes, please let me know. I can post more
>> detailed info on the errors I got.
>>
>> On Tue, Jul 11, 2017 at 11:43 AM, Antoine Villeret <
>> antoine.ville...@gmail.com> wrote:
>>
>>> on my side, I always make one file library, all objects are included the
>>> same binary,
>>> thus I link only once to FFTW (or something else) and then the size it
>>> not so big
>>> when linking dynamically its always a mess with rpath at runtime for a
>>> crossplatform project.
>>> moreover you can have a better control of the version and the feature of
>>> the library you use.
>>>
>>> cheers
>>> a
>>>
>>> --
>>> do it yourself
>>> http://antoine.villeret.free.fr
>>>
>>> 2017-07-11 0:11 GMT+02:00 William Brent <william.br...@gmail.com>:
>>>
>>>> Yeah, that was one of my dilemmas...static or shared. The individual
>>>> binaries were bigger when I linked statically, so I opted for shared on Mac
>>>> to make the whole package smaller. On Windows I could only figure out how
>>>> to set it up as shared. But maybe it's easier to have large binaries than
>>>> it is to require that people install FFTW...
>>>>
>>>> On Jul 10, 2017 5:26 PM, "Antoine Villeret" <antoine.ville...@gmail.com>
>>>> wrote:
>>>>
>>>>> Thanks for that work !
>>>>>
>>>>> Concerning the FFTW dependency, I made a restoration tool (by porting
>>>>> a LV2 plugin) that uses FFTW library and the easiest way to deploy on OSX
>>>>> was to link statically to FFTW.
>>>>> I have to rebuild FFTW from scratch because there is no more static
>>>>> version of that library in brew, but that was quite easy so far.
>>>>>
>>>>> Cheers
>>>>>
>>>>> Antoine
>>>>>
>>>>> --
>>>>> do it yourself
>>>>> http://antoine.villeret.free.fr
>>>>>
>>>>> 2017-07-10 22:45 GMT+02:00 William Brent <william.br...@gmail.com>:
>>>>>
>>>>>> Hi all,
>>>>>>
>>>>>> I've finally gotten around to making some improvements and updates to
>>>>>> the timbreID library, so I'd be grateful for any feedback and bug reports
>>>>>> at this point. You can currently get source code and Linux/Mac/Windows
>>>>>> binaries via deken. Below is a short list of the main additions. One 
>>>>>> major
>>>>>> point is that I decided to use FFTW this time around. I've managed to get
>>>>>> that working fine on Linux/Mac/Windows, but it would be great to get any
>>>>>> advice on how to minimize the trouble that that dependency brings up.
>>>>>> Makefile edits and suggestions are also very welcome, especially aspects
>>>>>> that involve linking to FFTW on these 3 different platforms.
>>>>>>
>>>>>> UPDATES:
>>>>>> Bark-based versions of all spectral features (barkSpecCentroid~,
>>>>>> barkSpecSpread~, etc.)
>>>>>> A cepstrum-based pitch tracker (cepstrumPitch~)
>>>>>> An attack time analysis object (attackTime~)
>>>>>> Spectral slope analysis objects (specSlope~, barkSpecS

Re: [PD] timbreID version 0.7 testing

2017-07-11 Thread William Brent
Yes, one library file is sounding more and more like the right way to go.
I've never done that, so if you can offer any simple examples to look over,
please do. But apart from individual binaries vs one big binary for the
whole library - I'm not even sure how to link statically on Windows with
the FFTW .dll. I did succeed in producing a .a file using MinGW/dlltool (
http://www.mingw.org/wiki/createimportlibraries), but couldn't get it to
work in the end. If anyone who has done static linking of FFTW 3.3.5 on
Windows is wiling to hear my gripes, please let me know. I can post more
detailed info on the errors I got.

On Tue, Jul 11, 2017 at 11:43 AM, Antoine Villeret <
antoine.ville...@gmail.com> wrote:

> on my side, I always make one file library, all objects are included the
> same binary,
> thus I link only once to FFTW (or something else) and then the size it not
> so big
> when linking dynamically its always a mess with rpath at runtime for a
> crossplatform project.
> moreover you can have a better control of the version and the feature of
> the library you use.
>
> cheers
> a
>
> --
> do it yourself
> http://antoine.villeret.free.fr
>
> 2017-07-11 0:11 GMT+02:00 William Brent <william.br...@gmail.com>:
>
>> Yeah, that was one of my dilemmas...static or shared. The individual
>> binaries were bigger when I linked statically, so I opted for shared on Mac
>> to make the whole package smaller. On Windows I could only figure out how
>> to set it up as shared. But maybe it's easier to have large binaries than
>> it is to require that people install FFTW...
>>
>> On Jul 10, 2017 5:26 PM, "Antoine Villeret" <antoine.ville...@gmail.com>
>> wrote:
>>
>>> Thanks for that work !
>>>
>>> Concerning the FFTW dependency, I made a restoration tool (by porting a
>>> LV2 plugin) that uses FFTW library and the easiest way to deploy on OSX was
>>> to link statically to FFTW.
>>> I have to rebuild FFTW from scratch because there is no more static
>>> version of that library in brew, but that was quite easy so far.
>>>
>>> Cheers
>>>
>>> Antoine
>>>
>>> --
>>> do it yourself
>>> http://antoine.villeret.free.fr
>>>
>>> 2017-07-10 22:45 GMT+02:00 William Brent <william.br...@gmail.com>:
>>>
>>>> Hi all,
>>>>
>>>> I've finally gotten around to making some improvements and updates to
>>>> the timbreID library, so I'd be grateful for any feedback and bug reports
>>>> at this point. You can currently get source code and Linux/Mac/Windows
>>>> binaries via deken. Below is a short list of the main additions. One major
>>>> point is that I decided to use FFTW this time around. I've managed to get
>>>> that working fine on Linux/Mac/Windows, but it would be great to get any
>>>> advice on how to minimize the trouble that that dependency brings up.
>>>> Makefile edits and suggestions are also very welcome, especially aspects
>>>> that involve linking to FFTW on these 3 different platforms.
>>>>
>>>> UPDATES:
>>>> Bark-based versions of all spectral features (barkSpecCentroid~,
>>>> barkSpecSpread~, etc.)
>>>> A cepstrum-based pitch tracker (cepstrumPitch~)
>>>> An attack time analysis object (attackTime~)
>>>> Spectral slope analysis objects (specSlope~, barkSpecSlope~)
>>>> A waveform slope analysis object (waveSlope~)
>>>> A DCT object (dct~)
>>>> Various simple time-domain objects (peakSample~, minSample~,
>>>> maxSample~, minSampleDelta~, maxSampleDelta~)
>>>> Various conversion objects (bin2freq, bark2freq, etc.)
>>>> Additional [tabletool] methods (clip, round, ceiling, floor, maximum
>>>> magnitude, find zero crossings, mtof, ftom, dbtorms, rmstodb, bin2freq,
>>>> freq2bin, bark2freq, freq2bark, auto-fit boundaries)
>>>> Various improvements to the database/classification object [timbreID]
>>>>
>>>> There is also an updated examples package, which mainly addresses the
>>>> change in functionality of [timbreID]'s fourth outlet, but has significant
>>>> improvements for the concatenative and timbre space examples. It also
>>>> includes a new example directory for audio segmentation. You can get that
>>>> at http://williambrent.conflations.com/pages/research.html#timbreID.
>>>> I've also set up a GitHub repo at wbrent/timbreID, which has everything
>>>> (source, binaries, example patches).
>>>>
>>

Re: [PD] timbreID version 0.7 testing

2017-07-10 Thread William Brent
Yeah, that was one of my dilemmas...static or shared. The individual
binaries were bigger when I linked statically, so I opted for shared on Mac
to make the whole package smaller. On Windows I could only figure out how
to set it up as shared. But maybe it's easier to have large binaries than
it is to require that people install FFTW...

On Jul 10, 2017 5:26 PM, "Antoine Villeret" <antoine.ville...@gmail.com>
wrote:

> Thanks for that work !
>
> Concerning the FFTW dependency, I made a restoration tool (by porting a
> LV2 plugin) that uses FFTW library and the easiest way to deploy on OSX was
> to link statically to FFTW.
> I have to rebuild FFTW from scratch because there is no more static
> version of that library in brew, but that was quite easy so far.
>
> Cheers
>
> Antoine
>
> --
> do it yourself
> http://antoine.villeret.free.fr
>
> 2017-07-10 22:45 GMT+02:00 William Brent <william.br...@gmail.com>:
>
>> Hi all,
>>
>> I've finally gotten around to making some improvements and updates to the
>> timbreID library, so I'd be grateful for any feedback and bug reports at
>> this point. You can currently get source code and Linux/Mac/Windows
>> binaries via deken. Below is a short list of the main additions. One major
>> point is that I decided to use FFTW this time around. I've managed to get
>> that working fine on Linux/Mac/Windows, but it would be great to get any
>> advice on how to minimize the trouble that that dependency brings up.
>> Makefile edits and suggestions are also very welcome, especially aspects
>> that involve linking to FFTW on these 3 different platforms.
>>
>> UPDATES:
>> Bark-based versions of all spectral features (barkSpecCentroid~,
>> barkSpecSpread~, etc.)
>> A cepstrum-based pitch tracker (cepstrumPitch~)
>> An attack time analysis object (attackTime~)
>> Spectral slope analysis objects (specSlope~, barkSpecSlope~)
>> A waveform slope analysis object (waveSlope~)
>> A DCT object (dct~)
>> Various simple time-domain objects (peakSample~, minSample~, maxSample~,
>> minSampleDelta~, maxSampleDelta~)
>> Various conversion objects (bin2freq, bark2freq, etc.)
>> Additional [tabletool] methods (clip, round, ceiling, floor, maximum
>> magnitude, find zero crossings, mtof, ftom, dbtorms, rmstodb, bin2freq,
>> freq2bin, bark2freq, freq2bark, auto-fit boundaries)
>> Various improvements to the database/classification object [timbreID]
>>
>> There is also an updated examples package, which mainly addresses the
>> change in functionality of [timbreID]'s fourth outlet, but has significant
>> improvements for the concatenative and timbre space examples. It also
>> includes a new example directory for audio segmentation. You can get that
>> at http://williambrent.conflations.com/pages/research.html#timbreID.
>> I've also set up a GitHub repo at wbrent/timbreID, which has everything
>> (source, binaries, example patches).
>>
>> Thanks and feel free to write me on or off list.
>> William
>>
>>
>>
>> --
>> William Brent
>> www.williambrent.com
>>
>> “Great minds flock together”
>> Conflations: conversational idiom for the 21st century
>>
>> www.conflations.com
>>
>> ___
>> Pd-list@lists.iem.at mailing list
>> UNSUBSCRIBE and account-management -> https://lists.puredata.info/li
>> stinfo/pd-list
>>
>>
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] timbreID version 0.7 testing

2017-07-10 Thread William Brent
Hi all,

I've finally gotten around to making some improvements and updates to the
timbreID library, so I'd be grateful for any feedback and bug reports at
this point. You can currently get source code and Linux/Mac/Windows
binaries via deken. Below is a short list of the main additions. One major
point is that I decided to use FFTW this time around. I've managed to get
that working fine on Linux/Mac/Windows, but it would be great to get any
advice on how to minimize the trouble that that dependency brings up.
Makefile edits and suggestions are also very welcome, especially aspects
that involve linking to FFTW on these 3 different platforms.

UPDATES:
Bark-based versions of all spectral features (barkSpecCentroid~,
barkSpecSpread~, etc.)
A cepstrum-based pitch tracker (cepstrumPitch~)
An attack time analysis object (attackTime~)
Spectral slope analysis objects (specSlope~, barkSpecSlope~)
A waveform slope analysis object (waveSlope~)
A DCT object (dct~)
Various simple time-domain objects (peakSample~, minSample~, maxSample~,
minSampleDelta~, maxSampleDelta~)
Various conversion objects (bin2freq, bark2freq, etc.)
Additional [tabletool] methods (clip, round, ceiling, floor, maximum
magnitude, find zero crossings, mtof, ftom, dbtorms, rmstodb, bin2freq,
freq2bin, bark2freq, freq2bark, auto-fit boundaries)
Various improvements to the database/classification object [timbreID]

There is also an updated examples package, which mainly addresses the
change in functionality of [timbreID]'s fourth outlet, but has significant
improvements for the concatenative and timbre space examples. It also
includes a new example directory for audio segmentation. You can get that
at http://williambrent.conflations.com/pages/research.html#timbreID. I've
also set up a GitHub repo at wbrent/timbreID, which has everything (source,
binaries, example patches).

Thanks and feel free to write me on or off list.
William



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


[PD] [PD-announce] Audio Technology Position at American University

2015-10-18 Thread William Brent
Hi Pd-list. Please see this job opportunity below. Application review will
begin Oct 19.


The Department of Performing Arts in the College of Arts and Sciences at
American University invites applications for a full-time, tenure-track
position in Audio Technology at the rank of Assistant Professor beginning
August 1, 2016.  Applicants should hold a terminal degree in an
audio-related field or anticipate completion by August 2016. Candidates
should be effective teachers and must be strongly committed to excellence
in scholarly research.  We welcome applications from candidates engaged in
high-quality scholarship in the broad field of audio technology and are
particularly interested in candidates with any of the following areas of
specialization: acoustics, cognition/perception, electronics, game audio,
spatialized audio, and audio software/hardware design.  Teaching
specialization in any of the above areas as well as live sound or broadcast
audio is preferred, though all instructional areas will be considered.  In
addition to scholarship and teaching, responsibilities will include
participation in department, school and university activities. Salary and
benefits are competitive.  Review of applications will begin on October 19,
2015 and will continue until the position is filled. Please submit
applications via: apply.interfolio.com/31531.  Include a letter of
application, curriculum vitae, and three letters of recommendation.
Additional materials will be requested at a later date. Please contact
Richard Streeks, Faculty Coordinator, stre...@american.edu if you have any
questions. American University is an equal opportunity, affirmative action
institution that operates in compliance with applicable laws and
regulations. The university does not  discriminate on the basis of race,
color, national origin, religion, sex (including pregnancy), age, sexual
orientation, disability, marital status, personal appearance, gender
identity and expression, family responsibilities, political affiliation,
source of income, veteran status, an individuals genetic information or any
other bases under federal or local laws (collectively Protected Bases) in
its programs and activities. American University is a tobacco and smoke
free campus.



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-announce mailing list
pd-annou...@lists.iem.at
http://lists.puredata.info/listinfo/pd-announce
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Less CPU Expensive Tips Resources?

2015-06-10 Thread William Brent
I've gotten in the habit of using [switch~] to turn off processing in areas
of my patches that are not in use. You just have to come up with a system
for activating/deactivating DSP that makes the most sense for your
situation.



On Wednesday, June 10, 2015, Chris McCormick ch...@mccormick.cx wrote:

 Hello,

 On 03/06/15 18:31, Art via Pd-list wrote:
  I've been trying to find ways to trim the fat off my patches in PD
  lately, and I was wondering if there are any good resources for this?

 In the Media menu you can select Load Meter which will give you a
 ball-park indication of how much CPU time your patch is eating and you
 can use that to tune things a bit.

 Cheers,

 Chris.

 --
 http://mccormick.cx/

 ___
 Pd-list@lists.iem.at javascript:; mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] route large number of voices

2015-03-27 Thread William Brent
Here's an example from my class (14-poly-routing.pd) for how to deal with
this. Hope it helps

On Fri, Mar 27, 2015 at 5:56 PM, Benoît Fortier benoitfort...@yahoo.ca
wrote:

 Hi, it seems common practice to use route to dispatch individual notes
 to different voices when building a polyphonic synth. But these days I'm
 working on a synth which is going to have a large number of voices
 (probably around 100) and I was wondering if there's a better way to route
 those voices other than use route with a hundred creation arguments. I
 though about sending every note information (including the voice number)
 to every voices and to put a test at the inlet of every voice abstraction
 to filter the incoming data so that only one voice actually plays the
 note but I was wondering if there was a better option, like dynamically
 set the destination of a send object... I did a few test but couldn't find
 an elegant solution by myself.

 Many thanks pd-list!


 Benoît Fortier
 581 995-5622

 ___
 Pd-list@lists.iem.at mailing list
 UNSUBSCRIBE and account-management -
 http://lists.puredata.info/listinfo/pd-list




-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com


14-poly-routing.pd
Description: Binary data


adsr.pd
Description: Binary data


synth-abs.pd
Description: Binary data
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] object to find closest value in an array

2015-03-06 Thread William Brent
There's the nearest method for tabletool if you can deal with an external
rather than an abstraction.



On Friday, March 6, 2015, Alexandre Torres Porres por...@gmail.com wrote:

 I'm wondering if there's an object that can find in an array which is the
 closest value in the array ro an input value.

 Say I have an array/list of *1.1* , *2.2* , *3.3*, then I give as the
 input the number 3 and the object outputs *3.3*

 I've done this as a patch already, but I wonder if theres any solution
 that's ready made.

 thanks



-- 
William Brent
www.williambrent.com

“Great minds flock together”
Conflations: conversational idiom for the 21st century

www.conflations.com
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list