Re: [PD] Trigger question

2021-03-17 Thread adam johnson
>and i was only saying that just because something is implemented in
>such-and-such way should be of no concern.

A feature not existing because of the difficulty of adding it would be one
possible answer to my question, so I checked the code before coming here
and it turned out to be the expected for loop.

>you still have to come up with an example where it gets so ugly it's
>hard to bear.

Why? I never said it is hard to bear, I said it was easy enough to work
around and implied that being able to break out of trigger would make it
neater and more readable, and at times it would. Most things in life would
probably be unbearable if we waited until things got difficult to bear
before even asking why.

>what are the chances that while you clean up the patches so they are
>presentable you discover that whatever you thought you needed a
>stoppable trigger evaporates?

It is in cleaning this patch that the question arose, but I never said I
needed it, I did not request a feature. I plainly stated that I suspected
the fault was with my understanding and not pd. Most languages give you
simple ways to break out of a sequence of events, but pd seems to treat it
as jumping off a cliff. As I said in my first post, I am asking why, not
how to do this, just trying to understand the logic of pd so I can use it
better.
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] symbols with zero paddings and spaces

2021-03-17 Thread Christof Ressi
Oh, you're right! I just realized that he was using cmd.exe, while I was 
using a Msys2 shell. That explains the difference: cmd.exe keeps the 
quotations for echo, but the Msys2 shell strips it away.


Christof

On 17.03.2021 22:10, José de Abreu wrote:

he gets 01 because the full symbol is "01

and the last symbol is actually 05.txt"

strange, why echo is sending " ... (!?)

Em Qua, 17 de mar de 2021 12:33, oliver > escreveu:


On 2021-03-17 14:25, Christof Ressi wrote:
> pdsend/pdreceive uses the FUDI protocol (= Pd messages), where
strings
> that look like floats are converted to a float atom. When
serializing
> between FUDI strings and Pd atoms, the textual result is not
> guaranteed to be the same for number atoms.

i see

>
>> the resulting output from [netreceive -u 3001] will be:
>>
>> udp: "01 2 3 4 05.txt"
>  Are you sure? Because I get
>
> 1 2 3 4 05.txt

yes, i am sure, at least for my system (Win7 / PD 0.51.4).
see attached .jpg.
(i'm getting the same truncations without the quotes btw.)

>
> which is what I would expect. The float atoms are properly
serialized
> to their string representation (Pd doesn't remember the original
> text!) and "05.txt" is actually a symbol.
>
>> is there any way to sent such a symbol untruncated using the
methods
>> above,
>  If you want to send it as a single symbol, that's possible, you
just
> have to escape the whitespace:
>
> "01\ 02\ 0003\ 004\ 05.txt"

thank you very much, that was a pointer in the right direction !
i figured, since the white spaces by themselves where transmitted
correctly, i wouldn't have to worry about them, but literally
escaping
white spaces within my .tcl script (by forcing a backslash before
every
white space) seems to do the trick !

best

oliver



___
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] symbols with zero paddings and spaces

2021-03-17 Thread José de Abreu
he gets 01 because the full symbol is "01

and the last symbol is actually 05.txt"

strange, why echo is sending " ... (!?)

Em Qua, 17 de mar de 2021 12:33, oliver  escreveu:

