Re: [PD] PdDroidParty: playing sound files?

2020-02-07 Thread enrike



I understand that feeling, however file playback is pretty fundamental.


sorry I guess my question should have been longer, something like: is 
there any technical reason to why there is no any example of playing a 
sound file in PdDroidParty?


I assumed there should be a technical reason, probably related to the 
way Android handles paths, to explain why there is no such an example.


As for PdParty, I have put quite a lot of work into making PdParty run 
patches as closely as possible to desktop Pd, requiring only a couple 
specific steps regarding GUIs for the same projects to run on both 
desktop and iOS. For more advanced GUIs, it's often useful to write the 
guts of a project in a patch which his then opened with 
platform-specific wrapper patches containing the GUI.


thanks for the tip

PdDroidParty cannot make as much of a promise for this regarding GUIs, 
but it does seem to handle most of the common use cases.


for me it has always worked fine both in Android and iOS

thanks

enrike



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


Re: [PD] env~ argument confusion

2020-02-07 Thread Dario Sanfilippo
>
> > so you get the same number of values, but they use different time-frames
> > for doing the averaging.
>
> Wow, crazy! Thanks for this explanation! Would be interesting to know
> for what different applications this (eg a long window with short
> period) can be useful. Anyway, it's very good to know.
>

For continuous measurements, you can also calculate the RMS in the audio
domain by squaring a signal, low-passing it with a 1-pole low-pass, and
taking the square root. The period of the filter, roughly, is the analysis
window. See Zölzer's "DASP" from 2008, page 229, for more information.

D



>
>
>
> ___
> 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] env~ argument confusion

2020-02-07 Thread Peter P.
* IOhannes m zmölnig  [2020-02-07 12:38]:
> On 2/7/20 11:04 AM, Peter P. wrote:
> > Hi,
> > 
> > I can't seem to understand what the second argument of [env~] is for.
> > The first argument is the window lenght for RMS analysis, but the second
> > argument is supposed to set "period in samples per analysis (window/2
> > default)". It seems I am getting two analysis values per window size
> > with the defaults of
> > [env~ 1024 512]
> 
> this means that you will get a new value every 512 samples (aka 8
> blocks, or 11.6ms@44.1kHz).
> the value you get will take the last 1024 samples into account to
> calculate the RMS.
> 
> > How would that be different from
> > [env~ 512 512]
> 
> this means that you will get a new value every 512 samples (aka 8
> blocks, or 11.6ms@44.1kHz).
> the value you get will take the last 512 samples into account to
> calculate the RMS.
> 
> so you get the same number of values, but they use different time-frames
> for doing the averaging.

Wow, crazy! Thanks for this explanation! Would be interesting to know
for what different applications this (eg a long window with short
period) can be useful. Anyway, it's very good to know.

cheerz, P



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


Re: [PD] svn or git on github or sourceforge?

2020-02-07 Thread Christof Ressi
Thanks! I mistakenly thought it was on GitHub, that's probably why I 
couldn't find it anymore :-)


On 07.02.2020 12:33, IOhannes m zmölnig wrote:

On 2/7/20 11:51 AM, Christof Ressi wrote:

IIRC, IOhannes also put all externals from Pd extended on GitHub, but I
forgot the name and can't find it... (@IOhannes where is it again?)

https://git.puredata.info/

tmer
IOhannes





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


Re: [PD] env~ argument confusion

2020-02-07 Thread IOhannes m zmölnig
On 2/7/20 11:04 AM, Peter P. wrote:
> Hi,
> 
> I can't seem to understand what the second argument of [env~] is for.
> The first argument is the window lenght for RMS analysis, but the second
> argument is supposed to set "period in samples per analysis (window/2
> default)". It seems I am getting two analysis values per window size
> with the defaults of
> [env~ 1024 512]

this means that you will get a new value every 512 samples (aka 8
blocks, or 11.6ms@44.1kHz).
the value you get will take the last 1024 samples into account to
calculate the RMS.

> How would that be different from
> [env~ 512 512]

this means that you will get a new value every 512 samples (aka 8
blocks, or 11.6ms@44.1kHz).
the value you get will take the last 512 samples into account to
calculate the RMS.

so you get the same number of values, but they use different time-frames
for doing the averaging.

gdsamr
IOhannes




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


