Hey pd-people,
I'm just wondering if any of you ever tried loading an audio file hosted by soundcloud into a PD patch. I'm thinking about something like [openpanel] + [soundfiler] but sourcing the audio data from a soundcloud account.
Any idea? Suggestions? Thanks!
--
// ALESSANDRO CONTINI
// www.alessandrocontini.it // skype: alessandro_contini // DE: +49-176-38600277 // ITA: +39-340-2686996
[wget -O source file(-[shell] & [read file(-[readanysf~]
use [popen] on windows and an executable of wget
Colet Patrice
----- Mail original -----
De: "alessandro contini" aless.contini@gmail.com À: "PD list" pd-list@iem.at Envoyé: Jeudi 23 Août 2012 12:49:42 Objet: [PD] playing soundcloud files
Hey pd-people,
I'm just wondering if any of you ever tried loading an audio file hosted by soundcloud into a PD patch. I'm thinking about something like [openpanel] + [soundfiler] but sourcing the audio data from a soundcloud account.
Any idea? Suggestions? Thanks!
--
// ALESSANDRO CONTINI
// www.alessandrocontini.it // skype: alessandro_contini // DE: +49-176-38600277 // ITA: +39-340-2686996
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thank you Patrice!
Anyway, I don't seem to find a way to make readanysf working on my computer (OS X)... What do you mean with "an executable of wget"? Thanks!
--
// ALESSANDRO CONTINI
// www.alessandrocontini.it // skype: alessandro_contini // DE: +49-176-38600277 // ITA: +39-340-2686996
On Thu, Aug 23, 2012 at 1:13 PM, Patrice Colet colet.patrice@free.frwrote:
[wget -O source file(-[shell] & [read file(-[readanysf~]
use [popen] on windows and an executable of wget
Colet Patrice
----- Mail original -----
De: "alessandro contini" aless.contini@gmail.com À: "PD list" pd-list@iem.at Envoyé: Jeudi 23 Août 2012 12:49:42 Objet: [PD] playing soundcloud files
Hey pd-people,
I'm just wondering if any of you ever tried loading an audio file hosted by soundcloud into a PD patch. I'm thinking about something like [openpanel] + [soundfiler] but sourcing the audio data from a soundcloud account.
Any idea? Suggestions? Thanks!
--
// ALESSANDRO CONTINI
// www.alessandrocontini.it // skype: alessandro_contini // DE: +49-176-38600277 // ITA: +39-340-2686996
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
De: "alessandro contini" aless.contini@gmail.com
Anyway, I don't seem to find a way to make readanysf working on my computer (OS X)...
I don't know anything about OSX, so I couldn't help with it. Maybe you should try first to understand what is a shell on OSX and how to use it. Another solution would be about converting the downloaded soundfile to aiff with a command line tool like ffmpeg.
$ ffmpeg -i soundfile.flv soundfile.aif
then you can open it with [soundfiler]
What do you mean with "an executable of wget"?
wget is a command line tool for downloading files, also there is something I didn't think about, you have to download first the html page, and extract the link of the flv file with sed or awk, or python, or tcl, or manually, choose your weapons...
I give you an indice, if in the html sources the link is something like "streamUrl":"http://media.soundcloud.com/stream/123456abcdef?
the command line would be:
$ wget -O soundfile.flv http://media.soundcloud.com/stream/123456abcdef
(sorry I've inverted output and link in precedent mail)
A last thing, be careful to not abuse with those command line tools, I suppose that soundcloud owners wouldn't appreciate if two many files are downloaded like this.
[wget -O source file(-[shell] & [read file(-[readanysf~]
use [popen] on windows and an executable of wget
Colet Patrice
----- Mail original -----
De: "alessandro contini" aless.contini@gmail.com À: "PD list" pd-list@iem.at Envoyé: Jeudi 23 Août 2012 12:49:42 Objet: [PD] playing soundcloud files
Hey pd-people,
I'm just wondering if any of you ever tried loading an audio file hosted by soundcloud into a PD patch. I'm thinking about something like [openpanel] + [soundfiler] but sourcing the audio data from a soundcloud account.
Any idea? Suggestions? Thanks!
--
// ALESSANDRO CONTINI
// www.alessandrocontini.it // skype: alessandro_contini // DE: +49-176-38600277 // ITA: +39-340-2686996
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
[readanysf~] does not only play many encodings and file formats, but supports also a lot of protocols, including http. You can directly open a track on soundcloud.com with [readanysf~]. There is no need to download the file first with wget or whatsoever.
Roman
On Don, 2012-08-23 at 13:13 +0200, Patrice Colet wrote:
[wget -O source file(-[shell] & [read file(-[readanysf~]
use [popen] on windows and an executable of wget
Colet Patrice
----- Mail original -----
De: "alessandro contini" aless.contini@gmail.com À: "PD list" pd-list@iem.at Envoyé: Jeudi 23 Août 2012 12:49:42 Objet: [PD] playing soundcloud files
Hey pd-people,
I'm just wondering if any of you ever tried loading an audio file hosted by soundcloud into a PD patch. I'm thinking about something like [openpanel] + [soundfiler] but sourcing the audio data from a soundcloud account.
Any idea? Suggestions? Thanks!
--
// ALESSANDRO CONTINI
// www.alessandrocontini.it // skype: alessandro_contini // DE: +49-176-38600277 // ITA: +39-340-2686996
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
That sounds good, but how exactly? Do you have an example patch?
From: reduzent@gmail.com To: pd-list@iem.at Date: Mon, 27 Aug 2012 22:32:04 +0200 Subject: Re: [PD] playing soundcloud files
[readanysf~] does not only play many encodings and file formats, but supports also a lot of protocols, including http. You can directly open a track on soundcloud.com with [readanysf~]. There is no need to download the file first with wget or whatsoever.
Roman
On Don, 2012-08-23 at 13:13 +0200, Patrice Colet wrote:
[wget -O source file(-[shell] & [read file(-[readanysf~]
use [popen] on windows and an executable of wget
Colet Patrice
----- Mail original -----
De: "alessandro contini" aless.contini@gmail.com À: "PD list" pd-list@iem.at Envoyé: Jeudi 23 Août 2012 12:49:42 Objet: [PD] playing soundcloud files
Hey pd-people,
I'm just wondering if any of you ever tried loading an audio file hosted by soundcloud into a PD patch. I'm thinking about something like [openpanel] + [soundfiler] but sourcing the audio data from a soundcloud account.
Any idea? Suggestions? Thanks!
--
// ALESSANDRO CONTINI
// www.alessandrocontini.it // skype: alessandro_contini // DE: +49-176-38600277 // ITA: +39-340-2686996
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
De: "Andrew Faraday" jbturgid@hotmail.com
That sounds good, but how exactly? Do you have an example patch?
I gave the answer in precedent mail, you have the link into html sources
From: reduzent@gmail.com To: pd-list@iem.at Date: Mon, 27 Aug 2012 22:32:04 +0200 Subject: Re: [PD] playing soundcloud files
[readanysf~] does not only play many encodings and file formats, but supports also a lot of protocols, including http. You can directly open a track on soundcloud.com with [readanysf~]. There is no need to download the file first with wget or whatsoever.
Roman
On Don, 2012-08-23 at 13:13 +0200, Patrice Colet wrote:
[wget -O source file(-[shell] & [read file(-[readanysf~]
use [popen] on windows and an executable of wget
Colet Patrice
----- Mail original -----
De: "alessandro contini" aless.contini@gmail.com À: "PD list" pd-list@iem.at Envoyé: Jeudi 23 Août 2012 12:49:42 Objet: [PD] playing soundcloud files
Hey pd-people,
I'm just wondering if any of you ever tried loading an audio file hosted by soundcloud into a PD patch. I'm thinking about something like [openpanel] + [soundfiler] but sourcing the audio data from a soundcloud account.
Any idea? Suggestions? Thanks!
--
// ALESSANDRO CONTINI
// www.alessandrocontini.it // skype: alessandro_contini // DE: +49-176-38600277 // ITA: +39-340-2686996
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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Die, 2012-08-28 at 20:48 +0100, Andrew Faraday wrote:
That sounds good, but how exactly? Do you have an example patch?
I think the help patch explains it quite well.
A real world example:
[open http://soundcloud.com/reduzent/backup-blues/download ( | | [play( |/ [readanysf~] | | [dac~ ]
Roman
From: reduzent@gmail.com To: pd-list@iem.at Date: Mon, 27 Aug 2012 22:32:04 +0200 Subject: Re: [PD] playing soundcloud files
[readanysf~] does not only play many encodings and file formats, but supports also a lot of protocols, including http. You can directly
open
a track on soundcloud.com with [readanysf~]. There is no need to download the file first with wget or whatsoever.
Roman
On Don, 2012-08-23 at 13:13 +0200, Patrice Colet wrote:
[wget -O source file(-[shell] & [read file(-[readanysf~]
use [popen] on windows and an executable of wget
Colet Patrice
----- Mail original -----
De: "alessandro contini" aless.contini@gmail.com À: "PD list" pd-list@iem.at Envoyé: Jeudi 23 Août 2012 12:49:42 Objet: [PD] playing soundcloud files
Hey pd-people,
I'm just wondering if any of you ever tried loading an audio
file
hosted by soundcloud into a PD patch. I'm thinking about something like [openpanel] + [soundfiler] but sourcing the audio data from a soundcloud account.
Any idea? Suggestions? Thanks!
--
// ALESSANDRO CONTINI
// www.alessandrocontini.it // skype: alessandro_contini // DE: +49-176-38600277 // ITA: +39-340-2686996
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 ->
can that be used with Spotify or Grooveshark?
On Wed, Aug 29, 2012 at 9:09 AM, Roman Haefeli reduzent@gmail.com wrote:
On Die, 2012-08-28 at 20:48 +0100, Andrew Faraday wrote:
That sounds good, but how exactly? Do you have an example patch?
I think the help patch explains it quite well.
A real world example:
[open http://soundcloud.com/reduzent/backup-blues/download ( | | [play( |/ [readanysf~] | | [dac~ ]
Roman
From: reduzent@gmail.com To: pd-list@iem.at Date: Mon, 27 Aug 2012 22:32:04 +0200 Subject: Re: [PD] playing soundcloud files
[readanysf~] does not only play many encodings and file formats, but supports also a lot of protocols, including http. You can directly
open
a track on soundcloud.com with [readanysf~]. There is no need to download the file first with wget or whatsoever.
Roman
On Don, 2012-08-23 at 13:13 +0200, Patrice Colet wrote:
[wget -O source file(-[shell] & [read file(-[readanysf~]
use [popen] on windows and an executable of wget
Colet Patrice
----- Mail original -----
De: "alessandro contini" aless.contini@gmail.com À: "PD list" pd-list@iem.at Envoyé: Jeudi 23 Août 2012 12:49:42 Objet: [PD] playing soundcloud files
Hey pd-people,
I'm just wondering if any of you ever tried loading an audio
file
hosted by soundcloud into a PD patch. I'm thinking about something like [openpanel] + [soundfiler] but sourcing the audio data from a soundcloud account.
Any idea? Suggestions? Thanks!
--
// ALESSANDRO CONTINI
// www.alessandrocontini.it // skype: alessandro_contini // DE: +49-176-38600277 // ITA: +39-340-2686996
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 ->
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
It could if they provide you with a download link... I'd have to guess that they won't, tho. It would undermine their whole buisness plan.
Date: Wed, 29 Aug 2012 09:13:28 -0300 Subject: Re: [PD] playing soundcloud files From: lemota@gmail.com To: reduzent@gmail.com CC: jbturgid@hotmail.com; pd-list@iem.at
can that be used with Spotify or Grooveshark?
On Wed, Aug 29, 2012 at 9:09 AM, Roman Haefeli reduzent@gmail.com wrote:
On Die, 2012-08-28 at 20:48 +0100, Andrew Faraday wrote:
That sounds good, but how exactly? Do you have an example patch?
I think the help patch explains it quite well.
A real world example:
[open http://soundcloud.com/reduzent/backup-blues/download ( | | [play( |/ [readanysf~] | | [dac~ ]
Roman
From: reduzent@gmail.com To: pd-list@iem.at Date: Mon, 27 Aug 2012 22:32:04 +0200 Subject: Re: [PD] playing soundcloud files
[readanysf~] does not only play many encodings and file formats, but supports also a lot of protocols, including http. You can directly
open
a track on soundcloud.com with [readanysf~]. There is no need to download the file first with wget or whatsoever.
Roman
On Don, 2012-08-23 at 13:13 +0200, Patrice Colet wrote:
[wget -O source file(-[shell] & [read file(-[readanysf~]
use [popen] on windows and an executable of wget
Colet Patrice
----- Mail original -----
De: "alessandro contini" aless.contini@gmail.com À: "PD list" pd-list@iem.at Envoyé: Jeudi 23 Août 2012 12:49:42 Objet: [PD] playing soundcloud files
Hey pd-people,
I'm just wondering if any of you ever tried loading an audio
file
hosted by soundcloud into a PD patch. I'm thinking about something like [openpanel] + [soundfiler] but sourcing the audio data from a soundcloud account.
Any idea? Suggestions? Thanks!
--
// ALESSANDRO CONTINI
// www.alessandrocontini.it // skype: alessandro_contini // DE: +49-176-38600277 // ITA: +39-340-2686996
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 ->
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On Mit, 2012-08-29 at 14:46 +0100, Andrew Faraday wrote:
It could if they provide you with a download link... I'd have to guess that they won't, tho. It would undermine their whole buisness plan.
They do. I don't know the specifics, but I assume it's up to the author to allow the download of the mp3-file or not. The example below uses such a download link from soundcloud.com.
Roman
Date: Wed, 29 Aug 2012 09:13:28 -0300 Subject: Re: [PD] playing soundcloud files From: lemota@gmail.com To: reduzent@gmail.com CC: jbturgid@hotmail.com; pd-list@iem.at
can that be used with Spotify or Grooveshark?
On Wed, Aug 29, 2012 at 9:09 AM, Roman Haefeli reduzent@gmail.com
wrote:
On Die, 2012-08-28 at 20:48 +0100, Andrew Faraday wrote:
That sounds good, but how exactly? Do you have an example patch?
I think the help patch explains it quite well.
A real world example:
[open http://soundcloud.com/reduzent/backup-blues/download ( | | [play( |/ [readanysf~] | | [dac~ ]
Roman
From: reduzent@gmail.com To: pd-list@iem.at Date: Mon, 27 Aug 2012 22:32:04 +0200 Subject: Re: [PD] playing soundcloud files
[readanysf~] does not only play many encodings and file
formats, but
supports also a lot of protocols, including http. You can
directly
open
a track on soundcloud.com with [readanysf~]. There is no need
to
download the file first with wget or whatsoever.
Roman
On Don, 2012-08-23 at 13:13 +0200, Patrice Colet wrote:
[wget -O source file(-[shell] & [read file(-[readanysf~]
use [popen] on windows and an executable of wget
Colet Patrice
----- Mail original ----- > De: "alessandro contini" aless.contini@gmail.com > À: "PD list" pd-list@iem.at > Envoyé: Jeudi 23 Août 2012 12:49:42 > Objet: [PD] playing soundcloud files > > Hey pd-people, > > I'm just wondering if any of you ever tried loading an
audio
file
> hosted by > soundcloud into a PD patch. > I'm thinking about something like [openpanel] +
[soundfiler] but
> sourcing > the audio data from a soundcloud account. > > Any idea? Suggestions? > Thanks! > > -- > > // ALESSANDRO CONTINI > > // www.alessandrocontini.it > // skype: alessandro_contini > // DE: +49-176-38600277 > // ITA: +39-340-2686996 > > _______________________________________________ > 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 ->
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Hello Roman,
I tried to apply the IOhannes's patch on the Makefile of readanysf~ :
Author: IOhannes m zmölnig
Description: get linking order right (objects/libs that depends on other
libs
should come before the dependencies)
--- pd-readanysf.orig/Makefile
+++ pd-readanysf/Makefile
@@ -31,7 +31,7 @@
#PD_CXXFLAGS += -O1 -funroll-loops -fomit-frame-pointer
# -Wall -W -Wshadow
# -Wno-unused -Wno-parentheses -Wno-switch
-PD_LDFLAGS = -L/usr/local/lib -lpthread -lgavl -lgmerlin_avdec
+PD_LDFLAGS = -L/usr/lib -lgmerlin_avdec -lgavl -lpthread
else
# assume darwin here
STRIP=strip -x
@@ -55,11 +55,12 @@
all: $(TARGET)
pd_linux: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS)
$(PD_LDFLAGS) \
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS) \
src/readanysf~.cpp \
objs/FifoAudioFrames.o \
objs/FifoVideoFrames.o \
objs/ReadMedia.o
objs/ReadMedia.o \
$(PD_LDFLAGS)
$(STRIP) readanysf~.pd_linux
pd_darwin: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
After i copy patch.txt in .../august/readanysf~ and $ cd .../august/readanysf~ $ patch < patch.txt
I get : patching file Makefile Hunk #1 FAILED at 31. Hunk #2 FAILED at 55. 2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
The Makefile.rej is :
--- Makefile
+++ Makefile
@@ -31,7 +31,7 @@
#PD_CXXFLAGS += -O1 -funroll-loops -fomit-frame-pointer
# -Wall -W -Wshadow
# -Wno-unused -Wno-parentheses -Wno-switch
-PD_LDFLAGS = -L/usr/local/lib -lpthread -lgavl -lgmerlin_avdec
+PD_LDFLAGS = -L/usr/lib -lgmerlin_avdec -lgavl -lpthread
else
# assume darwin here
STRIP=strip -x
@@ -55,11 +55,12 @@
all: $(TARGET)
pd_linux: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS)
$(PD_LDFLAGS) \
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS) \
src/readanysf~.cpp \
objs/FifoAudioFrames.o \
objs/FifoVideoFrames.o \
objs/ReadMedia.o
objs/ReadMedia.o \
$(PD_LDFLAGS)
$(STRIP) readanysf~.pd_linux
pd_darwin: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
I think i missed something ? ++
Jack
Le 29/08/2012 15:51, Roman Haefeli a écrit :
On Mit, 2012-08-29 at 14:46 +0100, Andrew Faraday wrote:
It could if they provide you with a download link... I'd have to guess that they won't, tho. It would undermine their whole buisness plan.
They do. I don't know the specifics, but I assume it's up to the author to allow the download of the mp3-file or not. The example below uses such a download link from soundcloud.com.
Roman
Date: Wed, 29 Aug 2012 09:13:28 -0300 Subject: Re: [PD] playing soundcloud files From: lemota@gmail.com To: reduzent@gmail.com CC: jbturgid@hotmail.com; pd-list@iem.at
can that be used with Spotify or Grooveshark?
On Wed, Aug 29, 2012 at 9:09 AM, Roman Haefeli reduzent@gmail.com
wrote:
On Die, 2012-08-28 at 20:48 +0100, Andrew Faraday wrote:
That sounds good, but how exactly? Do you have an example patch?
I think the help patch explains it quite well.
A real world example:
[open http://soundcloud.com/reduzent/backup-blues/download ( | | [play( |/ [readanysf~] | | [dac~ ]
Roman
From: reduzent@gmail.com To: pd-list@iem.at Date: Mon, 27 Aug 2012 22:32:04 +0200 Subject: Re: [PD] playing soundcloud files
[readanysf~] does not only play many encodings and file
formats, but
supports also a lot of protocols, including http. You can
directly
open
a track on soundcloud.com with [readanysf~]. There is no need
to
download the file first with wget or whatsoever.
Roman
On Don, 2012-08-23 at 13:13 +0200, Patrice Colet wrote: > [wget -O source file(-[shell] & [read file(-[readanysf~] > > use [popen] on windows and an executable of wget > > Colet Patrice > > ----- Mail original ----- >> De: "alessandro contini" aless.contini@gmail.com >> À: "PD list" pd-list@iem.at >> Envoyé: Jeudi 23 Août 2012 12:49:42 >> Objet: [PD] playing soundcloud files >> >> Hey pd-people, >> >> I'm just wondering if any of you ever tried loading an
audio
file
>> hosted by >> soundcloud into a PD patch. >> I'm thinking about something like [openpanel] +
[soundfiler] but
>> sourcing >> the audio data from a soundcloud account. >> >> Any idea? Suggestions? >> Thanks! >> >> -- >> >> // ALESSANDRO CONTINI >> >> // www.alessandrocontini.it >> // skype: alessandro_contini >> // DE: +49-176-38600277 >> // ITA: +39-340-2686996 >> >> _______________________________________________ >> 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 ->
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi Jack
I'm not really knowledgeable about Makefiles and C code, but I assume you're trying to patch not the exact same version of readanysf~ that the patch was written for.
The patch was written for Debian version 0.42-1 (which is made of 0.42 upstream sources). If you are on Debian testing or unstable or on Ubuntu 12.04, you could do:
$ apt-get sources pd-readanysf
to get the correct sources.
If you're on Ubuntu 12.04, you could also use my PPA, which hosts a fixed version of [readanysf~]:
$ sudo apt-add-repository ppa:reduzierer/rdz-pd-extra+deps $ sudo aptitude update $ sudo aptitude install pd-readanysf
Roman
On Mit, 2012-08-29 at 17:54 +0200, Jack wrote:
Hello Roman,
I tried to apply the IOhannes's patch on the Makefile of readanysf~ :
Author: IOhannes m zmölnig Description: get linking order right (objects/libs that depends on other libs should come before the dependencies) --- pd-readanysf.orig/Makefile +++ pd-readanysf/Makefile @@ -31,7 +31,7 @@ #PD_CXXFLAGS += -O1 -funroll-loops -fomit-frame-pointer
# -Wall -W -Wshadow
# -Wno-unused -Wno-parentheses -Wno-switch -PD_LDFLAGS = -L/usr/local/lib -lpthread -lgavl -lgmerlin_avdec +PD_LDFLAGS = -L/usr/lib -lgmerlin_avdec -lgavl -lpthread else # assume darwin here STRIP=strip -x @@ -55,11 +55,12 @@ all: $(TARGET)pd_linux: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS)
$(PD_LDFLAGS) \
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS) \ src/readanysf~.cpp \ objs/FifoAudioFrames.o \ objs/FifoVideoFrames.o \
objs/ReadMedia.o
objs/ReadMedia.o \
$(PD_LDFLAGS) $(STRIP) readanysf~.pd_linux
pd_darwin: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
After i copy patch.txt in .../august/readanysf~ and $ cd .../august/readanysf~ $ patch < patch.txt
I get : patching file Makefile Hunk #1 FAILED at 31. Hunk #2 FAILED at 55. 2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
The Makefile.rej is :
--- Makefile +++ Makefile @@ -31,7 +31,7 @@ #PD_CXXFLAGS += -O1 -funroll-loops -fomit-frame-pointer
# -Wall -W -Wshadow
# -Wno-unused -Wno-parentheses -Wno-switch -PD_LDFLAGS = -L/usr/local/lib -lpthread -lgavl -lgmerlin_avdec +PD_LDFLAGS = -L/usr/lib -lgmerlin_avdec -lgavl -lpthread else # assume darwin here STRIP=strip -x @@ -55,11 +55,12 @@ all: $(TARGET)pd_linux: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS)
$(PD_LDFLAGS) \
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS) \ src/readanysf~.cpp \ objs/FifoAudioFrames.o \ objs/FifoVideoFrames.o \
objs/ReadMedia.o
objs/ReadMedia.o \
$(PD_LDFLAGS) $(STRIP) readanysf~.pd_linux
pd_darwin: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
I think i missed something ? ++
Jack
Le 29/08/2012 15:51, Roman Haefeli a écrit :
On Mit, 2012-08-29 at 14:46 +0100, Andrew Faraday wrote:
It could if they provide you with a download link... I'd have to guess that they won't, tho. It would undermine their whole buisness plan.
They do. I don't know the specifics, but I assume it's up to the author to allow the download of the mp3-file or not. The example below uses such a download link from soundcloud.com.
Roman
Date: Wed, 29 Aug 2012 09:13:28 -0300 Subject: Re: [PD] playing soundcloud files From: lemota@gmail.com To: reduzent@gmail.com CC: jbturgid@hotmail.com; pd-list@iem.at
can that be used with Spotify or Grooveshark?
On Wed, Aug 29, 2012 at 9:09 AM, Roman Haefeli reduzent@gmail.com
wrote:
On Die, 2012-08-28 at 20:48 +0100, Andrew Faraday wrote:
That sounds good, but how exactly? Do you have an example patch?
I think the help patch explains it quite well.
A real world example:
[open http://soundcloud.com/reduzent/backup-blues/download ( | | [play( |/ [readanysf~] | | [dac~ ]
Roman
> From: reduzent@gmail.com > To: pd-list@iem.at > Date: Mon, 27 Aug 2012 22:32:04 +0200 > Subject: Re: [PD] playing soundcloud files > > [readanysf~] does not only play many encodings and file
formats, but
> supports also a lot of protocols, including http. You can
directly
open > a track on soundcloud.com with [readanysf~]. There is no need
to
> download the file first with wget or whatsoever. > > Roman > > > On Don, 2012-08-23 at 13:13 +0200, Patrice Colet wrote: >> [wget -O source file(-[shell] & [read file(-[readanysf~] >> >> use [popen] on windows and an executable of wget >> >> Colet Patrice >> >> ----- Mail original ----- >>> De: "alessandro contini" aless.contini@gmail.com >>> À: "PD list" pd-list@iem.at >>> Envoyé: Jeudi 23 Août 2012 12:49:42 >>> Objet: [PD] playing soundcloud files >>> >>> Hey pd-people, >>> >>> I'm just wondering if any of you ever tried loading an
audio
file >>> hosted by >>> soundcloud into a PD patch. >>> I'm thinking about something like [openpanel] +
[soundfiler] but
>>> sourcing >>> the audio data from a soundcloud account. >>> >>> Any idea? Suggestions? >>> Thanks! >>> >>> -- >>> >>> // ALESSANDRO CONTINI >>> >>> // www.alessandrocontini.it >>> // skype: alessandro_contini >>> // DE: +49-176-38600277 >>> // ITA: +39-340-2686996 >>> >>> _______________________________________________ >>> 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
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
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
Hello Roman,
Thanx for your answer.
Le 30/08/2012 08:50, Roman Haefeli a écrit :
Hi Jack
I'm not really knowledgeable about Makefiles and C code, but I assume you're trying to patch not the exact same version of readanysf~ that the patch was written for.
The patch was written for Debian version 0.42-1 (which is made of 0.42 upstream sources). If you are on Debian testing or unstable or on Ubuntu 12.04, you could do:
Yes i installed Ubuntu 12.04.
$ apt-get sources pd-readanysf
Done.
to get the correct sources.
This time with :
$ patch < patch.txt
i get only one 'error ':
patching file Makefile Hunk #2 FAILED at 55. 1 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
The Makefile.rej is :
--- Makefile +++ Makefile @@ -55,11 +55,12 @@ all: $(TARGET)
pd_linux: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS)
$(PD_LDFLAGS) \
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS) \
src/readanysf~.cpp \
objs/FifoAudioFrames.o \
objs/FifoVideoFrames.o \
objs/ReadMedia.o
objs/ReadMedia.o \
$(PD_LDFLAGS)
$(STRIP) readanysf~.pd_linux
pd_darwin: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
If anyone could help me to resolve this problem, it would be very nice.
I would like to use sources to install readanysf~ so i didn't try the method above. ++
Jack
If you're on Ubuntu 12.04, you could also use my PPA, which hosts a fixed version of [readanysf~]:
$ sudo apt-add-repository ppa:reduzierer/rdz-pd-extra+deps $ sudo aptitude update $ sudo aptitude install pd-readanysf
Roman
On Mit, 2012-08-29 at 17:54 +0200, Jack wrote:
Hello Roman,
I tried to apply the IOhannes's patch on the Makefile of readanysf~ :
Author: IOhannes m zmölnig Description: get linking order right (objects/libs that depends on other libs should come before the dependencies) --- pd-readanysf.orig/Makefile +++ pd-readanysf/Makefile @@ -31,7 +31,7 @@ #PD_CXXFLAGS += -O1 -funroll-loops -fomit-frame-pointer
# -Wall -W -Wshadow
# -Wno-unused -Wno-parentheses -Wno-switch -PD_LDFLAGS = -L/usr/local/lib -lpthread -lgavl -lgmerlin_avdec +PD_LDFLAGS = -L/usr/lib -lgmerlin_avdec -lgavl -lpthread else # assume darwin here STRIP=strip -x @@ -55,11 +55,12 @@ all: $(TARGET)pd_linux: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS)
$(PD_LDFLAGS) \
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS) \ src/readanysf~.cpp \ objs/FifoAudioFrames.o \ objs/FifoVideoFrames.o \
objs/ReadMedia.o
objs/ReadMedia.o \
$(PD_LDFLAGS) $(STRIP) readanysf~.pd_linux
pd_darwin: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
After i copy patch.txt in .../august/readanysf~ and $ cd .../august/readanysf~ $ patch < patch.txt
I get : patching file Makefile Hunk #1 FAILED at 31. Hunk #2 FAILED at 55. 2 out of 2 hunks FAILED -- saving rejects to file Makefile.rej
The Makefile.rej is :
--- Makefile +++ Makefile @@ -31,7 +31,7 @@ #PD_CXXFLAGS += -O1 -funroll-loops -fomit-frame-pointer
# -Wall -W -Wshadow
# -Wno-unused -Wno-parentheses -Wno-switch -PD_LDFLAGS = -L/usr/local/lib -lpthread -lgavl -lgmerlin_avdec +PD_LDFLAGS = -L/usr/lib -lgmerlin_avdec -lgavl -lpthread else # assume darwin here STRIP=strip -x @@ -55,11 +55,12 @@ all: $(TARGET)pd_linux: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS)
$(PD_LDFLAGS) \
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS) \ src/readanysf~.cpp \ objs/FifoAudioFrames.o \ objs/FifoVideoFrames.o \
objs/ReadMedia.o
objs/ReadMedia.o \
$(PD_LDFLAGS) $(STRIP) readanysf~.pd_linux
pd_darwin: src/readanysf~.cpp objs/FifoVideoFrames.o objs/FifoAudioFrames.o objs/ReadMedia.o
I think i missed something ? ++
Jack
Le 29/08/2012 15:51, Roman Haefeli a écrit :
On Mit, 2012-08-29 at 14:46 +0100, Andrew Faraday wrote:
It could if they provide you with a download link... I'd have to guess that they won't, tho. It would undermine their whole buisness plan.
They do. I don't know the specifics, but I assume it's up to the author to allow the download of the mp3-file or not. The example below uses such a download link from soundcloud.com.
Roman
Date: Wed, 29 Aug 2012 09:13:28 -0300 Subject: Re: [PD] playing soundcloud files From: lemota@gmail.com To: reduzent@gmail.com CC: jbturgid@hotmail.com; pd-list@iem.at
can that be used with Spotify or Grooveshark?
On Wed, Aug 29, 2012 at 9:09 AM, Roman Haefeli reduzent@gmail.com
wrote:
On Die, 2012-08-28 at 20:48 +0100, Andrew Faraday wrote: > That sounds good, but how exactly? Do you have an example patch? I think the help patch explains it quite well.
A real world example:
[open http://soundcloud.com/reduzent/backup-blues/download ( | | [play( |/ [readanysf~] | | [dac~ ]
Roman
>> From: reduzent@gmail.com >> To: pd-list@iem.at >> Date: Mon, 27 Aug 2012 22:32:04 +0200 >> Subject: Re: [PD] playing soundcloud files >> >> [readanysf~] does not only play many encodings and file
formats, but
>> supports also a lot of protocols, including http. You can
directly
> open >> a track on soundcloud.com with [readanysf~]. There is no need
to
>> download the file first with wget or whatsoever. >> >> Roman >> >> >> On Don, 2012-08-23 at 13:13 +0200, Patrice Colet wrote: >>> [wget -O source file(-[shell] & [read file(-[readanysf~] >>> >>> use [popen] on windows and an executable of wget >>> >>> Colet Patrice >>> >>> ----- Mail original ----- >>>> De: "alessandro contini" aless.contini@gmail.com >>>> À: "PD list" pd-list@iem.at >>>> Envoyé: Jeudi 23 Août 2012 12:49:42 >>>> Objet: [PD] playing soundcloud files >>>> >>>> Hey pd-people, >>>> >>>> I'm just wondering if any of you ever tried loading an
audio
> file >>>> hosted by >>>> soundcloud into a PD patch. >>>> I'm thinking about something like [openpanel] +
[soundfiler] but
>>>> sourcing >>>> the audio data from a soundcloud account. >>>> >>>> Any idea? Suggestions? >>>> Thanks! >>>> >>>> -- >>>> >>>> // ALESSANDRO CONTINI >>>> >>>> // www.alessandrocontini.it >>>> // skype: alessandro_contini >>>> // DE: +49-176-38600277 >>>> // ITA: +39-340-2686996 >>>> >>>> _______________________________________________ >>>> 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 >
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
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
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-08-30 11:35, Jack wrote:
Hello Roman,
Thanx for your answer.
Le 30/08/2012 08:50, Roman Haefeli a écrit :
Hi Jack
I'm not really knowledgeable about Makefiles and C code, but I assume you're trying to patch not the exact same version of readanysf~ that the patch was written for.
The patch was written for Debian version 0.42-1 (which is made of 0.42 upstream sources). If you are on Debian testing or unstable or on Ubuntu 12.04, you could do:
Yes i installed Ubuntu 12.04.
if you are on debian(>=wheezy)/ubuntu(>=oneiric) you could simply do # apt-get install pd-readanysf
all the patches are already applied, so no need to do that yourself.
most likely the reason why the patching failed is, that debian applies more than one patch, nd you might have to apply them in the correct order.
if that is not the reason, then you might have the wrong patch. makefiles are quite sensitive to tab vs spaces, so if you got your patch.txt by copying it from an email, you might be in trouble...
fgma IOhannes
Hi,
Sorry to interrupt, I need to install readanysf~ on Raspbian Wheezy. Can I also use the command you just mentioned (apt-get install pd-readanysf) ?
Cheers,
Pierre.
2012/8/30 IOhannes m zmoelnig zmoelnig@iem.at
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-08-30 11:35, Jack wrote:
Hello Roman,
Thanx for your answer.
Le 30/08/2012 08:50, Roman Haefeli a écrit :
Hi Jack
I'm not really knowledgeable about Makefiles and C code, but I assume you're trying to patch not the exact same version of readanysf~ that the patch was written for.
The patch was written for Debian version 0.42-1 (which is made of 0.42 upstream sources). If you are on Debian testing or unstable or on Ubuntu 12.04, you could do:
Yes i installed Ubuntu 12.04.
if you are on debian(>=wheezy)/ubuntu(>=oneiric) you could simply do # apt-get install pd-readanysf
all the patches are already applied, so no need to do that yourself.
most likely the reason why the patching failed is, that debian applies more than one patch, nd you might have to apply them in the correct order.
if that is not the reason, then you might have the wrong patch. makefiles are quite sensitive to tab vs spaces, so if you got your patch.txt by copying it from an email, you might be in trouble...
fgma IOhannes
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAlA/UskACgkQkX2Xpv6ydvQo1QCePbD3TbOmMnI1+wW13knJVxYr WRoAoKOa70jTjw2ZmyeUnMIbu2RavpFs =CnwH -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Cool! I'll try this tonight and will give you some feedback. Thanks!
Pierre.
2012/8/30 IOhannes m zmölnig zmoelnig@iem.at
On 08/30/2012 02:17 PM, Pierre Massat wrote:
Hi,
Sorry to interrupt, I need to install readanysf~ on Raspbian Wheezy. Can I also use the command you just mentioned (apt-get install pd-readanysf) ?
most likely.
I can confirm that pd-readanysf installs just fine on Raspbian Wheezy :)
Cheers,
Pierre.
2012/8/30 Pierre Massat pimassat@gmail.com
Cool! I'll try this tonight and will give you some feedback. Thanks!
Pierre.
2012/8/30 IOhannes m zmölnig zmoelnig@iem.at
On 08/30/2012 02:17 PM, Pierre Massat wrote:
Hi,
Sorry to interrupt, I need to install readanysf~ on Raspbian Wheezy. Can I also use the command you just mentioned (apt-get install pd-readanysf) ?
most likely.
On Don, 2012-08-30 at 13:49 +0200, IOhannes m zmoelnig wrote:
On 2012-08-30 11:35, Jack wrote:
Hello Roman,
Thanx for your answer.
Le 30/08/2012 08:50, Roman Haefeli a écrit :
Hi Jack
I'm not really knowledgeable about Makefiles and C code, but I assume you're trying to patch not the exact same version of readanysf~ that the patch was written for.
The patch was written for Debian version 0.42-1 (which is made of 0.42 upstream sources). If you are on Debian testing or unstable or on Ubuntu 12.04, you could do:
Yes i installed Ubuntu 12.04.
if you are on debian(>=wheezy)/ubuntu(>=oneiric) you could simply do # apt-get install pd-readanysf
all the patches are already applied, so no need to do that yourself.
Debian wheezy [1] and Ubuntu Precise [2] both still have 0.42-1, which AFAIK is a version without the linking order patch. Or am I missing something?
Roman
[1] http://packages.debian.org/search?keywords=pd-readanysf&searchon=names&a... [2] http://packages.ubuntu.com/search?keywords=pd-readanysf&searchon=names&a...
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-08-30 20:12, Roman Haefeli wrote:
all the patches are already applied, so no need to do that yourself.
Debian wheezy [1] and Ubuntu Precise [2] both still have 0.42-1, which AFAIK is a version without the linking order patch. Or am I missing something?
let's put it that way: debian wheezy and friends include a compiled version of [readanysf~[. whether or not the linking order patch is applied is of secondary concern, as the ordinary user needs the binary rather than the patch.
fgmasdr IOhannes
Hello IOhannes,
Le 30/08/2012 13:49, IOhannes m zmoelnig a écrit :
On 2012-08-30 11:35, Jack wrote:
Hello Roman,
Thanx for your answer.
Le 30/08/2012 08:50, Roman Haefeli a écrit :
Hi Jack
I'm not really knowledgeable about Makefiles and C code, but I assume you're trying to patch not the exact same version of readanysf~ that the patch was written for.
The patch was written for Debian version 0.42-1 (which is made of 0.42 upstream sources). If you are on Debian testing or unstable or on Ubuntu 12.04, you could do:
Yes i installed Ubuntu 12.04.
if you are on debian(>=wheezy)/ubuntu(>=oneiric) you could simply do # apt-get install pd-readanysf
all the patches are already applied, so no need to do that yourself.
Done with : # apt-get install pd-readanysf
Now i have readanysf~.pd_linux in : /usr/lib/pd/extra/readanysf~ So all should be fine, but when i try to create [readanysf~], i get in the pd console : /usr/lib/pd/extra/readanysf~/readanysf~.pd_linux: /usr/lib/pd/extra/readanysf~/readanysf~.pd_linux: undefined symbol: bgav_select_track readanysf~ ... couldn't create
How can i solve this problem ?
My configuration : Ubuntu 12.04 and pd 0.43.2 ++
Jack
most likely the reason why the patching failed is, that debian applies more than one patch, nd you might have to apply them in the correct order.
if that is not the reason, then you might have the wrong patch. makefiles are quite sensitive to tab vs spaces, so if you got your patch.txt by copying it from an email, you might be in trouble...
fgma IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
Hi Jack
On Mon, 2012-09-10 at 18:56 +0200, Jack wrote:
if you are on debian(>=wheezy)/ubuntu(>=oneiric) you could simply do # apt-get install pd-readanysf
all the patches are already applied, so no need to do that yourself.
Done with : # apt-get install pd-readanysf
Now i have readanysf~.pd_linux in : /usr/lib/pd/extra/readanysf~ So all should be fine, but when i try to create [readanysf~], i get in the pd console : /usr/lib/pd/extra/readanysf~/readanysf~.pd_linux: /usr/lib/pd/extra/readanysf~/readanysf~.pd_linux: undefined symbol: bgav_select_track readanysf~ ... couldn't create
How can i solve this problem ?
My configuration : Ubuntu 12.04 and pd 0.43.2
Sorry for the confusion that IOhannes and me may have caused.
Fact is that packages in Ubuntu 12.04 are compiled with a gcc version, that seems picky about correct linking order and thus Ubuntu 12.04 ships a pd-readanysf package with a binary, that doesn't link at all against the libraries it is dependent on, because the Makefile doesn't have the linking order correct. Thus the error: undefined symbol: bgav_select_track The fix for this is already applied to the git repository where the Debian packages sources are hosted, but no new package version was released since. Thus it is still broken in Ubuntu 12.04.
AFAIK, Debian wheezy does not suffer from this problem.
As a temporary work-around for the Ubuntu problem, I put a fixed version into my PPA. You can install it by issuing the following steps in a terminal:
$ sudo apt-add-repository ppa:reduzierer/rdz-pd-extra+deps $ sudo aptitude update $ sudo aptitude install pd-readanysf
You may confirm that you're running the fixed version by doing:
$ aptitude show pd-readanysf | grep ^Version which should show: Version: 0.42-2~ppa0~precise
I hope this helped. Roman
Otherwise if you don't want to add ppa to your Ubuntu, it's pretty simple to edit the makefile and recompile it from svn. In my case I just needed to change a few lines, replacing /usr/local/lib by /usr/lib and changing the linking order to get rid of that error:
-PD_LDFLAGS = -L/usr/local/lib -lpthread -lgavl -lgmerlin_avdec +PD_LDFLAGS = -L/usr/lib -lgmerlin_avdec -lgavl -lpthread
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS)
$(PD_LDFLAGS) \
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS) \
src/readanysf~.cpp \
objs/FifoAudioFrames.o \
objs/FifoVideoFrames.o \
objs/ReadMedia.o
objs/ReadMedia.o \
$(PD_LDFLAGS)
Best, n
Le 11/09/12 09:35, Roman Haefeli a écrit :
Hi Jack
On Mon, 2012-09-10 at 18:56 +0200, Jack wrote:
if you are on debian(>=wheezy)/ubuntu(>=oneiric) you could simply do # apt-get install pd-readanysf
all the patches are already applied, so no need to do that yourself.
Done with : # apt-get install pd-readanysf
Now i have readanysf~.pd_linux in : /usr/lib/pd/extra/readanysf~ So all should be fine, but when i try to create [readanysf~], i get in the pd console : /usr/lib/pd/extra/readanysf~/readanysf~.pd_linux: /usr/lib/pd/extra/readanysf~/readanysf~.pd_linux: undefined symbol: bgav_select_track readanysf~ ... couldn't create
How can i solve this problem ?
My configuration : Ubuntu 12.04 and pd 0.43.2
Sorry for the confusion that IOhannes and me may have caused.
Fact is that packages in Ubuntu 12.04 are compiled with a gcc version, that seems picky about correct linking order and thus Ubuntu 12.04 ships a pd-readanysf package with a binary, that doesn't link at all against the libraries it is dependent on, because the Makefile doesn't have the linking order correct. Thus the error: undefined symbol: bgav_select_track The fix for this is already applied to the git repository where the Debian packages sources are hosted, but no new package version was released since. Thus it is still broken in Ubuntu 12.04.
AFAIK, Debian wheezy does not suffer from this problem.
As a temporary work-around for the Ubuntu problem, I put a fixed version into my PPA. You can install it by issuing the following steps in a terminal:
$ sudo apt-add-repository ppa:reduzierer/rdz-pd-extra+deps $ sudo aptitude update $ sudo aptitude install pd-readanysf
You may confirm that you're running the fixed version by doing:
$ aptitude show pd-readanysf | grep ^Version which should show: Version: 0.42-2~ppa0~precise
I hope this helped. Roman
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Le 11/09/2012 10:48, Nicolas Montgermont a écrit :
Otherwise if you don't want to add ppa to your Ubuntu, it's pretty simple to edit the makefile and recompile it from svn. In my case I just needed to change a few lines, replacing /usr/local/lib by /usr/lib and changing the linking order to get rid of that error:
-PD_LDFLAGS = -L/usr/local/lib -lpthread -lgavl -lgmerlin_avdec +PD_LDFLAGS = -L/usr/lib -lgmerlin_avdec -lgavl -lpthread
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS)
$(PD_LDFLAGS) \
g++ -shared -o readanysf~.pd_linux $(PD_CXXFLAGS) \ src/readanysf~.cpp \ objs/FifoAudioFrames.o \ objs/FifoVideoFrames.o \
objs/ReadMedia.o
objs/ReadMedia.o \
$(PD_LDFLAGS)
Best, n
Le 11/09/12 09:35, Roman Haefeli a écrit :
Hi Jack
On Mon, 2012-09-10 at 18:56 +0200, Jack wrote:
if you are on debian(>=wheezy)/ubuntu(>=oneiric) you could simply do # apt-get install pd-readanysf
all the patches are already applied, so no need to do that yourself.
Done with : # apt-get install pd-readanysf
Now i have readanysf~.pd_linux in : /usr/lib/pd/extra/readanysf~ So all should be fine, but when i try to create [readanysf~], i get in the pd console : /usr/lib/pd/extra/readanysf~/readanysf~.pd_linux: /usr/lib/pd/extra/readanysf~/readanysf~.pd_linux: undefined symbol: bgav_select_track readanysf~ ... couldn't create
How can i solve this problem ?
My configuration : Ubuntu 12.04 and pd 0.43.2
Sorry for the confusion that IOhannes and me may have caused.
Fact is that packages in Ubuntu 12.04 are compiled with a gcc version, that seems picky about correct linking order and thus Ubuntu 12.04 ships a pd-readanysf package with a binary, that doesn't link at all against the libraries it is dependent on, because the Makefile doesn't have the linking order correct. Thus the error: undefined symbol: bgav_select_track The fix for this is already applied to the git repository where the Debian packages sources are hosted, but no new package version was released since. Thus it is still broken in Ubuntu 12.04.
AFAIK, Debian wheezy does not suffer from this problem.
As a temporary work-around for the Ubuntu problem, I put a fixed version into my PPA. You can install it by issuing the following steps in a terminal:
$ sudo apt-add-repository ppa:reduzierer/rdz-pd-extra+deps $ sudo aptitude update $ sudo aptitude install pd-readanysf
You may confirm that you're running the fixed version by doing:
$ aptitude show pd-readanysf | grep ^Version which should show: Version: 0.42-2~ppa0~precise
I hope this helped. Roman
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hello,
Thanks every one for your help and explanation. I tried the method given by Nicolas and it works fine with files from svn. Here what i do under Ubuntu 12.04 and Pd 0.43.2 to get a [readanysf~] working nice :
at line 4 in the Makefile : change : GAVLPREFIX=/usr/local by : GAVLPREFIX=/usr
at line 23 in the Makefile : change : PD_LDFLAGS = -L$(GAVLPREFIX)/lib -lgavl -lgmerlin_avdec -lpthread by : PD_LDFLAGS = -L$(GAVLPREFIX)/lib -lgmerlin_avdec -lgavl -lpthread
That's all. Thanx Nico. ++
Jack
On Mit, 2012-08-29 at 15:51 +0200, Roman Haefeli wrote:
On Mit, 2012-08-29 at 14:46 +0100, Andrew Faraday wrote:
It could if they provide you with a download link... I'd have to guess that they won't, tho. It would undermine their whole buisness plan.
They do. I don't know the specifics, but I assume it's up to the author to allow the download of the mp3-file or not. The example below uses such a download link from soundcloud.com.
Oops, you weren't talking about soundcloud.com. Sorry for not reading your mail carefully.
Roman
Do you work with any other programming languages? Soundcloud has a very good api which can provide you with useful info including a url to stream specific tracks, etc. but it's pretty advanced and you'd have to learn to use their authentication system. docs are here: http://developers.soundcloud.com/docs#errors
Alternatively, it might help to know that if a soundcloud track allows downloading you can always add '/download' to the end of the url and get download an audio file (in the format it was uploaded in).
good luck andrew From: aless.contini@gmail.com Date: Thu, 23 Aug 2012 12:49:42 +0200 To: pd-list@iem.at Subject: [PD] playing soundcloud files
Hey pd-people, I'm just wondering if any of you ever tried loading an audio file hosted by soundcloud into a PD patch.I'm thinking about something like [openpanel] + [soundfiler] but sourcing the audio data from a soundcloud account.
// ALESSANDRO CONTINI
// www.alessandrocontini.it
// skype: alessandro_contini// DE: +49-176-38600277// ITA: +39-340-2686996
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list