Re: [PD] gem segfault when opening video
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-02-18 22:42, Charles Goyard wrote: Hi, when opening a .mov file on pd-extended on linux, I get : [...] Segmentation fault (core dumped) On the command line, gmerlin fails to open the file as well, with the same message, but lqtplay is able to play the movie. by the same message, do you mean that gmerlin also segfaults? However, it seems these messages are contradictory : [pix_film:track] No video decoder found for fourcc avc1 (0x61766331) verbose(5): gmerlin: succeeded i think it's a bug in gmerlin rather than Gem. so gmerlin first thinks it can decode the film and then fails (something that happens to humans as well). it would be great if you could provide a (short) clip that triggers the crash, so the underlying bug can be fixed. I'm not sure it's a bug. Maybe there's a way to force pix_film to use a specific backend ? actually there is an undocumented and little tested extra argument to open that allows you to give a given backend priority (that is: the given backend will be tried first, and then all the rest): [open foo.mov RGBA quicktime4linux( should use lqt4l before gmerlin. come to think of it, i think the API should be changed to be consistent with [pix_video]. e.g. [driver quicktime4linux, open foo.mov( to exclusively(!) select lqt for opening any file. fgamsdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlEjPO4ACgkQkX2Xpv6ydvQUCgCfTZkfNnWo2L/a37q6Gz36BhkH 02EAnRIV/OCzCqVpSO8rX993408uk651 =5YiD -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [solved] some vanilla objects disappeared!
sorry, it is pd-ext... even [dac~], all midi objects and a big list of vanilla objects disappeared. Now it's fixed with 'resetting to default', as suggested HCS. Thank's a lot r Le 19. 02. 13 08:34, IOhannes m zmölnig a écrit : On 02/18/2013 22:56, Raphael Raccuia wrote: Hi, I use 0 . 43.4, which is inst alled on two Ubuntu 12.04, from repositories, and I've just notice d some basic objects like [expr] and [cnv] 'could n 't create' on one system, but not on the other... ?!? what is 0.43.4? Pd or Pd-extended? both have ubuntu packages. if it is Pd(vanilla), you will have to install puredata-extra, to get [expr]. fgmasdr 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] using puredata to play playlist gapless
Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? Example of what's in my songs.pls file below please note I will have 1000's of 1 second audio files that I would like to play gapless/seamless and without a pause [playlist] NumberOfEntries=3 File01=01test.wav Title01=01test.wav File02=02test.wav Title02=02test.wav File03=03test.wav Title03=03test.wav Version=2 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] gem segfault when opening video
Hi IOhannes, when opening a .mov file on pd-extended on linux, I get : [...] Segmentation fault (core dumped) On the command line, gmerlin fails to open the file as well, with the same message, but lqtplay is able to play the movie. by the same message, do you mean that gmerlin also segfaults? No, I mean No video decoder found for fourcc avc1 that I quoted below. i think it's a bug in gmerlin rather than Gem. so gmerlin first thinks it can decode the film and then fails Yes, that's sound just like it. Because gmerlin returns the right video size and frame count[1]. That can be tricky to handle in a reliable and consistent way. However, I would blame Gem for the segfault. Maybe Gem could check if the pointer to the video stream is valid before using it? it would be great if you could provide a (short) clip that triggers the crash, so the underlying bug can be fixed. Here's one and a test patch: http://charles.goyard.free.fr/temp/ actually there is an undocumented and little tested extra argument to open that allows you to give a given backend priority (that is: the given backend will be tried first, and then all the rest): [open foo.mov RGBA quicktime4linux( should use lqt4l before gmerlin. This does the trick with Gem from git but not Gem in pd-extended. Thanks ! come to think of it, i think the API should be changed to be consistent with [pix_video]. e.g. [driver quicktime4linux, open foo.mov( to exclusively(!) select lqt for opening any file. Sounds good to me. Thanks, Charles [1] btw the help files for pix_film and pix_movie mention fps instead of frame count. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] gem segfault when opening video
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-02-19 11:36, Charles Goyard wrote: it would be great if you could provide a (short) clip that triggers the crash, so the underlying bug can be fixed. Here's one and a test patch: http://charles.goyard.free.fr/temp/ hmm, both Gem (i tried 0.93.git:ee897d5 and 0.93.3 from Debian) and gmerlin (1.2.0~dfsg-3 from Debian) can play the file just fine here. if i just call it with `gmerlin_play` i get: $ gmerlin_play crashme.mov [avdecoder.audio_ffmpeg] Warning: Codec not found: FFmpeg Sonic decoder [avdecoder.superindex] Info: Detected B-pyramid, fixing possibly broken timestamps Segmentation fault $ actually there is an undocumented and little tested extra argument to open that allows you to give a given backend priority (that is: the given backend will be tried first, and then all the rest): [open foo.mov RGBA quicktime4linux( should use lqt4l before gmerlin. This does the trick with Gem from git but not Gem in pd-extended. Thanks ! you could also just deinstall the GMERLIN-backend (if you don't need it for other stuff). since PdX gives you an all or nothing, you'd had to remove (or rename) the gem_filmGMERLIN.so file. [1] btw the help files for pix_film and pix_movie mention fps instead of frame count. ah yes, and the fps is reported as well, though that's not mentioned at all. fgam,sdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlEjcToACgkQkX2Xpv6ydvRU1gCdH23nXMex46sIr2gH7hyTpbUx nI0AoL/tO2pLOL5YR71OnBmQsZ/70D7g =iMm3 -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] [PD-announce] Workshop: WebPd for online “jamming” applications at NMF 2013
The second Network Music Festival will take place in Birmingham (UK) on 22-24 February 2013. Sébastien Piquemal will hold a WebPd workshop as part of the festival. More about the workshop: WebPd for online “jamming” applications. Saturday 23rd February 11am-1pm Sunday 24th February 10am-12.30pm Level: beginner-intermediate WebPd is an open-source library written in JavaScript, allowing to run Pure Data patches on the web. In this workshop, we will program an online jamming application with JavaScript and WebPd. This application will consist in a simple web page, where every user can “jam” with other online users with mouse clicks, key presses or moving objects – all in sound. Each attendee will make his own application. A workflow will be proposed : firstly designing the interaction and the jamming system, secondly prototyping the sound in Pure Data, and finally writing the JavaScript code and integrating the sound to the web page. At the end of the day, we will gather, try everybody’s jamming app and make some noise. Attendees will first receive a quick introduction to Pure Data and to JavaScript. They will learn how to get started with both technologies, write a simple web page with a dash of JavaScript and make a simple Pure Data patch. Then, they will learn how to use WebPd to sonify a web page. Everybody is welcome. People with no previous knowledge in the technologies will focus on learning, people with JavaScript and/or Pure Data knowledge will be able to explore deeper the possibilities of WebPd of making web pages sound better. Sébastien Piquemal, born in France in 1986, is a computer engineer, musician and sound designer based in Helsinki. He has been working as a web developer at Futurice Ltd. since 2010, mostly developing Futurice’s internal services and IT infrastructure. Sébastien is also studying sound design in Helsinki Media Lab, and on his free-time, developing open-source projects such as WebPd – a Javascript library for running Pure Data patches on the web. http://networkmusicfestival.org/programme-2/workshops/#webpd All workshops will take place at The Edge, 79-81 Cheapside, Deritend, Birmingham, B12 0QH The workshop is free to attend for NMF2013 ticket holders but spaces are limited so please sign up in advance by emailing networkmusicfesti...@gmail.com or ask at the information desk at the festival. Network Music Festival presents a weekend of hi-tech musical performances, installations and workshops that presents new musical forms and ideas where networking is central to the aesthetics, creation or performance practice of the work. More about the festival: http://networkmusicfestival.org/ ___ 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] GUI abstraction issues
IOhannes, you are right... I try open one more time testing-abstration (sorry for the error..) in windows that time. And outlet is showned in autotips, the only problem it's a little hard to hit the outlet area... If can be fixed the problem of rectangle GOP and IOlets always at the top, I'm a very happy pd-user! ;) I can suggest either a little bigger area of autotips response to iolets. 2013/2/18 Jonathan Wilkes jancs...@yahoo.com From: Esteban Viveros emvive...@gmail.com To: Roman Haefeli reduz...@gmail.com Cc: PD-list list pd-list@iem.at Sent: Monday, February 18, 2013 10:18 AM Subject: Re: [PD] GUI abstraction issues Well I try the IOhannes sugestion, and autotips don't work correctly with my abstraction... :/ I tried to create another example (testing-abstration), and now only the inlet are working with autotips feature... In pd-l2ork everything works fine. Indeed it doesn't. It looks like when the abstraction is GOP, it registers all the xlet #s as -1, and it doesn't detect the bounding box of the object. (The latter because I'm looking for the text tag, which a gop box doesn't have.) I imagine Ivica's works because he's checking for tooltips on the c-side, and I'm checking on the tcl side. Pd-l2ork: Check whether there's an object or inlet under current mouse position. If there is, look for its tooltip text in the help patch, then draw the tooltip. Pd-ext: Trigger an event when the mouse hovers over an object or inlet that is _visible_ on the canvas. Look for the tooltip text in the help patch, then draw the tooltip. Pd-l2ork's approach is more robust-- for example, it's easier for him to enlarge the area that will register an xlet tooltip. Pd-extended's currently has what I think is the proper behavior, though-- you only show tooltips for objects that are visible to the user. If the patch author covers up an object with a [cnv], he/she is actively hiding that object, and it shouldn't register a tooltip. It's bad UI design to show a tooltip when the user can't see the thing it refers to. Anyway, I'll investigate and see if I can come up with a fix for the testing-abstration (sic) situation. But if you're putting [cnv] objects on top of xlets then they shouldn't respond to tooltips. That problem should be fixed at the source: xlets and object rectangle should always be at the top of the stacking order. (I guess there could also be an option for hiding xlets or the box, but that doesn't seem like a good idea for visual dataflow.) -Jonathan -- Esteban Viveros (27) 8815 7170 (27) 3066 0359 (11) 95761 4125 (11) 2738 7868 www.bandpage.com/estebanviveros http://soundcloud.com/estebanviveros https://www.facebook.com/estebanviveros.art http://www.papodecompositor-es.blogspot.com.br/ http://expurgacao.art.br/ ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] gem segfault when opening video
Hi, thanks for trying. IOhannes m zmoelnig wrote: hmm, both Gem (i tried 0.93.git:ee897d5 and 0.93.3 from Debian) and gmerlin (1.2.0~dfsg-3 from Debian) can play the file just fine here. Now that's strange. A big difference is that I run on Archlinux. I have: gmerlin 1.2.0 gavl 1.4.0 libquicktime 1.2.4 gmerlin seems to be built with libquicktime as a dependency. I even tried applying your fix_zeroplugins.patch from the debian package, it didn't fixed it :). you could also just deinstall the GMERLIN-backend (if you don't need it for other stuff). since PdX gives you an all or nothing, you'd had to remove (or rename) the gem_filmGMERLIN.so file. I'm more ok with converting the video to mpeg :). However, I really love the possibility to force the selection of the backend. With gdb I could see that the crash occurs inside filmGMERLIN::getFrame(void), on this line : bgav_read_video(m_file, m_gframe, m_stream); m_stream is a null pointer there. I changed : bgav_set_video_stream(m_file, m_stream, BGAV_STREAM_DECODE); if(!bgav_start(m_file)) { close(); return false; } to: bgav_set_video_stream(m_file, m_stream, BGAV_STREAM_DECODE); if(!bgav_start(m_file) || !m_stream) { close(); return false; } and now at least it does not segfaults. Maybe there's something nicer to do (printing an error message on the console ?), but it looks like a good start. Cheers, Charles ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] [gem] Looking for an abstraction for converting textfiles in text3d string
Hi, almost there. But I don't know why, any2bytes converts my newlines (10) into spaces (32). My input is like : line1 line2 line3 So textfile returns the whole file at once, which is what I want. Maybe mrpeach's binfile is more appropriate ? Hans-Christoph Steiner wrote: I think the pdstring/moocow objects will do that for you, [any2bytes] in particular. I want to display the content of a textfile on Gem. I know text3d does linebreaks when it encounters 10 in a string message. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] Multi-channel sound from pd on raspberry pi: can someone confirm?
Hi, I'm trying to find a straight answer to this question in the forums. Is anyone using pd on Rpi with more than two channels of audio output? and is it sounding ok? I did (aureon usb 7.1), and it sound bad as soon as more than 2 channels are involved. Even with huge latency and buffers. Lowering the samplerate helps, but does not fix. I also tried outputting with more than 2 channels via HDMI, it exhibits the same problem. So a hdmi to analog audio won't help. It's not pd that's in cause, it fails too with omxplayer. I believe there MIGHT be a way : output DTS or AC3 straight to hardware, maybe embedded in a blank video sequence. But then your options are rather limited for what you can do with pd. ++ Charlot ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] gem segfault when opening video
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 2013-02-19 11:36, Charles Goyard wrote: come to think of it, i think the API should be changed to be consistent with [pix_video]. e.g. [driver quicktime4linux, open foo.mov( to exclusively(!) select lqt for opening any file. Sounds good to me. implemented in git. fgmasdr IOhannes -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlEjtjkACgkQkX2Xpv6ydvT4IACfRxpkmGduVePjbwbQQG08H+h3 gycAn19z1ryAoEJ/puMor45D5wLbbdj8 =Q3QD -END PGP SIGNATURE- ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. Thanks On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ 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] gem segfault when opening video
Charles Goyard wrote: With gdb I could see that the crash occurs inside filmGMERLIN::getFrame(void), on this line : bgav_read_video(m_file, m_gframe, m_stream); m_stream is a null pointer there. I changed : bgav_set_video_stream(m_file, m_stream, BGAV_STREAM_DECODE); if(!bgav_start(m_file)) { close(); return false; } to: bgav_set_video_stream(m_file, m_stream, BGAV_STREAM_DECODE); if(!bgav_start(m_file) || !m_stream) { close(); return false; } and now at least it does not segfaults. Maybe there's something nicer to do (printing an error message on the console ?), but it looks like a good start. To be more complete: Gem seems to fall back to quicktime4linux after failing in gmerlin and the film plays OK. ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
Pd will play all files gapless, according to their file length. The 'gap' problem mostly refers to the MP3 format, which encodes the audio in fixed frame length. So if your song doesn't fit neatly into a multiple of the fixed frame length, you get a gap, i.e. the leftover part of the last frame is filled with silence. That's a problem with the MP3 format that basically all other file formats don't have. .hc On 02/19/2013 12:47 PM, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. Thanks On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ 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] using puredata to play playlist gapless
there's an interesting tool that game audio folks use that does some clever prestidigitation when encoding an MP3 and generates a gapless version. it runs on a PC, but can run under Wine pretty easily. requires old fashioned WAV files for input. here's the link. the page also has a lot of detailed information on why MP3s have this issue and how the tools solves this problem: http://www.compuphase.com/mp3/mp3loops.htm good luck! scott On Tue, Feb 19, 2013 at 10:55 AM, Hans-Christoph Steiner h...@at.or.atwrote: Pd will play all files gapless, according to their file length. The 'gap' problem mostly refers to the MP3 format, which encodes the audio in fixed frame length. So if your song doesn't fit neatly into a multiple of the fixed frame length, you get a gap, i.e. the leftover part of the last frame is filled with silence. That's a problem with the MP3 format that basically all other file formats don't have. .hc On 02/19/2013 12:47 PM, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. Thanks On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ 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
Re: [PD] using puredata to play playlist gapless
From: Scott R. Looney scottrloo...@gmail.com To: Hans-Christoph Steiner h...@at.or.at Cc: pd-list pd-list@iem.at Sent: Tuesday, February 19, 2013 2:32 PM Subject: Re: [PD] using puredata to play playlist gapless there's an interesting tool that game audio folks use that does some clever prestidigitation when encoding an MP3 and generates a gapless version. it runs on a PC, but can run under Wine pretty easily. requires old fashioned WAV files for input. here's the link. the page also has a lot of detailed information on why MP3s have this issue and how the tools solves this problem: Well, if you require WAV for input you might as well convert to OGG which AFAICT doesn't suffer from this problem. -Jonathan http://www.compuphase.com/mp3/mp3loops.htm good luck! scott On Tue, Feb 19, 2013 at 10:55 AM, Hans-Christoph Steiner h...@at.or.at wrote: Pd will play all files gapless, according to their file length. The 'gap' problem mostly refers to the MP3 format, which encodes the audio in fixed frame length. So if your song doesn't fit neatly into a multiple of the fixed frame length, you get a gap, i.e. the leftover part of the last frame is filled with silence. That's a problem with the MP3 format that basically all other file formats don't have. .hc On 02/19/2013 12:47 PM, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. Thanks On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
agreed - Ogg is based on samples, not frames, from what i remember, but just in case the files had to be MP3 for some reason, you could set them up in this utility and get your seamless playback that way. scott On Tue, Feb 19, 2013 at 1:22 PM, Jonathan Wilkes jancs...@yahoo.com wrote: From: Scott R. Looney scottrloo...@gmail.com To: Hans-Christoph Steiner h...@at.or.at Cc: pd-list pd-list@iem.at Sent: Tuesday, February 19, 2013 2:32 PM Subject: Re: [PD] using puredata to play playlist gapless there's an interesting tool that game audio folks use that does some clever prestidigitation when encoding an MP3 and generates a gapless version. it runs on a PC, but can run under Wine pretty easily. requires old fashioned WAV files for input. here's the link. the page also has a lot of detailed information on why MP3s have this issue and how the tools solves this problem: Well, if you require WAV for input you might as well convert to OGG which AFAICT doesn't suffer from this problem. -Jonathan http://www.compuphase.com/mp3/mp3loops.htm good luck! scott On Tue, Feb 19, 2013 at 10:55 AM, Hans-Christoph Steiner h...@at.or.at wrote: Pd will play all files gapless, according to their file length. The 'gap' problem mostly refers to the MP3 format, which encodes the audio in fixed frame length. So if your song doesn't fit neatly into a multiple of the fixed frame length, you get a gap, i.e. the leftover part of the last frame is filled with silence. That's a problem with the MP3 format that basically all other file formats don't have. .hc On 02/19/2013 12:47 PM, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. Thanks On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ 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 ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
On Die, 2013-02-19 at 07:47 -1000, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. You load your playlist (in its most simple form it would be just one filename per line) with [textfile]. You make [textfile] output its first line, feed that to [readsf~]. Then you feed the right outlet of [readsf~] - which bangs when the file is finished - back to [textfile] to make it output the next filename. Roman On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ 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] using puredata to play playlist gapless
On Die, 2013-02-19 at 13:55 -0500, Hans-Christoph Steiner wrote: Pd will play all files gapless, according to their file length. The 'gap' problem mostly refers to the MP3 format, which encodes the audio in fixed frame length. So if your song doesn't fit neatly into a multiple of the fixed frame length, you get a gap, i.e. the leftover part of the last frame is filled with silence. That's a problem with the MP3 format that basically all other file formats don't have. This is nitpicking, but actually most ways to play a sound files in Pd are not totally gapless, unless the file lengths are exactly a multiple of 64 samples. This is the case with [readsf~ ], but also with [tabplay~]. Both start only on block boundaries. The only way (I currently can think of) to play absolutely gaplessly is to use [vline]/[tabread~ ] construct. Roman On 02/19/2013 12:47 PM, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. Thanks On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ 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
[PD] pd downloads
Is pd downloads unavailable? i cannot seem to connect to the downloads page thank you pp ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
[PD] fixing pow~
Hi list, A question: * are pow~ and exp~ common enough objects to warrant adding the perf8 optimized dsp function? -Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
- Original Message - From: Roman Haefeli reduz...@gmail.com To: pd-list@iem.at Cc: Sent: Tuesday, February 19, 2013 5:13 PM Subject: Re: [PD] using puredata to play playlist gapless On Die, 2013-02-19 at 13:55 -0500, Hans-Christoph Steiner wrote: Pd will play all files gapless, according to their file length. The 'gap' problem mostly refers to the MP3 format, which encodes the audio in fixed frame length. So if your song doesn't fit neatly into a multiple of the fixed frame length, you get a gap, i.e. the leftover part of the last frame is filled with silence. That's a problem with the MP3 format that basically all other file formats don't have. This is nitpicking, but actually most ways to play a sound files in Pd are not totally gapless, unless the file lengths are exactly a multiple of 64 samples. This is the case with [readsf~ ], but also with [tabplay~]. Both start only on block boundaries. The only way (I currently can think of) to play absolutely gaplessly is to use [vline]/[tabread~ ] construct. What about readsf~ inside a subpatch with [block~ 1]? -Jonathan Roman ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] pd downloads
On 02/19/2013 23:50, Pagano, Patrick wrote: Is pd downloads unavailable? i cannot seem to connect to the downloads page dunno, but http://puredata.info/downloads works for me. fgamsdr IOhannes ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 07:47 -1000, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. You load your playlist (in its most simple form it would be just one filename per line) with [textfile]. You make [textfile] output its first line, feed that to [readsf~]. Then you feed the right outlet of [readsf~] - which bangs when the file is finished - back to [textfile] to make it output the next filename. Roman On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ 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 read_play_playlist.pd Description: Binary data ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 07:47 -1000, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. You load your playlist (in its most simple form it would be just one filename per line) with [textfile]. You make [textfile] output its first line, feed that to [readsf~]. Then you feed the right outlet of [readsf~] - which bangs when the file is finished - back to [textfile] to make it output the next filename. Roman On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ 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
Re: [PD] using puredata to play playlist gapless
I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 07:47 -1000, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. You load your playlist (in its most simple form it would be just one filename per line) with [textfile]. You make [textfile] output its first line, feed that to [readsf~]. Then you feed the right outlet of [readsf~] - which bangs when the file is finished - back to [textfile] to make it output the next filename. Roman On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ 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
Re: [PD] using puredata to play playlist gapless
Oh silly me. You need to look at the syntax for using readsf~ - it's more complicated. First, readsf~ needs an open message e.g. open 001test.wav, then it needs a 1 to start playback. Forgive me if you already know this, but you can string 2 messages together with a comma. And to get the filename from textfile into a message like that, you need to use $1 as a placeholder. So between textfile and readsf~ you need a message saying something like open $1, 1. That'll turn into 2 messages: open 001test.wav and then 1. If the files are in the same directory as the patch, it should work (I think). Cheers Dafydd On Tue, Feb 19, 2013 at 9:06 PM, Rick T ratull...@gmail.com wrote: I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 07:47 -1000, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. You load your playlist (in its most simple form it would be just one filename per line) with [textfile]. You make [textfile] output its first line, feed that to [readsf~]. Then you feed the right outlet of [readsf~] - which bangs when the file is finished - back to [textfile] to make it output the next filename. Roman On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ 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
[PD] pd 0.44 vanilla build process
Hi, Can someone tell me how I'm supposed to rebuild Pd vanilla in 0.44? Build 0.43 and before: 1) cd src 2) ./configure 3) make Run 0.43 and before without installing: cd src ./pd Selectively recompile the source file I'm revising: make *** Build 0.44 1) ./autogen.sh 2) ./configure 3) make 4) cp src/pd . cp src/pd-watchdog bin/ Run 0.44: ./pd Selectively recompile 0.44: ??? if I try make, then cp src/pd . cp src/pd-watchdog bin/ my changes aren't reflected even though I watched all the recompilation messages to the console without any errors the only way I can recompile is make clean, then make which is obviously quite annoying. Any suggestions? -Jonathan ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
Ok I'm still having issues I uploaded an image of the PD to see if someone spots something off the bat http://imageshack.us/photo/my-images/12/selection007p.png/ and I've attached a text file with the debugging stuff included I can hear the sound when I click on the [open /tmp/test/n41test.wav( message box But I get no sound using the open panel to load the textfile I've also attached the negplaylist.txt file and renamed everything in-case I had some strange control character hiding in the file. When I bang the [openpanel] object and clink on the [print( message box above the [textfile] I get this in the PD log - textfile or qlist contents: --- n41test.wav \; \; n42test.wav \; \; n43test.wav \; \; n44test.wav \; \; n45test.wav \; \; n46test.wav \; \; n47test.wav \; \; n48test.wav \; \; n49test.wav \; \; n50test.wav \; \; Still trying to figure out why this won't play the files. On Tue, Feb 19, 2013 at 4:15 PM, Dafydd Hughes dafyd...@gmail.com wrote: Oh silly me. You need to look at the syntax for using readsf~ - it's more complicated. First, readsf~ needs an open message e.g. open 001test.wav, then it needs a 1 to start playback. Forgive me if you already know this, but you can string 2 messages together with a comma. And to get the filename from textfile into a message like that, you need to use $1 as a placeholder. So between textfile and readsf~ you need a message saying something like open $1, 1. That'll turn into 2 messages: open 001test.wav and then 1. If the files are in the same directory as the patch, it should work (I think). Cheers Dafydd On Tue, Feb 19, 2013 at 9:06 PM, Rick T ratull...@gmail.com wrote: I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 07:47 -1000, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. You load your playlist (in its most simple form it would be just one filename per line) with [textfile]. You make [textfile] output its first line, feed that to [readsf~]. Then you feed the right outlet of [readsf~] - which bangs when the file is finished - back to [textfile] to make it output the next filename. Roman On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? It sounds doable to me. I'd do it with [textfile] reading your playlist which passes each line (after some message mangling) to a [readsf~]. My only concern is the chosen file format '.pls'. Pd (natively) is pretty bad in string parsing. If you could use your own format it would make things a lot easier. I don't know if you have any constraints there. The simplest format of such a text file might be as an example: filename1.wav filename2.wav whateverfile.wav Roman ___ 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 n41test.wav; n42test.wav; n43test.wav; n44test.wav; n45test.wav; n46test.wav; n47test.wav; n48test.wav; n49test.wav; n50test.wav; read_play_playlist.pd
Re: [PD] using puredata to play playlist gapless
Have you nitride giving textile a bang after opening the file? Also, the test message should be connected straight to readsf~, not to the message - you should hear the file played then. On Tuesday, February 19, 2013, Rick T wrote: Ok I'm still having issues I uploaded an image of the PD to see if someone spots something off the bat http://imageshack.us/photo/my-images/12/selection007p.png/ and I've attached a text file with the debugging stuff included I can hear the sound when I click on the [open /tmp/test/n41test.wav( message box But I get no sound using the open panel to load the textfile I've also attached the negplaylist.txt file and renamed everything in-case I had some strange control character hiding in the file. When I bang the [openpanel] object and clink on the [print( message box above the [textfile] I get this in the PD log - textfile or qlist contents: --- n41test.wav \; \; n42test.wav \; \; n43test.wav \; \; n44test.wav \; \; n45test.wav \; \; n46test.wav \; \; n47test.wav \; \; n48test.wav \; \; n49test.wav \; \; n50test.wav \; \; Still trying to figure out why this won't play the files. On Tue, Feb 19, 2013 at 4:15 PM, Dafydd Hughes dafyd...@gmail.com wrote: Oh silly me. You need to look at the syntax for using readsf~ - it's more complicated. First, readsf~ needs an open message e.g. open 001test.wav, then it needs a 1 to start playback. Forgive me if you already know this, but you can string 2 messages together with a comma. And to get the filename from textfile into a message like that, you need to use $1 as a placeholder. So between textfile and readsf~ you need a message saying something like open $1, 1. That'll turn into 2 messages: open 001test.wav and then 1. If the files are in the same directory as the patch, it should work (I think). Cheers Dafydd On Tue, Feb 19, 2013 at 9:06 PM, Rick T ratull...@gmail.com wrote: I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 07:47 -1000, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. You load your playlist (in its most simple form it would be just one filename per line) with [textfile]. You make [textfile] output its first line, feed that to [readsf~]. Then you feed the right outlet of [readsf~] - which bangs when the file is finished - back to [textfile] to make it output the next filename. Roman On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list
Re: [PD] using puredata to play playlist gapless
Yes I have tried giving textfile a bang. Still no sound I'm not sure what you mean by the second response since I get sound when I click on the message with the single wav file hard coded in the message box. I don't get sound when I load a playlist text file. Thanks On Tue, Feb 19, 2013 at 6:22 PM, Dafydd Hughes dafyd...@gmail.com wrote: Have you nitride giving textile a bang after opening the file? Also, the test message should be connected straight to readsf~, not to the message - you should hear the file played then. On Tuesday, February 19, 2013, Rick T wrote: Ok I'm still having issues I uploaded an image of the PD to see if someone spots something off the bat http://imageshack.us/photo/my-images/12/selection007p.png/ and I've attached a text file with the debugging stuff included I can hear the sound when I click on the [open /tmp/test/n41test.wav( message box But I get no sound using the open panel to load the textfile I've also attached the negplaylist.txt file and renamed everything in-case I had some strange control character hiding in the file. When I bang the [openpanel] object and clink on the [print( message box above the [textfile] I get this in the PD log - textfile or qlist contents: --- n41test.wav \; \; n42test.wav \; \; n43test.wav \; \; n44test.wav \; \; n45test.wav \; \; n46test.wav \; \; n47test.wav \; \; n48test.wav \; \; n49test.wav \; \; n50test.wav \; \; Still trying to figure out why this won't play the files. On Tue, Feb 19, 2013 at 4:15 PM, Dafydd Hughes dafyd...@gmail.com wrote: Oh silly me. You need to look at the syntax for using readsf~ - it's more complicated. First, readsf~ needs an open message e.g. open 001test.wav, then it needs a 1 to start playback. Forgive me if you already know this, but you can string 2 messages together with a comma. And to get the filename from textfile into a message like that, you need to use $1 as a placeholder. So between textfile and readsf~ you need a message saying something like open $1, 1. That'll turn into 2 messages: open 001test.wav and then 1. If the files are in the same directory as the patch, it should work (I think). Cheers Dafydd On Tue, Feb 19, 2013 at 9:06 PM, Rick T ratull...@gmail.com wrote: I had my hopes up but adding the semicolon to the end didn't help. I have all the files in the same directory and for whatever reason it just refuses to play. I don't even have any errors on the Puredata Log screen. Any other ideas? Thanks On Tue, Feb 19, 2013 at 3:28 PM, Dafydd Hughes dafyd...@gmail.com wrote: Hi Rick I think you might need a semicolon at the end of each line in your text file: 001test.wav; 002test.wav; 003test.wav; Cheers Dafydd On Tue, Feb 19, 2013 at 8:22 PM, Rick T ratull...@gmail.com wrote: Thanks for all the help/suggestions but I still seem to be running into a problem of it not playing the files. I made the changes to playlist file and edited the playlist.txt file the playlist.txt file has 001test.wav 002test.wav 003test.wav I've included the the pd patch to see if someone can tell me what I'm doing wrong Thanks. On Tue, Feb 19, 2013 at 12:08 PM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 07:47 -1000, Rick T wrote: Yes I do have the ability to change the playlist file to a text file and alter it how it looks. The thing I'm looking for is an example of gapless playing. I couldn't find one doing google search. You load your playlist (in its most simple form it would be just one filename per line) with [textfile]. You make [textfile] output its first line, feed that to [readsf~]. Then you feed the right outlet of [readsf~] - which bangs when the file is finished - back to [textfile] to make it output the next filename. Roman On Tue, Feb 19, 2013 at 12:53 AM, Roman Haefeli reduz...@gmail.com wrote: On Die, 2013-02-19 at 00:31 -1000, Rick T wrote: Greetings All I have a playlist file (songs.pls) that I would like to play gapless (without the 1 second pause between tracks) can puredata due this if so is there and example? ___ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management - http://lists.puredata.info/listinfo/pd-list