> On 2021-03-17 14:25, Christof Ressi wrote:
> > pdsend/pdreceive uses the FUDI protocol (= Pd messages), where strings
> > that look like floats are converted to a float atom. When serializing
> > between FUDI strings and Pd atoms, the textual result is not
> > guaranteed to be the same for number atoms.
>
> i see
>
> >
> >> the resulting output from [netreceive -u 3001] will be:
> >>
> >> udp: "01 2 3 4 05.txt"
> >  Are you sure? Because I get
> >
> > 1 2 3 4 05.txt
>
> yes, i am sure, at least for my system (Win7 / PD 0.51.4).
> see attached .jpg.
> (i'm getting the same truncations without the quotes btw.)
>
> >
> > which is what I would expect. The float atoms are properly serialized
> > to their string representation (Pd doesn't remember the original
> > text!) and "05.txt" is actually a symbol.
> >
> >> is there any way to sent such a symbol untruncated using the methods
> >> above,
> >  If you want to send it as a single symbol, that's possible, you just
> > have to escape the whitespace:
> >
> > "01\ 02\ 0003\ 004\ 05.txt"
>
> thank you very much, that was a pointer in the right direction !
> i figured, since the white spaces by themselves where transmitted
> correctly, i wouldn't have to worry about them, but literally escaping
> white spaces within my .tcl script (by forcing a backslash before every
> white space) seems to do the trick !
>
> best
>
> oliver
>
>
>
> ___
> 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] Multiple audio outputs on a single-board computer ?

2021-03-17 Thread Lorenzo Sutton

On 17/03/21 07:42, Pierre Massat wrote:

Dear all,

I haven't posted anything on this list in years.
I'm trying to build a system to play several sound files in a loop,
each around 2 minutes in length, all at the same time. By "several" I
mean 10 to 15 different files. While I'd have no problem making a Pd
patch to achieve this, I have no idea what hardware I could use. I
have a limited budget, and I was planning on running Pd on a Raspberry
Pi (or similar single-board computer).

Is there any cheap way of outputing than many channels from a single
(a couple of) RPi ?


How many are 'many' :-)

If it's <= 8 channels and you don't care (too much) about latency you 
could check out a cheap '7.1' USB card (these can cost less than 30 euro 
online) and if it exposes 8 writable inputs via jack that could work. 
The physical outputs of these are, of course, unbalanced and in couples 
so you'd need to do some cable splitting and then maybe have a mixer 
nearby...
I never did this on the RPi but I _did_ something similar with a cheap 
5.1 usb sound blaster hooked to a laptop in the past.

I'm assuming, of course that each file would 'consume' just 1 channel...

YMMV.

If you want more than 8 output channels it will be hard to stay 'cheap' 
(which of course depends on 'how much' is your limited budget), and then 
- of course - you need to check linux compatibility (i.e. if they are 
'class compliant'...)


My two cents,

Lorenzo.



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


Re: [PD] Trigger question

2021-03-17 Thread IOhannes m zmoelnig

On 3/17/21 9:20 AM, adam johnson wrote:

I guess I was not clear, I am not using it as a loop, I was just saying
that at the code level [trigger] is a for loop, so having it break would be
simple to add.



and i was only saying that just because something is implemented in 
such-and-such way should be of no concern.

it's implemented in C.
it would be trivial to launch rockets on the third outlet from the left 
as a side effect.



 I am using it more as a conditional, if certain conditions
are met on this output, it bangs the right inlet and stops the rest. This
is easy enough to manage other ways most of the time, but it can get ugly.


for conditions use [select].
you still have to come up with an example where it gets so ugly it's 
hard to bear.



I will attempt to simplify my current use after work and send it on if this
has not resolved by then, so far my attempts to simplify it have not been
successful and the patch itself needs to be cleaned up before subjecting
anyone to it, which I am currently working on doing.


what are the chances that while you clean up the patches so they are 
presentable you discover that whatever you thought you needed a 
stoppable trigger evaporates?



anyhow.

somehow i think what you want to do is like this:


|
[t b b]
| |
| (calculate condition whether the left-branch should run)
|
(depending on right branch run or not)


the proper way to do this is:

|
(calculate condition whether the sub-tree should run)
|
[select 1]
|
(subtree-to-run if condition above was met)



vmgsdr
IOhannes


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


Re: [PD] symbols with zero paddings and spaces

2021-03-17 Thread oliver

On 2021-03-17 14:25, Christof Ressi wrote:

pdsend/pdreceive uses the FUDI protocol (= Pd messages), where strings
that look like floats are converted to a float atom. When serializing
between FUDI strings and Pd atoms, the textual result is not
guaranteed to be the same for number atoms.