Re: [PD] PdDroidParty: playing sound files?

2020-02-07 Thread Dan Wilcox
I understand that feeling, however file playback is pretty fundamental.

As for PdParty, I have put quite a lot of work into making PdParty run patches 
as closely as possible to desktop Pd, requiring only a couple specific steps 
regarding GUIs for the same projects to run on both desktop and iOS. For more 
advanced GUIs, it's often useful to write the guts of a project in a patch 
which his then opened with platform-specific wrapper patches containing the GUI.

PdDroidParty cannot make as much of a promise for this regarding GUIs, but it 
does seem to handle most of the common use cases.

> On Feb 7, 2020, at 12:20 PM, pd-list-requ...@lists.iem.at wrote:
> 
> Message: 2
> Date: Fri, 7 Feb 2020 12:15:18 +0100
> From: enrike mailto:alte...@gmail.com>>
> Cc: Pd-List mailto:pd-list@lists.iem.at>>
> Subject: Re: [PD] PdDroidParty: playing sound files?
> Message-ID: <1bacc4f2-ac0b-45d1-dc09-9b0a0c5ca...@gmail.com 
> >
> Content-Type: text/plain; charset=windows-1252; format=flowed
> 
> ok, thanks. I will try and see if I can get it to work (I did not want 
> to go into it to later discover it was impossible for some technical reason)


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


Re: [PD] svn or git on github or sourceforge?

2020-02-07 Thread IOhannes m zmölnig
On 2/7/20 11:51 AM, Christof Ressi wrote:
> IIRC, IOhannes also put all externals from Pd extended on GitHub, but I
> forgot the name and can't find it... (@IOhannes where is it again?)

https://git.puredata.info/

tmer
IOhannes



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


Re: [PD] PdDroidParty: playing sound files?

2020-02-07 Thread enrike
ok, thanks. I will try and see if I can get it to work (I did not want 
to go into it to later discover it was impossible for some technical reason)


20/2/7 11:59(e)an, Dan Wilcox igorleak idatzi zuen:
I have not used Android or PdDroidParty personally, but readsf~ is used 
by a couple of the existing droid party sample projects, ie. MultiBeat. 
Usage is the same as it would be with desktop Pd. You may need to add 
the local path with a declare if it cannot find a file: [declare -path .]


Except for how the GUI objects communicate and audio is rendered, most 
things work the same in PdDroidParty and PdParty as they do on desktop Pd.


On Feb 7, 2020, at 9:31 AM, pd-list-requ...@lists.iem.at 
 wrote:


Message: 3
Date: Fri, 7 Feb 2020 09:03:28 +0100
From: enrike mailto:alte...@gmail.com>>
To: Pd-List mailto:pd-list@lists.iem.at>>
Subject: [PD] PdDroidParty: playing sound files?
Message-ID: <483f0f48-739b-40ec-4fef-a9d9184c7...@gmail.com 
>

Content-Type: text/plain; charset=windows-1252; format=flowed

hi

is is possible to play a local soundfile in an Android phone using
PdDroidParty? I don't see any example that explains how to do it.

thanks

enrike



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


Re: [PD] PdDroidParty: playing sound files?

2020-02-07 Thread Dan Wilcox
I have not used Android or PdDroidParty personally, but readsf~ is used by a 
couple of the existing droid party sample projects, ie. MultiBeat. Usage is the 
same as it would be with desktop Pd. You may need to add the local path with a 
declare if it cannot find a file: [declare -path .] 

Except for how the GUI objects communicate and audio is rendered, most things 
work the same in PdDroidParty and PdParty as they do on desktop Pd.

> On Feb 7, 2020, at 9:31 AM, pd-list-requ...@lists.iem.at wrote:
> 
> Message: 3
> Date: Fri, 7 Feb 2020 09:03:28 +0100
> From: enrike mailto:alte...@gmail.com>>
> To: Pd-List mailto:pd-list@lists.iem.at>>
> Subject: [PD] PdDroidParty: playing sound files?
> Message-ID: <483f0f48-739b-40ec-4fef-a9d9184c7...@gmail.com 
> >
> Content-Type: text/plain; charset=windows-1252; format=flowed
> 
> hi
> 
> is is possible to play a local soundfile in an Android phone using 
> PdDroidParty? I don't see any example that explains how to do it.
> 
> thanks
> 
> enrike


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


