Re: [PD] Listen to GISS.tv stream in Pure Data

2013-07-22 Thread IOhannes m zmölnig
On 07/22/13 00:00, Benjamin ~ 01xy wrote:
 Hello,
 
 On linux (debian) I use readanysf~ to listen to streams, this object is
 in the official repository, on ubuntu, you may have to use this ppa

[readanysf~] is in the official debian [1] and ubuntu [2] repositories
since wheezy resp. precise.
i don't think you need PPA anymore.

mgfasdr
IOhannes

[1] http://packages.debian.org/pd-readanysf
[2] http://packages.ubuntu.com/pd-readanysf




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


Re: [PD] Listen to GISS.tv stream in Pure Data

2013-07-22 Thread Benjamin ~ 01xy
Hello,

nice if no more ppa is needed
readanysf~ should work with mp3 streams if you have the appropriate lib
to decode (libmp3lame ?)

++b


Le 22/07/2013 08:31, IOhannes m zmölnig a écrit :
 On 07/22/13 00:00, Benjamin ~ 01xy wrote:
 Hello,

 On linux (debian) I use readanysf~ to listen to streams, this object is
 in the official repository, on ubuntu, you may have to use this ppa
 [readanysf~] is in the official debian [1] and ubuntu [2] repositories
 since wheezy resp. precise.
 i don't think you need PPA anymore.

 mgfasdr
 IOhannes

 [1] http://packages.debian.org/pd-readanysf
 [2] http://packages.ubuntu.com/pd-readanysf




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

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


[PD] tabread4 interpolation

2013-07-22 Thread J Oliver
Hi all,

Where can I find the code for tabread4?
Does someone have any lights on how this interpolation is implemented?

best,

J



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


Re: [PD] tabread4 interpolation

2013-07-22 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-07-22 11:47, J Oliver wrote:
 Hi all,
 
 Where can I find the code for tabread4? Does someone have any
 lights on how this interpolation is implemented?


$ cd src/git/pure-data/src/
$ grep -l tabread4 *.c
d_array.c
$ vi d_array.c
then
- - search for tabread4_setup
- - note that numbers are processed using the `tabread4_float` method
- - search for tabread4_float definition
- - study the algorithm

fgamsdr
IOhannes
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlHtBB4ACgkQkX2Xpv6ydvSkEQCcCogZniqwJ6+51ak8yUN3HZzW
qn0An3UEvNYlxBONMyBES3nwlHkbn0YI
=86R3
-END PGP SIGNATURE-

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


Re: [PD] tabread4 interpolation

2013-07-22 Thread J Oliver
thanks!
J

On Jul 22, 2013, at 12:06 PM, IOhannes m zmoelnig wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 On 2013-07-22 11:47, J Oliver wrote:
 Hi all,
 
 Where can I find the code for tabread4? Does someone have any
 lights on how this interpolation is implemented?
 
 
 $ cd src/git/pure-data/src/
 $ grep -l tabread4 *.c
 d_array.c
 $ vi d_array.c
 then
 - - search for tabread4_setup
 - - note that numbers are processed using the `tabread4_float` method
 - - search for tabread4_float definition
 - - study the algorithm
 
 fgamsdr
 IOhannes
 -BEGIN PGP SIGNATURE-
 Version: GnuPG v1.4.12 (GNU/Linux)
 Comment: Using GnuPG with Icedove - http://www.enigmail.net/
 
 iEYEARECAAYFAlHtBB4ACgkQkX2Xpv6ydvSkEQCcCogZniqwJ6+51ak8yUN3HZzW
 qn0An3UEvNYlxBONMyBES3nwlHkbn0YI
 =86R3
 -END PGP SIGNATURE-
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


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


Re: [PD] tabread4 interpolation

2013-07-22 Thread Claude Heiland-Allen
On 22/07/13 10:47, J Oliver wrote:
 Where can I find the code for tabread4?
 Does someone have any lights on how this interpolation is implemented?

See also this (quite long) thread:

http://lists.puredata.info/pipermail/pd-list/2010-03/077278.html


Claude
-- 
http://mathr.co.uk


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