i see




the resulting output from [netreceive -u 3001] will be:

udp: "01 2 3 4 05.txt"

 Are you sure? Because I get

1 2 3 4 05.txt


yes, i am sure, at least for my system (Win7 / PD 0.51.4).
see attached .jpg.
(i'm getting the same truncations without the quotes btw.)



which is what I would expect. The float atoms are properly serialized
to their string representation (Pd doesn't remember the original
text!) and "05.txt" is actually a symbol.


is there any way to sent such a symbol untruncated using the methods
above,

 If you want to send it as a single symbol, that's possible, you just
have to escape the whitespace:

"01\ 02\ 0003\ 004\ 05.txt"


thank you very much, that was a pointer in the right direction !
i figured, since the white spaces by themselves where transmitted 
correctly, i wouldn't have to worry about them, but literally escaping 
white spaces within my .tcl script (by forcing a backslash before every 
white space) seems to do the trick !


best

oliver



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


Re: [PD] Multiple audio outputs on a single-board computer ?

2021-03-17 Thread Miller Puckette via Pd-list
OTOH in this particular application you migth be able to run several
Pd processes, one for each audio device, and sync them using
netsend/netreceive.  (Me, I use the startech "7.1" interface that costs about
$25; the "1" is full bandwidth so it gives you 8 independent channels out.
But I haven't tried two of them on the same pi; I just used multiple pis
when I wanted to do a multichannel installation).

cheers
M

On Wed, Mar 17, 2021 at 01:22:07PM +0100, IOhannes m zmoelnig wrote:
> On 3/17/21 9:34 AM, Antoine Villeret wrote:
> > you could even
> > think plugin 2 of them on the same board.
> 
> usually you do not want to do this.
> 
> you would have to synchronize the clocks of the two devices (unless you into
> glitch).
> devices that allow simple synchronisation would use something like
> wordclock. but that is typically in a different price segment)
> 
> gfdsmrtf
> IOhannes
> 
> 
> ___
> Pd-list@lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> 
> https://urldefense.com/v3/__https://lists.puredata.info/listinfo/pd-list__;!!Mih3wA!VdLyMsjHgio3D8Gqr4DtLrpB8tlKEm1SHCTz98adnO9e4aZAidT4e88KP3OE$



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


Re: [PD] symbols with zero paddings and spaces

2021-03-17 Thread Christof Ressi
pdsend/pdreceive uses the FUDI protocol (= Pd messages), where strings 
that look like floats are converted to a float atom. When serializing 
between FUDI strings and Pd atoms, the textual result is not guaranteed 
to be the same for number atoms.



the resulting output from [netreceive -u 3001] will be:

udp: "01 2 3 4 05.txt" 

Are you sure? Because I get

1 2 3 4 05.txt

which is what I would expect. The float atoms are properly serialized to 
their string representation (Pd doesn't remember the original text!) and 
"05.txt" is actually a symbol.


is there any way to sent such a symbol untruncated using the methods 
above,
If you want to send it as a single symbol, that's possible, you just 
have to escape the whitespace:


"01\ 02\ 0003\ 004\ 05.txt"

Now, if you want to send the tokens as individual symbols, you can 
escape them with a backslash:


"01 \02 \0003 \004 \05.txt"

Note the different position of the backslash! I'm not sure if this 
particular escaping behavior is actually intended or just works by 
chance... Generally, it would be great to document Pd's string escaping, 
because it is not entirely obvious.


Christof

On 17.03.2021 11:40, oliver wrote:

hi, dear list !

when i try to send a symbol containing spaces AND numbers prepended by 
zeros with [pdsend], the zeros get truncated in unpredictable ways.


to see what i mean, please do the following:

1.) open the [netreceive] help patch
2.) open a console and try the following command:

== LINUX/OSX: ===

~$ echo "01 02 0003 004 05.txt" | /usr/bin/pdsend 3001 localhost udp