Re: [PD] svn or git on github or sourceforge?

2020-02-07 Thread Christof Ressi
I'm not 100% sure about the actual state of the Pd Sourceforge repo but 
I'd dare say that almost all active Pd development by the *community* 
(i.e. issues and pull requests) happens on GitHub. The GitHub repo 
started as a mirror of the Sourceforge repo, but practically it might 
have turned into the opposite :-)


Regarding externals, there's no canonical location. For example, the IEM 
externals are actually hosted on git.iem.at, but there's a GitHub 
mirror: https://github.com/iem-projects.


There's been the idea for a central place for Pd externals 
(https://github.com/pd-externals/) but it didn't really take off (only 9 
sub repos).


IIRC, IOhannes also put all externals from Pd extended on GitHub, but I 
forgot the name and can't find it... (@IOhannes where is it again?)


BTW, I had a look at the activity on the Pd Sourceforge repo and at 
least two people still seem to use it for their externals...


Christof


On 07.02.2020 09:40, Peter P. wrote:

Hi list,

I am wondering if Pd and externals development happens via subversion or
git? The page https://github.com/pure-data/pure-data says it is a
"tracking puredata SourceForge git repository ". So am I correct to
assume that development happens via git on sourceforge servers?

Thanks!
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


Re: [PD] 8.topics and slop-tilde.htm missing on Debian?

2020-02-07 Thread Peter P.
* IOhannes m zmölnig  [2020-02-07 09:36]:
> Am 7. Februar 2020 09:31:43 MEZ schrieb "Peter P." :
> >Hi list,
> >
> >trying to access the file slop-tilde.htm that is referenced in
> >slop~-help.pd and it, nor its parent directory, is not found on my
> >Debian testing box with the following packages installed.
> >
> >$ aptitude search puredata | grep ^i | cut -d "-" -f 1-2
> 
> that would be a bug in the Debian packaging.
> 
> it would be great if you could create a bug-report on the Debian BTS.
Done for puredata-doc, thanks!



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


[PD] env~ argument confusion

2020-02-07 Thread Peter P.
Hi,

I can't seem to understand what the second argument of [env~] is for.
The first argument is the window lenght for RMS analysis, but the second
argument is supposed to set "period in samples per analysis (window/2
default)". It seems I am getting two analysis values per window size
with the defaults of
[env~ 1024 512]
How would that be different from
[env~ 512 512]
?

Thanks for any help here!
P



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


[PD] svn or git on github or sourceforge?

2020-02-07 Thread Peter P.
Hi list,

I am wondering if Pd and externals development happens via subversion or
git? The page https://github.com/pure-data/pure-data says it is a
"tracking puredata SourceForge git repository ". So am I correct to
assume that development happens via git on sourceforge servers?

Thanks!
P



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


Re: [PD] 8.topics and slop-tilde.htm missing on Debian?

2020-02-07 Thread IOhannes m zmölnig
Am 7. Februar 2020 09:31:43 MEZ schrieb "Peter P." :
>Hi list,
>
>trying to access the file slop-tilde.htm that is referenced in
>slop~-help.pd and it, nor its parent directory, is not found on my
>Debian testing box with the following packages installed.
>
>$ aptitude search puredata | grep ^i | cut -d "-" -f 1-2

that would be a bug in the Debian packaging.

it would be great if you could create a bug-report on the Debian BTS.

eg use 'reportbug'



mfg.hft.fsl
IOhannes


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


[PD] 8.topics and slop-tilde.htm missing on Debian?

2020-02-07 Thread Peter P.
Hi list,

trying to access the file slop-tilde.htm that is referenced in
slop~-help.pd and it, nor its parent directory, is not found on my
Debian testing box with the following packages installed.

$ aptitude search puredata | grep ^i | cut -d "-" -f 1-2
i  puredata - realtime computer music and graphics system
i  puredata-core 
i  puredata-dev 
i  puredata-doc 
i  puredata-extra 
i  puredata-gui 
i A puredata-gui
i  puredata-utils

Can anyone reproduce this as well?
cheerz, P



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


[PD] PdDroidParty: playing sound files?

2020-02-07 Thread enrike

hi

is is possible to play a local soundfile in an Android phone using 
PdDroidParty? I don't see any example that explains how to do it.


thanks

enrike



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