Re: [PD] tabread4 interpolation

2013-07-22 Thread J Oliver
Right! I remember it now, so:

a Lagrange interpolator 

J

On Jul 22, 2013, at 12:40 PM, Claude Heiland-Allen wrote:

 On 22/07/13 10:47, J Oliver wrote:
 Where can I find the code for tabread4?
 Does someone have any lights on how this interpolation is implemented?
 
 See also this (quite long) thread:
 
 http://lists.puredata.info/pipermail/pd-list/2010-03/077278.html
 
 
 Claude
 -- 
 http://mathr.co.uk
 
 
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list


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


Re: [PD] playing long audio files

2013-07-22 Thread Фывапр Олджэвич
 So there's no way for playing long stereo audio files in PD-Vanilla with 
reloading them ? 


Воскресенье, 21 июля 2013, 10:08 +04:00 от Фывапр Олджэвич tofuc...@inbox.ru:
i now work with PD-vanilla and it says that it is Pd 0.44.0test2  - so it is 
the latest version. 

i don't do that with Extended, cause trying to make long audio test for LibPD, 
and it requires  Vanilla only. 


Пятница, 19 июля 2013, 19:45 +02:00 от IOhannes zmölnig zmoel...@iem.at:
On 07/19/2013 01:54 PM, Фывапр Олджэвич wrote:
  Hi IOhannes ! 
 
 Thanks for very particular answer and looking through the patch !
 
 The only puprose with wich i do this complex resizing is that i need  to 
 play large audio files. The -resize tag somehow doesn't allow the samples 
 longer then one-two minutes.. That was my initial issue, when starting this 
 thread. 

upgrade Pd.
the resize issue with longer soundfiles has been fixed in 0.43


gmsdr
IOhannes


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



-- 
Максим Иванов
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -  
http://lists.puredata.info/listinfo/pd-list



-- 
Максим Иванов
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] PDP test release

2013-07-22 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-07-21 23:02, Tom Schouten wrote:
 - the v4l2 code bails out because of undefined 
 V4L2_CID_HCENTER/V4L2_CID_VCENTER
 
 attached are two patches that seem to fix these two problems.
 
 thanks for the patches!