=== WINDOWS: 

echo "01 02 0003 004 05.txt" | "C:\Program Files\Pd\bin\pdsend.exe"  
3001 localhost udp


=

the resulting output from [netreceive -u 3001] will be:

udp: "01 2 3 4 05.txt"


the same is true if a symbol like this is sent from a .tcl script to a 
corresponding [receive] object in a PD patch

(using the "::pd_connect::pdsend" function).

is there any way to sent such a symbol untruncated using the methods 
above, other than transforming them first to ascii code numbers and 
send them as a list of numbers, using [list tosymbol] later in the 
"PD-world" to symbolize it?


thanks for all clarifications

oliver



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

2021-03-17 Thread adam johnson
I guess I was not clear, I am not using it as a loop, I was just saying
that at the code level [trigger] is a for loop, so having it break would be
simple to add. I am using it more as a conditional, if certain conditions
are met on this output, it bangs the right inlet and stops the rest. This
is easy enough to manage other ways most of the time, but it can get ugly.
I will attempt to simplify my current use after work and send it on if this
has not resolved by then, so far my attempts to simplify it have not been
successful and the patch itself needs to be cleaned up before subjecting
anyone to it, which I am currently working on doing.

On Wed, Mar 17, 2021 at 12:18 PM IOhannes m zmoelnig 
wrote:

> On 3/17/21 9:39 AM, adam johnson wrote:
> > Sometimes when using trigger I find myself needing to break out of it
> > before it completes, simple to work up an abstraction to handle this,
> > but it got me to wondering why trigger does not have a right inlet to
> > stop the sequence. Looking at the code, trigger is a for loop as
> > expected, so it would seem to be a very simple task to add this right
> > inlet to allow breaking out of the sequence, is there a reason trigger
> > lacks this? Something so simple and obvious never having been done
> > suggests I am missing something, is this not as useful as it seems? Am
> > I missing something about dataflow?
>
> i think so.
>
> [trigger] is not a loop¹.
> it's a device to guarantee order-of-execution.
> there are other devices to stop dataflow (e.g. [spigot]), and devices to
> create stoppable loops ([until]), if that is really what you need.
>
> it's hard to say so without an actual example.
>
>
>
> fgdmst
> IOhannes
>
>
> ¹ as you figured by looking at the code, it is implemented (in C) using
> a for-loop. but that doesn't make it a loop. if you look deeper, you
> might find the for-loop translates to CMP and JMP instructions. that
> doesn't make [trigger] much of a comparator or a a jumper.
>
>
> ___
> 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] Multiple audio outputs on a single-board computer ?

2021-03-17 Thread IOhannes m zmoelnig

On 3/17/21 9:34 AM, Antoine Villeret wrote:

you could even
think plugin 2 of them on the same board.


usually you do not want to do this.

you would have to synchronize the clocks of the two devices (unless you 
into glitch).
devices that allow simple synchronisation would use something like 
wordclock. but that is typically in a different price segment)


gfdsmrtf
IOhannes


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


Re: [PD] Trigger question

2021-03-17 Thread IOhannes m zmoelnig

On 3/17/21 9:39 AM, adam johnson wrote:

Sometimes when using trigger I find myself needing to break out of it
before it completes, simple to work up an abstraction to handle this,
but it got me to wondering why trigger does not have a right inlet to
stop the sequence. Looking at the code, trigger is a for loop as
expected, so it would seem to be a very simple task to add this right
inlet to allow breaking out of the sequence, is there a reason trigger
lacks this? Something so simple and obvious never having been done
suggests I am missing something, is this not as useful as it seems? Am
I missing something about dataflow?


i think so.

[trigger] is not a loop¹.
it's a device to guarantee order-of-execution.
there are other devices to stop dataflow (e.g. [spigot]), and devices to 
create stoppable loops ([until]), if that is really what you need.


it's hard to say so without an actual example.



fgdmst
IOhannes


