Hi folks,
I'm looking at options for direct-from-disk audio with Pd. My requirements are:
So far I've come up with:
[sfread2~] — crashes as soon as DSP is switched on (Mac OS X 10.8) [readanysf~] — seems good, but a few issues (e.g. audible clicking when changing playback speed)
Any other options?
best,
Jamie
Hey Jamie, there's a project sitting in my repo i developed some years ago. In my memory it worked pretty well. It depends on libsndfile and the quicktime API, although there might be a way to exclude the use of either one. https://svn.grrrr.org/ext/trunk/fsplay/ best, Thomas
2013/10/1 Jamie Bullock jamie@jamiebullock.com
Hi folks,
I'm looking at options for direct-from-disk audio with Pd. My requirements are:
- scrub / set current position within audio file
- variable speed playback
- looping
- works on Mac OS X and Win32
So far I've come up with:
[sfread2~] — crashes as soon as DSP is switched on (Mac OS X 10.8) [readanysf~] — seems good, but a few issues (e.g. audible clicking when changing playback speed)
Any other options?
best,
Jamie
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
There are compiled binaries for Windows and Mac in http://grrrr.org/data/dev/ext/windows/pd/ and http://grrrr.org/data/dev/ext/macos/pd/ Please let me know if they work for you. best, Thomas
2013/10/1 Thomas Grill gr@grrrr.org
Hey Jamie, there's a project sitting in my repo i developed some years ago. In my memory it worked pretty well. It depends on libsndfile and the quicktime API, although there might be a way to exclude the use of either one. https://svn.grrrr.org/ext/trunk/fsplay/ best, Thomas
2013/10/1 Jamie Bullock jamie@jamiebullock.com
Hi folks,
I'm looking at options for direct-from-disk audio with Pd. My requirements are:
- scrub / set current position within audio file
- variable speed playback
- looping
- works on Mac OS X and Win32
So far I've come up with:
[sfread2~] — crashes as soon as DSP is switched on (Mac OS X 10.8) [readanysf~] — seems good, but a few issues (e.g. audible clicking when changing playback speed)
Any other options?
best,
Jamie
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Thomas Grill http://grrrr.org
On 2 Oct 2013, at 03:19, Thomas Grill gr@grrrr.org wrote:
There are compiled binaries for Windows and Mac in http://grrrr.org/data/dev/ext/windows/pd/ and http://grrrr.org/data/dev/ext/macos/pd/ Please let me know if they work for you. best, Thomas
Thanks Thomas, this seems to do what I need, however the external just hangs whilst loading on my 10.8 Mac. It's like the external goes into an infinite loop and never returns to the caller.
I managed to compile from source, and this seems to work just fine, so maybe you just need to link your binary against more recent SDKs
best,
Jamie
2013/10/1 Thomas Grill gr@grrrr.org Hey Jamie, there's a project sitting in my repo i developed some years ago. In my memory it worked pretty well. It depends on libsndfile and the quicktime API, although there might be a way to exclude the use of either one. https://svn.grrrr.org/ext/trunk/fsplay/ best, Thomas
2013/10/1 Jamie Bullock jamie@jamiebullock.com
Hi folks,
I'm looking at options for direct-from-disk audio with Pd. My requirements are:
- scrub / set current position within audio file
- variable speed playback
- looping
- works on Mac OS X and Win32
So far I've come up with:
[sfread2~] — crashes as soon as DSP is switched on (Mac OS X 10.8) [readanysf~] — seems good, but a few issues (e.g. audible clicking when changing playback speed)
Any other options?
best,
Jamie
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Thomas Grill http://grrrr.org
-- Thomas Grill http://grrrr.org
Hi Jamie, thanks for the effort! - would you mind sending me the binary? Please also let me know whether it works for your task. gr~~~
2013/10/8 Jamie Bullock jamie@jamiebullock.com
On 2 Oct 2013, at 03:19, Thomas Grill gr@grrrr.org wrote:
There are compiled binaries for Windows and Mac in http://grrrr.org/data/dev/ext/windows/pd/ and http://grrrr.org/data/dev/ext/macos/pd/ Please let me know if they work for you. best, Thomas
Thanks Thomas, this seems to do what I need, however the external just hangs whilst loading on my 10.8 Mac. It's like the external goes into an infinite loop and never returns to the caller.
I managed to compile from source, and this seems to work just fine, so maybe you just need to link your binary against more recent SDKs
best,
Jamie
2013/10/1 Thomas Grill gr@grrrr.org
Hey Jamie, there's a project sitting in my repo i developed some years ago. In my memory it worked pretty well. It depends on libsndfile and the quicktime API, although there might be a way to exclude the use of either one. https://svn.grrrr.org/ext/trunk/fsplay/ best, Thomas
2013/10/1 Jamie Bullock jamie@jamiebullock.com
Hi folks,
I'm looking at options for direct-from-disk audio with Pd. My requirements are:
- scrub / set current position within audio file
- variable speed playback
- looping
- works on Mac OS X and Win32
So far I've come up with:
[sfread2~] — crashes as soon as DSP is switched on (Mac OS X 10.8) [readanysf~] — seems good, but a few issues (e.g. audible clicking when changing playback speed)
Any other options?
best,
Jamie
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Thomas Grill http://grrrr.org
-- Thomas Grill http://grrrr.org
On 8 Oct 2013, at 15:37, Thomas Grill gr@grrrr.org wrote:
Hi Jamie, thanks for the effort! - would you mind sending me the binary? Please also let me know whether it works for your task.
Hi,
I've uploaded the binary here: http://d.pr/f/UkwJ
We're using readanysf~ for now since there are ready-built binaries for both Mac and Windows we can just drop into our deployment builds with curl.
However, the disk footprint is a concern for us, so we may switch to fsplay~ if we can't build readanysf~ with fewer dependencies.
best,
Jamie
2013/10/8 Jamie Bullock jamie@jamiebullock.com
On 2 Oct 2013, at 03:19, Thomas Grill gr@grrrr.org wrote:
There are compiled binaries for Windows and Mac in http://grrrr.org/data/dev/ext/windows/pd/ and http://grrrr.org/data/dev/ext/macos/pd/ Please let me know if they work for you. best, Thomas
Thanks Thomas, this seems to do what I need, however the external just hangs whilst loading on my 10.8 Mac. It's like the external goes into an infinite loop and never returns to the caller.
I managed to compile from source, and this seems to work just fine, so maybe you just need to link your binary against more recent SDKs
best,
Jamie
2013/10/1 Thomas Grill gr@grrrr.org Hey Jamie, there's a project sitting in my repo i developed some years ago. In my memory it worked pretty well. It depends on libsndfile and the quicktime API, although there might be a way to exclude the use of either one. https://svn.grrrr.org/ext/trunk/fsplay/ best, Thomas
2013/10/1 Jamie Bullock jamie@jamiebullock.com
Hi folks,
I'm looking at options for direct-from-disk audio with Pd. My requirements are:
- scrub / set current position within audio file
- variable speed playback
- looping
- works on Mac OS X and Win32
So far I've come up with:
[sfread2~] — crashes as soon as DSP is switched on (Mac OS X 10.8) [readanysf~] — seems good, but a few issues (e.g. audible clicking when changing playback speed)
Any other options?
best,
Jamie
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Thomas Grill http://grrrr.org
-- Thomas Grill http://grrrr.org
-- Thomas Grill http://grrrr.org
On 8 Oct 2013, at 16:12, Jamie Bullock jamie@jamiebullock.com wrote:
On 8 Oct 2013, at 15:37, Thomas Grill gr@grrrr.org wrote:
Hi Jamie, thanks for the effort! - would you mind sending me the binary? Please also let me know whether it works for your task.
Hi,
I've uploaded the binary here: http://d.pr/f/UkwJ
We're using readanysf~ for now since there are ready-built binaries for both Mac and Windows we can just drop into our deployment builds with curl.
Just to clarify, the advantage of readanysf~ here is that it is "packaged" with the requisite dependencies. I find this very helpful, and I don't think it would take much to package up fsplay~ in a similar way i.e. with libsndfile, libvorbis or whatever zipped up in the same directory as fsplay~ with the "rpaths" in the binary modified accordingly.
Of course, I also appreciate you are maintaining a massive amount of externals, not just this one, so the above approach may be unfeasible.
Jamie
Hey, you are right, there should be a packaging, or integration into pd-extended
of a serious lack of time. They "just work" (or they don't). I have tried for years, but no one seems interested in volunteering to package or integrate flext and flext-based externals (xsample, py, dyn~, pool, fsplay~, clk, zeroconf and many others) for more general use. gr~~~
2013/10/8 Jamie Bullock jamie@jamiebullock.com
On 8 Oct 2013, at 16:12, Jamie Bullock jamie@jamiebullock.com wrote:
On 8 Oct 2013, at 15:37, Thomas Grill gr@grrrr.org wrote:
Hi Jamie, thanks for the effort! - would you mind sending me the binary? Please also let me know whether it works for your task.
Hi,
I've uploaded the binary here: http://d.pr/f/UkwJ
We're using readanysf~ for now since there are ready-built binaries for both Mac and Windows we can just drop into our deployment builds with curl.
Just to clarify, the advantage of readanysf~ here is that it is "packaged" with the requisite dependencies. I find this very helpful, and I don't think it would take much to package up fsplay~ in a similar way i.e. with libsndfile, libvorbis or whatever zipped up in the same directory as fsplay~ with the "rpaths" in the binary modified accordingly.
Of course, I also appreciate you are maintaining a massive amount of externals, not just this one, so the above approach may be unfeasible.
Jamie
On 8 Oct 2013, at 17:14, Thomas Grill gr@grrrr.org wrote:
Hey, you are right, there should be a packaging, or integration into pd-extended - but actually, i am not currently maintaining my externals at all because of a serious lack of time. They "just work" (or they don't). I have tried for years, but no one seems interested in volunteering to package or integrate flext and flext-based externals (xsample, py, dyn~, pool, fsplay~, clk, zeroconf and many others) for more general use.
Well FWIW, I've now uploaded Mac OS build that includes the necessary "localised" dependencies: http://d.pr/f/RJok
Obviously feel free to distribute this from your own server or whatever. If we do a Windows one I'll upload that too.
best,
Jamie
Hi Jamie, thanks! The Windows version on my server (grrrr.org/ext/beta) is an older build - i guess that one should work. gr~~~
2013/10/9 Jamie Bullock jamie@jamiebullock.com
On 8 Oct 2013, at 17:14, Thomas Grill gr@grrrr.org wrote:
Hey, you are right, there should be a packaging, or integration into
pd-extended - but actually, i am not currently maintaining my externals at all because of a serious lack of time. They "just work" (or they don't).
I have tried for years, but no one seems interested in volunteering to
package or integrate flext and flext-based externals (xsample, py, dyn~, pool, fsplay~, clk, zeroconf and many others) for more general use.
Well FWIW, I've now uploaded Mac OS build that includes the necessary "localised" dependencies: http://d.pr/f/RJok
Obviously feel free to distribute this from your own server or whatever. If we do a Windows one I'll upload that too.
best,
Jamie
Btw, your binary doesn't load in OSX10.5, that's the platform i am (and others are) still using. It should be possible to compile a 32-bit build that is working on 10.5-10.8 . I'll try that somewhen after this week. gr~~~
2013/10/9 Jamie Bullock jamie@jamiebullock.com
On 8 Oct 2013, at 17:14, Thomas Grill gr@grrrr.org wrote:
Hey, you are right, there should be a packaging, or integration into
pd-extended - but actually, i am not currently maintaining my externals at all because of a serious lack of time. They "just work" (or they don't).
I have tried for years, but no one seems interested in volunteering to
package or integrate flext and flext-based externals (xsample, py, dyn~, pool, fsplay~, clk, zeroconf and many others) for more general use.
Well FWIW, I've now uploaded Mac OS build that includes the necessary "localised" dependencies: http://d.pr/f/RJok
Obviously feel free to distribute this from your own server or whatever. If we do a Windows one I'll upload that too.
best,
Jamie
Sorry, guys, for entering in this thread without reading all the mails. But I want to ask you something.
I use readsf~ to read a speaking recorded files, sounds and songs (some songs are 3 or 5 minutes long, but there's one of 20, so, I thought readsf~ was better that put the files into arrays).
Readsf~ gives no information about the time, and it would be very usefull for me to synch with an animation in BlenderGameEngine.
Also, yet, I don't know if readsf~ is the one that makes noises when BlenderPlayer is rendering in 3D in full screen. I just thought that the computer can't process that 3D rendering and has Jack with low latency. Maybe readsf~ is the problem...
Anyway, I wanted to ask you about readsf~:
Is readsf~ stable? Does it consume so much CPU? Is there any other object better to use? Maybe the one you are talking about in this thread...
I don't need to varispeed, for example. Just read files, play and know its position in time. And low CPU consumption.
Thanks.
PD1: I'm on Ubuntu 12.04. PD2: what about THREADLIB and SNDFILER to open files in a different thread? Do they work? http://grh.mur.at/software/threadlib.html and http://grh.mur.at/software/sndfiler.html.
Hello,
Le 09/10/2013 18:20, Mario Mey a écrit :
Sorry, guys, for entering in this thread without reading all the mails. But I want to ask you something.
I use readsf~ to read a speaking recorded files, sounds and songs (some songs are 3 or 5 minutes long, but there's one of 20, so, I thought readsf~ was better that put the files into arrays).
Readsf~ gives no information about the time, and it would be very usefull for me to synch with an animation in BlenderGameEngine.
If you want to get the length of a sound file, you have several possibilities :
++
Jack
Also, yet, I don't know if readsf~ is the one that makes noises when BlenderPlayer is rendering in 3D in full screen. I just thought that the computer can't process that 3D rendering and has Jack with low latency. Maybe readsf~ is the problem...
Anyway, I wanted to ask you about readsf~:
Is readsf~ stable? Does it consume so much CPU? Is there any other object better to use? Maybe the one you are talking about in this thread...
I don't need to varispeed, for example. Just read files, play and know its position in time. And low CPU consumption.
Thanks.
PD1: I'm on Ubuntu 12.04. PD2: what about THREADLIB and SNDFILER to open files in a different thread? Do they work? http://grh.mur.at/software/threadlib.html and http://grh.mur.at/software/sndfiler.html.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
El 09/10/13 14:07, Jack escribió:
Hello,
Le 09/10/2013 18:20, Mario Mey a écrit :
Sorry, guys, for entering in this thread without reading all the mails. But I want to ask you something.
I use readsf~ to read a speaking recorded files, sounds and songs (some songs are 3 or 5 minutes long, but there's one of 20, so, I thought readsf~ was better that put the files into arrays).
Readsf~ gives no information about the time, and it would be very usefull for me to synch with an animation in BlenderGameEngine.
If you want to get the length of a sound file, you have several possibilities :
- use [wavinfo] from ext13
- use [soundfile_info] from iemlib
- use [shell] with your favorite command line to get info on soundfile
++
Jack
Sorry, I meant that I wanted to know the *time position* of the file, while playing. I know that I can put a [timer] and reset-activate it when readsf~ starts playing, but I would be great if readsf~ use the mostrigh outlet to output this information (always or when asked for it).
Also, yet, I don't know if readsf~ is the one that makes noises when BlenderPlayer is rendering in 3D in full screen. I just thought that the computer can't process that 3D rendering and has Jack with low latency. Maybe readsf~ is the problem...
Anyway, I wanted to ask you about readsf~:
Is readsf~ stable? Does it consume so much CPU? Is there any other object better to use? Maybe the one you are talking about in this thread...
I don't need to varispeed, for example. Just read files, play and know its position in time. And low CPU consumption.
Thanks.
PD1: I'm on Ubuntu 12.04. PD2: what about THREADLIB and SNDFILER to open files in a different thread? Do they work? http://grh.mur.at/software/threadlib.html and http://grh.mur.at/software/sndfiler.html.
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 10/09/13 20:49, Mario Mey wrote:
Sorry, I meant that I wanted to know the *time position* of the file, while playing. I know that I can put a [timer] and reset-activate it when readsf~ starts playing, but I would be great if readsf~ use the mostrigh outlet to output this information (always or when asked for it).
why?
or rather, why don't you just create an abstraction [meyreadsf~] that wraps the [timer] logic (and share it with the community)?
gfmaf IOhannes
El 09/10/13 18:08, IOhannes m zmölnig escribió:
On 10/09/13 20:49, Mario Mey wrote:
Sorry, I meant that I wanted to know the *time position* of the file, while playing. I know that I can put a [timer] and reset-activate it when readsf~ starts playing, but I would be great if readsf~ use the mostrigh outlet to output this information (always or when asked for it).
why?
or rather, why don't you just create an abstraction [meyreadsf~] that wraps the [timer] logic (and share it with the community)?
Well... it's a good idea. I use readsf~ with switch~ to pause and unpause it. It can be all transformed in an abstraction. I don't need precision and my 20 minutes song doesn't need to be counted... but if readsf~ is precise with time position, then, the new abstract will be too.
*Is readsf~ precise?*
If/when I make that abstract, I'll share it, of course.
gfmaf IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Why? I'm asking myself: why I took this as a challenge??? I just made readsf.meh~.
It works similar to readsf~ with some changes.
positon. Default 10.
the last file and start playing it (can have a delay of loading, maybe an unsynch of timer, I didn't check it. The same as when the file ends)
Outputs:
1- output left 2- output right 3- status (symbol): loaded, playing, paused, stopped. 4- minutes (int) 5- seconds (int) 6- miliseconds (int) 7- time position "minutes:seconds" (symbol).
When I use this and check it is version 1.0, I'll upload to forum.
El 09/10/13 22:05, Mario Mey escribió:
El 09/10/13 18:08, IOhannes m zmölnig escribió:
On 10/09/13 20:49, Mario Mey wrote:
Sorry, I meant that I wanted to know the *time position* of the file, while playing. I know that I can put a [timer] and reset-activate it when readsf~ starts playing, but I would be great if readsf~ use the mostrigh outlet to output this information (always or when asked for it).
why?
or rather, why don't you just create an abstraction [meyreadsf~] that wraps the [timer] logic (and share it with the community)?
Well... it's a good idea. I use readsf~ with switch~ to pause and unpause it. It can be all transformed in an abstraction. I don't need precision and my 20 minutes song doesn't need to be counted... but if readsf~ is precise with time position, then, the new abstract will be too.
*Is readsf~ precise?*
If/when I make that abstract, I'll share it, of course.
gfmaf IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->http://lists.puredata.info/listinfo/pd-list
Is readsf~ stable? Does it consume so much CPU? Is there any other object better to use? Maybe the one you are talking about in this thread...
It works fine for me - i'm just using it in a large scale sound installation, often reading 4 or more files in parallel on one machine. gr~~~
Hey, you are right, there should be a packaging, or integration into
pd-extended - but actually, i am not currently maintaining my externals at all because of a serious lack of time. They "just work" (or they don't).
I have tried for years, but no one seems interested in volunteering to
package or integrate flext and flext-based externals (xsample, py, dyn~, pool, fsplay~, clk, zeroconf and many others) for more general use.
FWIW, flext lib and a few externals are a part of auto-building script in pd-l2ork.
Oh wow, i didn't know! Is that somewhat compatible to the pd/pd-extended build scripts? thanks, Thomas
2013/10/9 Ivica Ico Bukvic ico@vt.edu
Hey, you are right, there should be a packaging, or integration into
pd-extended - but actually, i am not currently maintaining my externals at all because of a serious lack of time. They "just work" (or they don't).
I have tried for years, but no one seems interested in volunteering to
package or integrate flext and flext-based externals (xsample, py, dyn~, pool, fsplay~, clk, zeroconf and many others) for more general use.****
FWIW, flext lib and a few externals are a part of auto-building script in pd-l2ork. ****
To an extent. On Oct 9, 2013 2:33 PM, "Thomas Grill" gr@grrrr.org wrote:
Oh wow, i didn't know! Is that somewhat compatible to the pd/pd-extended build scripts? thanks, Thomas
2013/10/9 Ivica Ico Bukvic ico@vt.edu
Hey, you are right, there should be a packaging, or integration into
pd-extended - but actually, i am not currently maintaining my externals at all because of a serious lack of time. They "just work" (or they don't).
I have tried for years, but no one seems interested in volunteering to
package or integrate flext and flext-based externals (xsample, py, dyn~, pool, fsplay~, clk, zeroconf and many others) for more general use.****
FWIW, flext lib and a few externals are a part of auto-building script in pd-l2ork. ****
-- Thomas Grill http://grrrr.org