it seems they have not made it into DARCS yet :-(

btw, i also found a small note [1] on removing the unused
V4L2_CID_VCENTER/V4L2_CID_HCENTER controls from videodev2.h in 2012.

anyhow.
attached is yet another patch, that adds --with-pd= flags to
configure.ac, so you can specify the header-search path rather than
having to guess (thw wrong one).

fgamsdr
IOhannes


[1] http://permalink.gmane.org/gmane.linux.kernel.commits.head/315755
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlHtEv4ACgkQkX2Xpv6ydvTXUACeKny6JZqbIn7QIcgTg9GRZy+R
q18AoLd6T0/uPz5ePKCj1GEnwZWfgAYB
=rVx4
-END PGP SIGNATURE-
From 02fa9186a5e84fb7c1cf2a4ebdc29fcafb27e9b2 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?IOhannes=20m=20zm=C3=B6lnig?= zmoel...@iem.at
Date: Mon, 22 Jul 2013 13:03:25 +0200
Subject: [PATCH 1/2] adding --with-pd flag

to allow specifiying where the Pd-headers *really* are
(without having to guess)
---
 configure.ac | 61 +---
 1 file changed, 42 insertions(+), 19 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8434aff..02492ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -48,6 +48,11 @@ AC_ARG_ENABLE(png,
 AC_ARG_ENABLE(debug,
 	[  --enable-debug  enable debugging support (no)], , enable_debug=no)
 
+AC_ARG_WITH([pd],
+  [  --with-pd=/path/to/pd where to look for pd-headers and and -libs])
+
+
+
 
 # long double? -Wno-long-double
 PDP_CFLAGS=-DPD -Wall -W -Wstrict-prototypes -Wno-unused -Wno-parentheses -Wno-switch -fPIC
@@ -84,28 +89,46 @@ dnl try to locate the pd header in case the setup is nonstandard
 dnl check in  $prefix/pd/src then ../pd/src 
 dnl if this fails we trust it is in the standard include path
 PWD=`pwd`
-if test -f $prefix/pd/src/m_pd.h;
-then
-	PD_CPPFLAGS=-I$prefix/pd/src
 
-elif test -f $prefix/src/pd/src/m_pd.h;
-then
-	PD_CPPFLAGS=-I$prefix/src/pd/src
-elif test -f $PWD/../pd/src/m_pd.h;
-then
-	PD_CPPFLAGS=-I$PWD/../pd/src
-elif test -f $PWD/../src/m_pd.h;
-then
-	PD_CPPFLAGS=-I$PWD/../src
-elif test -f /usr/local/include/pd/m_pd.h;
-then
-	PD_CPPFLAGS=-I/usr/local/include/pd
-elif test -f /usr/include/pd/m_pd.h;
-then
-	PD_CPPFLAGS=-I/usr/include/pd
+if test x$with_pd != x; then
+ if test -d ${with_pd}; then
+   PDPATH=${with_pd}
+ fi
+ if test -d ${PDPATH}/src; then
+  AC_MSG_RESULT([adding ${PDPATH}/src to INCLUDES])
+  PD_CPPFLAGS=-I${PDPATH}/src
+
+  AC_MSG_RESULT([adding ${PDPATH}/src to LDFLAGS])
+  LDFLAGS=-L${PDPATH}/src ${LDFLAGS}
+ else
+  if test -d ${PDPATH}; then
+   AC_MSG_RESULT([adding ${PDPATH} to INCLUDES])
+   PD_CPPFLAGS=-I${PDPATH}
+  fi
+ fi
+else
+dnl try some defaults
+ if test -f $prefix/pd/src/m_pd.h;
+ then
+  PD_CPPFLAGS=-I$prefix/pd/src
+ elif test -f $prefix/src/pd/src/m_pd.h;
+ then
+  PD_CPPFLAGS=-I$prefix/src/pd/src
+ elif test -f $PWD/../pd/src/m_pd.h;
+ then
+  PD_CPPFLAGS=-I$PWD/../pd/src
+ elif test -f $PWD/../src/m_pd.h;
+ then
+  PD_CPPFLAGS=-I$PWD/../src
+ elif test -f /usr/local/include/pd/m_pd.h;
+ then
+  PD_CPPFLAGS=-I/usr/local/include/pd
+ elif test -f /usr/include/pd/m_pd.h;
+ then
+  PD_CPPFLAGS=-I/usr/include/pd
+ fi
 fi
 
-
 CPPFLAGS=$CPPFLAGS $PD_CPPFLAGS
 AC_CHECK_HEADER(m_pd.h,,
 	echo WARNING: m_pd.h not found. Is PD installed?
-- 
1.8.3.2

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


Re: [PD] playing long audio files

2013-07-22 Thread IOhannes m zmoelnig
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-07-22 12:47, Фывапр Олджэвич wrote:
 So there's no way for playing long stereo audio files in PD-Vanilla
 with reloading them ?
 

sure, multiple ways.

- - plying directly from file, using [readsf~]
- - loading soundfiles into extra-large arrays using [readsf~]
- - using the -resize flag to [soundfiler]
  i still don't understand what you problem is with this approach.

there's really not much point in making overly long arrays shorter.
if you want to make sure you could simply set all the samples to 0
before loading (using [const 0()

fgamsdr
IOhannes


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlHtE/wACgkQkX2Xpv6ydvS99wCePmmquQe3gTRqjiM30JgS/hAh
98AAoMFLHHCJT5Xi2kCCx8wliuQr2jkg
=ncKE
-END PGP SIGNATURE-

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


Re: [PD] playing long audio files

2013-07-22 Thread Jan Baumgart
When using soundfiler with the -resize flag, you will probably also need 
to set an appropriate size with the -maxsize flag.
Without -maxsize there's a build-in limit and you will get an error 
message saying resize failed.


cheers,
jan

On 22.7.13 13:14 , IOhannes m zmoelnig wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-07-22 12:47, Фывапр Олджэвич wrote:

So there's no way for playing long stereo audio files in PD-Vanilla
with reloading them ?



sure, multiple ways.

- - plying directly from file, using [readsf~]
- - loading soundfiles into extra-large arrays using [readsf~]
- - using the -resize flag to [soundfiler]
   i still don't understand what you problem is with this approach.

there's really not much point in making overly long arrays shorter.
if you want to make sure you could simply set all the samples to 0
before loading (using [const 0()

fgamsdr
IOhannes


-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Icedove - http://www.enigmail.net/

iEYEARECAAYFAlHtE/wACgkQkX2Xpv6ydvS99wCePmmquQe3gTRqjiM30JgS/hAh
98AAoMFLHHCJT5Xi2kCCx8wliuQr2jkg
=ncKE
-END PGP SIGNATURE-

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


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


[PD] [PD-announce] CALL FOR PROJECTS: Interactivos?'13 Nuvem Autonomías: Rural Sciences (BR)

2013-07-22 Thread Medialab-Prado Comunicación


   *Call for projects to be developed within the framework of the
   international workshop Interactivos?'13 Nuvem Autonomías: Rural
   Sciences. Call for Projects*


Nuvem, in collaboration with Medialab-Prado in Madrid (Spain), issues a 
call for the selection of 5 residency proposals to be collaboratively 
developed at the rural hacklab rural of *Visconde de Mauá (Rio de 
Janeiro, Brazil) from September 5 to 20, 2013.*


Researches, professionals, and amateurs can submit their proposals on 
communications, food, drinking, health, energy, transportation or 
bio-construction from a rural point of view. *Deadline: August* *3, 2013

*

**For submissions and more information:*
http://nuvem.tk/

*

--

Nerea García Garmendia
Medialab-Prado
Plaza de las Letras
Calle Alameda, 15. 28014 Madrid

difus...@medialab-prado.es

http://www.facebook.com/MedialabPradoMadrid
Twitter: @medialabprado https://twitter.com/medialabprado

/Antes de imprimir este documento asegúrate de que es realmente 
necesario. ¡Gracias por tu colaboración!/



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


Re: [PD] PDP test release

2013-07-22 Thread Tom Schouten

On 07/22/2013 07:09 AM, IOhannes m zmoelnig wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2013-07-21 23:02, Tom Schouten wrote:

- the v4l2 code bails out because of undefined
V4L2_CID_HCENTER/V4L2_CID_VCENTER

attached are two patches that seem to fix these two problems.

thanks for the patches!

it seems they have not made it into DARCS yet :-(

btw, i also found a small note [1] on removing the unused
V4L2_CID_VCENTER/V4L2_CID_HCENTER controls from videodev2.h in 2012.

anyhow.
attached is yet another patch, that adds --with-pd= flags to
configure.ac, so you can specify the header-search path rather than
having to guess (thw wrong one).

fgamsdr
IOhannes



thanks
will add it as soon as time allows


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


[PD] scratchy noise from soundcard

2013-07-22 Thread Elektro Moon
Hi gentlemen,

I have a problem with the pd-extended 0.43.4 on Ubuntu 10.04.
The soundblaster audiocard in the system is configured well, ALSA plays any
sound without problem. When I test the audio in Pd, it has a constant
noise, similar to a noise of fan or whatever machinery. The test tone is
hardly hearable. The same from playing any audio from Pd.

Trying any other audio ways, OSS or jack, does not have audio at all.
What can be the problem, how to fix it? Anybody had similar experience with
Ubuntu?

I never managed to connect my audio card with pd in jackd. Either pd does
not appear in the list to connect, or if it is there and connected with the
card, jackd stops immediately.
What do I do wrong?

The computer is a 64bit AMD.

Thanks in advance for your help:

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


Re: [PD] scratchy noise from soundcard

2013-07-22 Thread IOhannes m zmölnig
On 07/22/13 17:13, Elektro Moon wrote:
 
 Hi gentlemen,
 
 I have a problem with the pd-extended 0.43.4 on Ubuntu 10.04.

does it work with pd-vanilla (that is, the puredata package as found
in ubuntu)?

is there a specific reason why you are still running lucid?

do other applications work with jack?

fmar
IOhannes



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