¹ as you figured by looking at the code, it is implemented (in C) using 
a for-loop. but that doesn't make it a loop. if you look deeper, you 
might find the for-loop translates to CMP and JMP instructions. that 
doesn't make [trigger] much of a comparator or a a jumper.



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


Re: [PD] Trigger question

2021-03-17 Thread Francisco Medeiros
Sorry, I forgot to reply to the list.

Hello Adam,
I am not sure how you are using trigger like a for loop Can you send an
example?
The way I use trigger is to make sure the incoming message is output in the
order I want them to (from right to left).
Maybe you can use a spigot after each output. That way you could stop it
from sending messages to those specific outputs.

adam johnson  escreveu no dia quarta, 17/03/2021 à(s)
09:12:

> Sometimes when using trigger I find myself needing to break out of it
> before it completes, simple to work up an abstraction to handle this,
> but it got me to wondering why trigger does not have a right inlet to
> stop the sequence. Looking at the code, trigger is a for loop as
> expected, so it would seem to be a very simple task to add this right
> inlet to allow breaking out of the sequence, is there a reason trigger
> lacks this? Something so simple and obvious never having been done
> suggests I am missing something, is this not as useful as it seems? Am
> I missing something about dataflow?
>
>
>
> ___
> 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] Problem with Gem

2021-03-17 Thread IOhannes m zmoelnig

On 3/17/21 2:20 AM, Kosmas Giannoutakis wrote:

Hi list,

I installed the Gem library from source and everything seemed to compiled 
correctly. When I open pd, I get the message:

[GEM:recordNDI] Please (re)install the NewTek NDI Runtimes to use this plugin.  
 need to find the library 'libndi.so.4'



this is only a warning, and it *only* concerns you if you want to to use 
NDI.


if you have never heard of NDI or don't plan to use it right now, you 
can safely ignore this.


gfmadrs
IOhannes


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


Re: [PD] symbols with zero paddings and spaces

2021-03-17 Thread Dan Wilcox
The 02, 0003 & 004 are being interpreted as floats and not symbols which is why 
the leading 0s are dropped

 Try using double quotes to force them to be interpreted as strings.

echo '"01" "02" "0003" "004" "05.txt"' | /usr/bin/pdsend 3001 localhost udp

This works for me on macOS, but the quotes remain with the symbols after 
receiving. Maybe there is another escape mechanism for this case?

udp: "01" "02" "0003" "004" "05.txt"

> On Mar 17, 2021, at 11:40 AM, pd-list-requ...@lists.iem.at wrote:
> 
> Message: 4
> Date: Wed, 17 Mar 2021 11:40:29 +0100
> From: oliver mailto:oli...@klingt.org>>
> To: pd-list@lists.iem.at 
> Subject: [PD] symbols with zero paddings and spaces
> Message-ID: <20640105c3eb39645edcd41d3ad25...@mail.klingt.org 
> >
> Content-Type: text/plain; charset=US-ASCII; format=flowed
> 
> hi, dear list !
> 
> when i try to send a symbol containing spaces AND numbers prepended by 
> zeros with [pdsend], the zeros get truncated in unpredictable ways.
> 
> to see what i mean, please do the following:
> 
> 1.) open the [netreceive] help patch
> 2.) open a console and try the following command:
> 
> == LINUX/OSX: ===
> 
> ~$ echo "01 02 0003 004 05.txt" | /usr/bin/pdsend 3001 localhost udp
> 
> === WINDOWS: 
> 
>> echo "01 02 0003 004 05.txt" | "C:\Program Files\Pd\bin\pdsend.exe"  
>> 3001 localhost udp
> 
> =
> 
> the resulting output from [netreceive -u 3001] will be:
> 
> udp: "01 2 3 4 05.txt"


Dan Wilcox
@danomatika 
danomatika.com 
robotcowboy.com 



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


[PD] [CFP] Eleventh Workshop on Ubiquitous Music (UbiMus 2021)

