Re: [PD] "good" phasor~ in B16.long-varispeed.pd not looping?

2020-01-06 Thread Peter P.
* Christof Ressi  [2020-01-06 00:37]:
> there's the [tabread4~~] external in zexy which doesn exactly that. The help 
> patch is missing, though. I guess [tabwrite4~] could also do that. Maybe 
> enable it with a flag?
A flag could be avouded if the object would accept signals at the right
inlet by default as messages would be casted to signals automatically
(as you told me a few weeks ago).



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


Re: [PD] [PD-announce] vstplugin~ v0.3.0 released!

2020-01-06 Thread Christof Ressi
Hey, thanks for testing and reporting back :-)

> Gesendet: Montag, 06. Januar 2020 um 06:22 Uhr
> Von: "Lucas Cordiviola" 
> An: "pd-list@lists.iem.at" 
> Betreff: Re: [PD] [PD-announce] vstplugin~ v0.3.0 released!
>
> Thanks!
>
> I have tested the Windows-64 version with an "WaveShell-VST 9.2_x64.dll"
> with lots of plug-ins.
> Works perfect!
>
> :)
>
> Mensaje telepatico asistido por maquinas.
>
> On 1/5/2020 7:55 PM, Christof Ressi wrote:
> > Dear list,
> >
> > I'm happy to announce the release of vstplugin~ v0.3.0.
> >
> > [vstplugin~] allows to load VST2 and VST3 plugins on Windows, macOS and 
> > Linux.
> >
> > Binaries are available on Deken or here: 
> > https://git.iem.at/pd/vstplugin/releases
> >
> > Please report any issues at https://git.iem.at/pd/vstplugin/issues or 
> > https://github.com/Spacechild1/vstplugin/issues
> >
> > BTW, I've made a small tutorial video :-): https://vimeo.com/382944239
> >
> > ---
> >
> > *** Change Log ***
> >
> > New features:
> >
> > * better error messages when plugins fail to load (e.g. wrong CPU 
> > architecture)
> >
> > * automatically scan VST3 presets
> >
> > * new simplified preset management system, using named presets which are 
> > saved to standard locations (the old methods remain for power users).
> >
> > * new vstpresetbrowser.pd abstraction
> >
> > * improved vstpluginbrowser.pd: better GUI + plugins can be filtered by 
> > keyword, type, category and vendor
> >
> > * [open( can be called asynchronously and responds with [open (
> >
> > * preset methods can be called asynchronously and respond with messages, 
> > e.g. [preset_load (
> >
> > * [reset( can be executed asynchronously and responds with [reset(.
> >
> > * [search_stop( method to cancel an asynchronous plugin search.
> >
> > * [param_list(, [program_list( and [preset_list( accept an optional plugin 
> > key argument
> >
> > * [info( also outputs the VST SDK version.
> >
> > * experimental support for PDINSTANCE (untested)
> >
> > Bug fixes:
> >
> > * fixed serveral bugs in the VST3 implementation
> >
> > * fix crash when calling [midi_*( methods without plugin
> >
> > * don't lock Pd when receiving events from the GUI thread if DSP is 
> > running, instead set an atomic flag and set a clock in the perform routine. 
> > This avoids dead-locks in certain plugins and also improves realtime-safety.
> >
> > ---
> >
> > Have fun!
> >
> > Cheers,
> >
> > Christof
> >
> >
> >
> >
> >
> >
> > ___
> > 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-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 file format documentation?

2020-01-06 Thread David
See
https://puredata.info/docs/developer/PdFileFormat?fbclid=IwAR38HPWWXbfn8QrwmgE3A-Vj44NaIJwNKUS4owXoKUjpRqWdy37MWpCCBlg

On Sun, Jan 5, 2020 at 11:49 PM William Huston 
wrote:

> A question arose on Facebook which prompts me to ask:
>
> Is the PD file format documented anywhere? (besides the source code)?
>
> Has anyone built any programs which build PD files?
>
> It might be neat to have a C-Sound or Supercollider style language (where
> writting tests and loops can be easier) which compile down to a .PD source
> file.
>
> I'm sure I'm not the only person who has thought of this!
>
> I realize that editing .PD files directly is generally considered to be
> "nicht für der gefingerpoken" ;)
>
> thanks
> ___
> 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 file format documentation?

2020-01-06 Thread William Huston
Thanks!
I notice this is from 2004/v0.37

No changes since then?


On Mon, Jan 6, 2020, 8:50 AM David  wrote:

> Or just  https://puredata.info/docs/developer/PdFileFormat
>
> On Mon, Jan 6, 2020 at 8:46 AM David  wrote:
>
>> See
>> https://puredata.info/docs/developer/PdFileFormat?fbclid=IwAR38HPWWXbfn8QrwmgE3A-Vj44NaIJwNKUS4owXoKUjpRqWdy37MWpCCBlg
>>
>> On Sun, Jan 5, 2020 at 11:49 PM William Huston 
>> wrote:
>>
>>> A question arose on Facebook which prompts me to ask:
>>>
>>> Is the PD file format documented anywhere? (besides the source code)?
>>>
>>> Has anyone built any programs which build PD files?
>>>
>>> It might be neat to have a C-Sound or Supercollider style language
>>> (where writting tests and loops can be easier) which compile down to a .PD
>>> source file.
>>>
>>> I'm sure I'm not the only person who has thought of this!
>>>
>>> I realize that editing .PD files directly is generally considered to be
>>> "nicht für der gefingerpoken" ;)
>>>
>>> thanks
>>> ___
>>> 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] How to make a large patch performant

2020-01-06 Thread Andrew Lyons
Do abstractions work in subprocesses? If I put an oscillator in the top
level of the sub- process patch, I get audio back, but when I snapshot the
output of abstractions (that I know work at the top level) I get nothing
but zeros. I have added [PD DSP 1] messages to all abstractions, but still
no dice.

Is there another caveat I don't know about?

Thanks

On Sun, Jan 5, 2020, 10:41 PM Andrew Lyons  wrote:

> Ah - Ok. Yep.
>
> Thanks!
>
> =
> Andrew D Lyons | Tools Developer | http://www.tstex.com
> =
>
>
> On Sun, 5 Jan 2020 at 22:19, Lucas Cordiviola 
> wrote:
>
>> On 1/6/2020 2:51 AM, Andrew Lyons wrote:
>> > So I'm finding that patches running in pd~ subprocesses cannot read
>> > midi input of any kind? Does midi input need to be passed in from the
>> > parent patch as audio inputs?
>>
>>
>> No, why as audio input?
>>
>> You can pass it as control via the first inlet.
>>
>>  From the [pd~]'s help file:
>>
>> 
>>
>> Any message besides "pd~" is sent to the sub-process. For instance, the
>> message below sends "bar baz" to any object in the sub-process named
>> "foo", such as a "receive" object.
>>
>> ~~~
>>
>> :)
>>
>> Mensaje telepatico asistido por maquinas.
>>
>>
>>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] How to make a large patch performant

2020-01-06 Thread Christof Ressi
> Do abstractions work in subprocesses?

abstractions certainly work in subprocesses.

> I have added [PD DSP 1] messages to all abstractions, but still no dice. 

also make sure that the *parent* process has DSP running, otherwise time will 
not advance in the subprocess.
 
Christof

Gesendet: Montag, 06. Januar 2020 um 18:04 Uhr
Von: "Andrew Lyons" 
An: "Lucas Cordiviola" 
Cc: Pd-List 
Betreff: Re: [PD] How to make a large patch performant

Do abstractions work in subprocesses? If I put an oscillator in the top level 
of the sub- process patch, I get audio back, but when I snapshot the output of 
abstractions (that I know work at the top level) I get nothing but zeros. I 
have added [PD DSP 1] messages to all abstractions, but still no dice. 
 
Is there another caveat I don't know about?
 
Thanks 

On Sun, Jan 5, 2020, 10:41 PM Andrew Lyons 
mailto:tstext...@gmail.com]> wrote:
Ah - Ok. Yep. 
 
Thanks!
 

=
Andrew D Lyons | Tools Developer | http://www.tstex.com[http://www.tstex.com]
= 

On Sun, 5 Jan 2020 at 22:19, Lucas Cordiviola 
mailto:lucard...@hotmail.com]> wrote:On 1/6/2020 2:51 
AM, Andrew Lyons wrote:
> So I'm finding that patches running in pd~ subprocesses cannot read
> midi input of any kind? Does midi input need to be passed in from the
> parent patch as audio inputs?


No, why as audio input?

You can pass it as control via the first inlet.

 From the [pd~]'s help file:



Any message besides "pd~" is sent to the sub-process. For instance, the
message below sends "bar baz" to any object in the sub-process named
"foo", such as a "receive" object.

~~~

:)

Mensaje telepatico asistido por maquinas.

 ___ 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]



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


Re: [PD] PD file format documentation?

2020-01-06 Thread IOhannes m zmölnig
Am 6. Jänner 2020 18:00:25 MEZ schrieb William Huston 
:
>Thanks!
>I notice this is from 2004/v0.37
>
>No changes since then?

no. why?


mfg.hft.fsl
IOhannes

ps: actually there is. one. but since it's purely additional, you can probably 
live without it.


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


[PD] Issue with PD .50.0 + Windows Driver?

2020-01-06 Thread Rick Snow
Hello list,

I wonder if someone here can give me some advice..  I am in a situation where I 
need to run PD in coordination with Processing on a high end windows machine 
running Windows 10.  Everything worked perfectly until this morning.  Now PD’s 
audio is not working at all.  Audio from a web browser works fine.  Audio from 
Audacity works fine although I don’t see any options for an input audio device 
(not that I have one plugged in).

When I open PD and run test audio midi I get this error message:
“error opening audio: Illegal combination of I/O devices”

When I open Audio settings, I have:
input: ASIO: Realtek ASIO
output: MMIO:Speakers (Realtek(R) Audio)

There are no other input device options.

For output I have these options:
MMIO:Microsoft Sound Mapper - Output
MMIO:Speakers (Realtek(R) Audio)
MMIO:PHL 276E8V (2-NVIDIA High Defi
MMIO: Digital Audio (S/PDIF) (Realtek
ASIO:Realtek ASIO

If I turn off the input device (uncheck) I am able to get a very distorted test 
tone.

This problem seems to have started soon after I tried changing my screen 
resolution and then changing the pd font size and stretch options. I don’t know 
if this had anything to do with the problem or not though.

I have tried reinstalling PD a couple times and reinstalling the Realtek 
drivers.

Thanks for any advice.

Cheers,
Rick


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


Re: [PD] Issue with PD .50.0 + Windows Driver?

2020-01-06 Thread Christof Ressi
Hi,

> “error opening audio: Illegal combination of I/O devices”
> input: ASIO: Realtek ASIO
> output: MMIO:Speakers (Realtek(R) Audio)

when using the portaudio backend (called "ASIO" in the menu), I/O devices must 
use the same audio API, but in your case you have ASIO for input and MMIO for 
output.

> If I turn off the input device (uncheck) I am able to get a very distorted 
> test tone.

When using the portaudio backend, MMIO is indeed broken (probably we do 
something wrong in Pd, I have to investigate). If you want to use MMIO, use the 
MMIO backend (called "standard" in the menu).

I think what happened is that previously you used the "standard" backend and 
then accidentally switched to the "ASIO" backend.

BTW, it's generally better to use the "ASIO" backend and select the ASIO driver 
of your device, in your case that would be "Realtek ASIO". If your device 
doesn't offer an ASIO driver (e.g. cheap soundcards), you can install a generic 
ASIO driver like ASIO4All.

Christof


> Gesendet: Montag, 06. Januar 2020 um 19:17 Uhr
> Von: "Rick Snow" 
> An: Pd-List 
> Betreff: [PD] Issue with PD .50.0 + Windows Driver?
>
> Hello list,
> 
> I wonder if someone here can give me some advice..  I am in a situation where 
> I need to run PD in coordination with Processing on a high end windows 
> machine running Windows 10.  Everything worked perfectly until this morning.  
> Now PD’s audio is not working at all.  Audio from a web browser works fine.  
> Audio from Audacity works fine although I don’t see any options for an input 
> audio device (not that I have one plugged in).
> 
> When I open PD and run test audio midi I get this error message:
> “error opening audio: Illegal combination of I/O devices”
> 
> When I open Audio settings, I have:
> input: ASIO: Realtek ASIO
> output: MMIO:Speakers (Realtek(R) Audio)
> 
> There are no other input device options.
> 
> For output I have these options:
> MMIO:Microsoft Sound Mapper - Output
> MMIO:Speakers (Realtek(R) Audio)
> MMIO:PHL 276E8V (2-NVIDIA High Defi
> MMIO: Digital Audio (S/PDIF) (Realtek
> ASIO:Realtek ASIO
> 
> If I turn off the input device (uncheck) I am able to get a very distorted 
> test tone.
> 
> This problem seems to have started soon after I tried changing my screen 
> resolution and then changing the pd font size and stretch options. I don’t 
> know if this had anything to do with the problem or not though.
> 
> I have tried reinstalling PD a couple times and reinstalling the Realtek 
> drivers.
> 
> Thanks for any advice.
> 
> Cheers,
> Rick
> 
> 
> ___
> 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] Issue with PD .50.0 + Windows Driver?

2020-01-06 Thread Andrew Lyons
I would hazard a guess that the Asio/mmio input/output combination is the
problem. Does the ASIO:Realtek ASIO output option work? Have you run the
"Sound settings" troubleshoot tool?

I found the distorted output to be related to block size and delay values
in pd prefs/audio settings. Making those values larger cleaned things up.


On Mon, Jan 6, 2020, 10:27 AM Rick Snow  wrote:

> Hello list,
>
> I wonder if someone here can give me some advice..  I am in a situation
> where I need to run PD in coordination with Processing on a high end
> windows machine running Windows 10.  Everything worked perfectly until this
> morning.  Now PD’s audio is not working at all.  Audio from a web browser
> works fine.  Audio from Audacity works fine although I don’t see any
> options for an input audio device (not that I have one plugged in).
>
> When I open PD and run test audio midi I get this error message:
> “error opening audio: Illegal combination of I/O devices”
>
> When I open Audio settings, I have:
> input: ASIO: Realtek ASIO
> output: MMIO:Speakers (Realtek(R) Audio)
>
> There are no other input device options.
>
> For output I have these options:
> MMIO:Microsoft Sound Mapper - Output
> MMIO:Speakers (Realtek(R) Audio)
> MMIO:PHL 276E8V (2-NVIDIA High Defi
> MMIO: Digital Audio (S/PDIF) (Realtek
> ASIO:Realtek ASIO
>
> If I turn off the input device (uncheck) I am able to get a very distorted
> test tone.
>
> This problem seems to have started soon after I tried changing my screen
> resolution and then changing the pd font size and stretch options. I don’t
> know if this had anything to do with the problem or not though.
>
> I have tried reinstalling PD a couple times and reinstalling the Realtek
> drivers.
>
> Thanks for any advice.
>
> Cheers,
> Rick
>
>
> ___
> 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] Issue with PD .50.0 + Windows Driver?

2020-01-06 Thread Rick Snow
Thank you both for the advice.  There was no other option for input device 
other than the ASIO: Realtek ASIO.  

However, I just installed the ASIO4ALL v2 driver and set both input and output 
to use it and now the headphone jack gives the correct test tone.

Still not sure why the original driver would have stopped working but glad 
things are working now.  

Thanks again,
Rick



> On Jan 6, 2020, at 12:42 PM, Andrew Lyons  wrote:
> 
> I would hazard a guess that the Asio/mmio input/output combination is the 
> problem. Does the ASIO:Realtek ASIO output option work? Have you run the 
> "Sound settings" troubleshoot tool? 
> 
> I found the distorted output to be related to block size and delay values in 
> pd prefs/audio settings. Making those values larger cleaned things up.
> 
> 
> On Mon, Jan 6, 2020, 10:27 AM Rick Snow  > wrote:
> Hello list,
> 
> I wonder if someone here can give me some advice..  I am in a situation where 
> I need to run PD in coordination with Processing on a high end windows 
> machine running Windows 10.  Everything worked perfectly until this morning.  
> Now PD’s audio is not working at all.  Audio from a web browser works fine.  
> Audio from Audacity works fine although I don’t see any options for an input 
> audio device (not that I have one plugged in).
> 
> When I open PD and run test audio midi I get this error message:
> “error opening audio: Illegal combination of I/O devices”
> 
> When I open Audio settings, I have:
> input: ASIO: Realtek ASIO
> output: MMIO:Speakers (Realtek(R) Audio)
> 
> There are no other input device options.
> 
> For output I have these options:
> MMIO:Microsoft Sound Mapper - Output
> MMIO:Speakers (Realtek(R) Audio)
> MMIO:PHL 276E8V (2-NVIDIA High Defi
> MMIO: Digital Audio (S/PDIF) (Realtek
> ASIO:Realtek ASIO
> 
> If I turn off the input device (uncheck) I am able to get a very distorted 
> test tone.
> 
> This problem seems to have started soon after I tried changing my screen 
> resolution and then changing the pd font size and stretch options. I don’t 
> know if this had anything to do with the problem or not though.
> 
> I have tried reinstalling PD a couple times and reinstalling the Realtek 
> drivers.
> 
> Thanks for any advice.
> 
> Cheers,
> Rick
> 
> 
> ___
> 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] Issue with PD .50.0 + Windows Driver?

2020-01-06 Thread IOhannes m zmölnig
Am 6. Jänner 2020 20:18:25 MEZ schrieb Rick Snow :
>Thank you both for the advice.  There was no other option for input
>device other than the ASIO: Realtek ASIO.  .

only if you selexted the "portaudio" backend on the first place.
if you select the "standard" (aka "MMIO" on windows) backend (this is done 
directly under the "media" menu, as opposed to the "audio setup"), then you 
cannot possibly have the " ASIO" option available.

i think this is what christof hinted at.


mfg.hft.fsl
IOhannes


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


Re: [PD] PD file format documentation?

2020-01-06 Thread David
Just out of curiosity, what is it, if it's not a secret?

On Mon, Jan 6, 2020 at 12:39 PM IOhannes m zmölnig  wrote:

> Am 6. Jänner 2020 18:00:25 MEZ schrieb William Huston <
> williamahus...@gmail.com>:
> >Thanks!
> >I notice this is from 2004/v0.37
> >
> >No changes since then?
>
> no. why?
>
>
> mfg.hft.fsl
> IOhannes
>
> ps: actually there is. one. but since it's purely additional, you can
> probably live without it.
>
>
> ___
> 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 file format documentation?

2020-01-06 Thread Christof Ressi
I guess IOhannes means the "f" message which sets the box width.

 
Christof
 

Gesendet: Dienstag, 07. Januar 2020 um 02:02 Uhr
Von: "David" 
An: "IOhannes m zmölnig" 
Cc: Pd-List 
Betreff: Re: [PD] PD file format documentation?

Just out of curiosity, what is it, if it's not a secret? 

On Mon, Jan 6, 2020 at 12:39 PM IOhannes m zmölnig 
mailto:zmoel...@iem.at]> wrote:Am 6. Jänner 2020 18:00:25 MEZ 
schrieb William Huston 
mailto:williamahus...@gmail.com]>:
>Thanks!
>I notice this is from 2004/v0.37
>
>No changes since then?

no. why?


mfg.hft.fsl
IOhannes

ps: actually there is. one. but since it's purely additional, you can probably 
live without it.


___
Pd-list@lists.iem.at[mailto: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]___
 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]



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