2021-03-17 Thread Gilberto Bernardes
++  Eleventh Workshop on Ubiquitous Music (UbiMus 2021)
++  6-8 September 2021 
++  https://dei.fe.up.pt/ubimus/ 

++  please distribute
++  apologies for cross-posting 

++  Paper and Music submissions deadline: 16 April 2021

Ubiquitous Music is an interdisciplinary research area that combines 
methodologies from music, computer science, education, creativity studies, 
human sciences and engineering. The Eleventh Workshop on Ubiquitous Music will 
be held on 6-8 September at CARA, Matosinhos, Portugal as a hybrid (online and 
on-site) format. Researchers working on ubiquitous music topics are invited to 
submit proposals, initial results and complete research projects. The workshop 
will adopt Portuguese, Spanish and English as working languages.

++  Suggested topics (not exclusive):
Ecologically grounded creative practice 
Ubimus approaches to web and mobile audio 
Everyday musical creativity 
Ubimus improvisation and comprovisation
Ubiquitous, embedded and mobile computing in ubimus 
The Internet of Musical Things (IoMusT), musical robotics and dew computing 
Collaborative and dialogic music practices in educational settings
Lay-musician interaction
Sonification, musication and auditory display in Ubimus
Timbre interaction in ubimus contexts
Domestic ubimus
Computational creativity in ubimus endeavours

++  Call for Papers
Please submit your research as full papers or short papers (work-in-progress), 
with a maximum of 12 and 4 pages, respectively, including references and 
acknowledgements. Papers may be written in English, Portuguese, or Spanish; 
should adhere strictly to the Ubimus template and submitted as a PDF. All 
submissions will be thoroughly peer-reviewed in a double-blind process. 
Accepted papers will be published in the workshop proceedings and under 
consideration for special issues of the Claves Journal and the Handbook of 
Ubiquitous Music.

++  Call for Music
Please submit artistic proposals to be presented in the workshop venue and in 
the online programme. Works must feature a strong connection with the workshop 
topics. Extended abstracts of no more than 2 pages detailing the artistic 
submission should be written in either English, Portuguese or Spanish and 
submitted as PDF in Easychair using the Ubimus templates. Please clearly 
specify all requirements and setup time for the performance on a detailed 
technical rider. There are no a priori restrictions to the setup if the authors 
guarantee the necessary equipment (the venue will be equipped with a stereo 
sound system). Sonic materials and artistic media should be made available for 
download through a link to a cloud service. The artistic submissions are not 
anonymous. 

++  Keynote Speakers
Elaine Chew | CNRS | IRCAM | King’s College London
Daniela Coimbra | ESMAE-IPP


best wishes,

--
Gilberto Bernardes | University of Porto | INESC TEC

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


[PD] symbols with zero paddings and spaces

2021-03-17 Thread oliver

hi, dear list !

when i try to send a symbol containing spaces AND numbers prepended by 
zeros with [pdsend], the zeros get truncated in unpredictable ways.


to see what i mean, please do the following:

1.) open the [netreceive] help patch
2.) open a console and try the following command:

== LINUX/OSX: ===

~$ echo "01 02 0003 004 05.txt" | /usr/bin/pdsend 3001 localhost udp

=== WINDOWS: 

echo "01 02 0003 004 05.txt" | "C:\Program Files\Pd\bin\pdsend.exe"  
3001 localhost udp


=

the resulting output from [netreceive -u 3001] will be:

udp: "01 2 3 4 05.txt"


the same is true if a symbol like this is sent from a .tcl script to a 
corresponding [receive] object in a PD patch

(using the "::pd_connect::pdsend" function).

is there any way to sent such a symbol untruncated using the methods 
above, other than transforming them first to ascii code numbers and send 
them as a list of numbers, using [list tosymbol] later in the "PD-world" 
to symbolize it?


thanks for all clarifications

oliver



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


Re: [PD] Multiple audio outputs on a single-board computer ?

2021-03-17 Thread Giulio Moro via Pd-list

disclaimer: I work for this company

We sell the CTAG-FACE (4in/8out) and CTAG-BEAST (8in/16out). These work with 
BeagleBone Black via ALSA or Bela's ultra-low-latency environment. No fiddly 
USB ports, relatively compact, super reliable, works out of the box.

https://shop.bela.io/collections/ctag-multi-channel-audio-system



Antoine Villeret wrote on 17/03/2021 08:34:

Hi,

Pd under works with any sound card supported by Linux.
One good and cheap option is the ESI Gigaport HD+ which provides 8 analog 
output for less than 200€.
I successfully test this card on Raspberry Pi few years ago.
Nowadays with RPi4 and its upgraded USB and ethernet chipset you could even 
think plugin 2 of them on the same board.

There might be also some other option.

Cheers

A

Le mer. 17 mars 2021 à 07:53, Pierre Massat mailto:pimas...@gmail.com>> a écrit :

Dear all,

I haven't posted anything on this list in years.
I'm trying to build a system to play several sound files in a loop,
each around 2 minutes in length, all at the same time. By "several" I
mean 10 to 15 different files. While I'd have no problem making a Pd
patch to achieve this, I have no idea what hardware I could use. I
have a limited budget, and I was planning on running Pd on a Raspberry
Pi (or similar single-board computer).

Is there any cheap way of outputing than many channels from a single
(a couple of) RPi ?

Thanks in advance,

Pierre.



___
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] Problem with Gem

2021-03-17 Thread ub

hey,


also: where did you get the source from?

it seems pd-ndi is an extension to Gem and not bundled into the 
repository at https://git.iem.at/pd/Gem


at least not in the master branch. are you intending to use ndi at all?


cheers,

ub

On 17.03.21 06:06, Peter P. wrote:

Kosmas,

just a quick reply: Which operating system are you on? Any reason you
can't install Gem via the "Find externals..." function? If you are on
Linux (Debian-based) try using the apt package installer to install Gem?

best, P

* Kosmas Giannoutakis  [2021-03-17 02:39]:

Hi list,

I installed the Gem library from source and everything seemed to 
compiled correctly. When I open pd, I get the message:


[GEM:recordNDI] Please (re)install the NewTek NDI Runtimes to use 
this plugin. need to find the library 'libndi.so.4'


This library appears to be at

/snap/obs-studio/1185/usr/local/lib/libndi.so
/snap/obs-studio/1185/usr/local/lib/libndi.so.4
/snap/obs-studio/1185/usr/local/lib/libndi.so.4.5.3
/snap/obs-studio/1195/usr/local/lib/libndi.so
/snap/obs-studio/1195/usr/local/lib/libndi.so.4
/snap/obs-studio/1195/usr/local/lib/libndi.so.4.5.3

I guess Gem cannot find it there... Any suggestions?

Thanks,
Kosmas
___
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


[PD] Trigger question

2021-03-17 Thread adam johnson
Sometimes when using trigger I find myself needing to break out of it
before it completes, simple to work up an abstraction to handle this,
but it got me to wondering why trigger does not have a right inlet to
stop the sequence. Looking at the code, trigger is a for loop as
expected, so it would seem to be a very simple task to add this right
inlet to allow breaking out of the sequence, is there a reason trigger
lacks this? Something so simple and obvious never having been done
suggests I am missing something, is this not as useful as it seems? Am
I missing something about dataflow?



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


Re: [PD] Multiple audio outputs on a single-board computer ?

2021-03-17 Thread Alexandros
Afaik Focusrite Scarlett audio interfaces usually work fine with Linux. 
Personally I have used the 2i2 gen 1, solo get 2 and 6i6 gen 2, all with 
my laptop running Ubuntu Studio and a Raspberry Pi.. I did try once a 
18i20 with my laptop but couldn't get it to work (though I tried for a 
few minutes only as I was in the store selling the device). If you can 
get a 18i20 to work, you could have your system work I guess. Though it 
should cost a few hundred dollars, euros, or whatever. Still these are 
quite cheap priced devices.


On 17/3/21 8:42 π.μ., Pierre Massat wrote:

Dear all,

I haven't posted anything on this list in years.
I'm trying to build a system to play several sound files in a loop,
each around 2 minutes in length, all at the same time. By "several" I
mean 10 to 15 different files. While I'd have no problem making a Pd
patch to achieve this, I have no idea what hardware I could use. I
have a limited budget, and I was planning on running Pd on a Raspberry
Pi (or similar single-board computer).

Is there any cheap way of outputing than many channels from a single
(a couple of) RPi ?

Thanks in advance,

Pierre.



___
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] Problem with Gem

2021-03-17 Thread Csaba Láng
Try to intall NDI first from the original newtek page. Probably gem is
looking for the original source and not in the obs boundle folder.

śr., 17.03.2021, 06:06 użytkownik Peter P. 
napisał:

> Kosmas,
>
> just a quick reply: Which operating system are you on? Any reason you
> can't install Gem via the "Find externals..." function? If you are on
> Linux (Debian-based) try using the apt package installer to install Gem?
>
> best, P
>
> * Kosmas Giannoutakis  [2021-03-17 02:39]:
> > Hi list,
> >
> > I installed the Gem library from source and everything seemed to
> compiled correctly. When I open pd, I get the message:
> >
> > [GEM:recordNDI] Please (re)install the NewTek NDI Runtimes to use this
> plugin.   need to find the library 'libndi.so.4'
> >
> > This library appears to be at
> >
> > /snap/obs-studio/1185/usr/local/lib/libndi.so
> > /snap/obs-studio/1185/usr/local/lib/libndi.so.4
> > /snap/obs-studio/1185/usr/local/lib/libndi.so.4.5.3
> > /snap/obs-studio/1195/usr/local/lib/libndi.so
> > /snap/obs-studio/1195/usr/local/lib/libndi.so.4
> > /snap/obs-studio/1195/usr/local/lib/libndi.so.4.5.3
> >
> > I guess Gem cannot find it there... Any suggestions?
> >
> > Thanks,
> > Kosmas
>
> > ___
> > 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] Multiple audio outputs on a single-board computer ?

2021-03-17 Thread Antoine Villeret
Hi,

Pd under works with any sound card supported by Linux.
One good and cheap option is the ESI Gigaport HD+ which provides 8 analog
output for less than 200€.
I successfully test this card on Raspberry Pi few years ago.
Nowadays with RPi4 and its upgraded USB and ethernet chipset you could even
think plugin 2 of them on the same board.

There might be also some other option.

Cheers

A

Le mer. 17 mars 2021 à 07:53, Pierre Massat  a écrit :

> Dear all,
>
> I haven't posted anything on this list in years.
> I'm trying to build a system to play several sound files in a loop,
> each around 2 minutes in length, all at the same time. By "several" I
> mean 10 to 15 different files. While I'd have no problem making a Pd
> patch to achieve this, I have no idea what hardware I could use. I
> have a limited budget, and I was planning on running Pd on a Raspberry
> Pi (or similar single-board computer).
>
> Is there any cheap way of outputing than many channels from a single
> (a couple of) RPi ?
>
> Thanks in advance,
>
> Pierre.
>
>
>
> ___
> 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] Multiple audio outputs on a single-board computer ?

2021-03-17 Thread Pierre Massat
Dear all,

I haven't posted anything on this list in years.
I'm trying to build a system to play several sound files in a loop,
each around 2 minutes in length, all at the same time. By "several" I
mean 10 to 15 different files. While I'd have no problem making a Pd
patch to achieve this, I have no idea what hardware I could use. I
have a limited budget, and I was planning on running Pd on a Raspberry
Pi (or similar single-board computer).

Is there any cheap way of outputing than many channels from a single
(a couple of) RPi ?

Thanks in advance,

Pierre.



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