<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Based on the help file this object needs a lot of love to be
      truly usable. See the transposing part on anything other than the
      3 apparently hardcoded sampling rates...</p>
    <p>That said, it would be great to be able to support mp3 file
      manipulation.<br>
    </p>
    <div class="moz-cite-prefix">On 9/16/2020 7:06 PM, Linux ROUEN
      Normandie wrote:<br>
    </div>
    <blockquote type="cite"
      cite="mid:16cdfb7c-836f-0778-29ca-e01b4fd526f3@free.fr">Le
      17/09/2020 à 00:01, Jonathan Wilkes a écrit :
      <br>
      <blockquote type="cite">On Wed, Sep 16, 2020 at 4:49 PM Linux
        ROUEN Normandie
        <br>
        <a class="moz-txt-link-rfc2396E" href="mailto:linux.rouen@free.fr"><linux.rouen@free.fr></a> wrote:
        <br>
        <blockquote type="cite">Thanks Jonathan,
          <br>
          But that means it's not usable by a standard project user.
          <br>
        </blockquote>
        What means that?
        <br>
      </blockquote>
      Well, translation from a poor French man speaking poor English
      (LOL):
      <br>
      What I meant is that if you are not a guy who builds
      patchs/subpatchs using available objects but only a one who is
      using a ready-to-go project (assembly of patchs) built by someone
      else, you will never do what have been suggested. Not everybody is
      a developer-programmer, even I. So, what about a standard user of
      Purr Data / Pd Vanilla!
      <br>
      <blockquote type="cite">
        <blockquote type="cite">You have to
          <br>
          put your hands under the hood and then into the dirty engine.
          <br>
          I just checked [mp3play~] with 'iemlib' r.1.17 properly
          installed and
          <br>
          declared under Pd Vanilla v.0.50.2 and it's the same bad
          behavior than
          <br>
          under Purr Data v.2.13.0. Even more, here 'mp3play~-help.pd'
          is not
          <br>
          present at all.
          <br>
        </blockquote>
        Do you know where the source code is for the version of mp3play~
        <br>
        available through Vanilla?
        <br>
      </blockquote>
      As I wrote it, it's not available under Pd Vanilla 0.5.2 / iemlib
      1.17 but only under Purr Data, as far as my little experience.
      <br>
      I attach to this email what I guess could be the main source file
      (mp3play~.c), but with no guarantee at all, awa its help file
      (mp3play~-help.pd).
      <br>
      This 'C' file seems to have been tested/working only on: 'debugged
      for windows 013-03-2003' (line 13 of the file).
      <br>
      These 2 files and few others can be found on your Git repository
      at: '/purr-data/externals/iemlib/iem_mp3/' (accordingly to the
      copy I have on my GNU/Linux PC).
      <br>
      <br>
      - Joseph
      <br>
      <blockquote type="cite">-Jonathan
        <br>
        <br>
        <blockquote type="cite">-Joseph
          <br>
          - - - - - - - - - - - - - - - - - - - -
          <br>
          Le 16/09/2020 à 21:13, Jonathan Wilkes a écrit :
          <br>
          <blockquote type="cite">On Wed, Sep 16, 2020 at 2:37 PM Linux
            ROUEN Normandie
            <br>
            <a class="moz-txt-link-rfc2396E" href="mailto:linux.rouen@free.fr"><linux.rouen@free.fr></a> wrote:
            <br>
            <blockquote type="cite">Hello Folks,
              <br>
              <br>
              I'm looking for some advises regarding Recording and
              Playing MP3 files -directly- inside Purr Data v2.13.0+
              under GNU/Linux and Windows.
              <br>
              <br>
              In my MIDI/Audio projects under Purr Data I'm already
              using successfully:
              <br>
              - [oggwrite~] / [oggread~] for .ogg (Vorbis) files (with
              lossy audio compression), and
              <br>
              - [writesf~] / [readsf~] for  .wav, .aif, .au and .snd
              files (with uncompressed linear pulse-code modulation).
              <br>
              <br>
              But some users are requesting, among other demands, the
              possibility to handle also MP3 (with lossy
              data-compression) for extending the number of compatible
              Audio equipment (like TVs) able to read them.
              <br>
              <br>
              After analysis I found only 2 objects -not tested yet-
              from the 'unauthorized' library being able to deal with
              MP3:
              <br>
              - [mp3write~] an MP3 file recorder v.0.4, and
              <br>
              - [mp3cast~] an MP3 streamer v.0.5.
              <br>
              But there is nothing about an MP3 file reader/player.
              <br>
              <br>
              Despite the many libraries installed by default, Purr Data
              could not create any of the following objects (see towards
              the end of the link - FR):
              <br>
              - [mp3amp~],
              <br>
              - [graphic-mp3amp~],
              <br>
              - [mp3live~],
              <br>
              - [mp3streamout~],
              <br>
              - [mp3streamin~],
              <br>
              - [mp3fileout~], and
              <br>
              - [mp3play~] from 'iemlib library'.
              <br>
              <br>
              * [mp3play~] should be in the 'iemlib' library but it's
              not there when its help file is well present in
              '/opt/purr-data/lib/pd-l2ork/extra/iemlib/mp3play~-help.pd'.
              <br>
              One strange thing is that the 'mp3play~.c' file is well
              present on the Git copy I made from Jonathan's repo for my
              French translations in:
              <br>
              -
              '/home/joe/GitLab/purr-data/externals/build/src/mp3play~.c'
              (47 bytes), and
              <br>
              -
              '/home/joe/GitLab/purr-data/externals/iemlib/iem_mp3/src/'
              (107 kB).
              <br>
            </blockquote>
            mp3play~ is not currently getting built (and wasn't in
            Pd-extended, either).
            <br>
            <br>
            What a weirdo class structure! After compiling it, you must
            first create this:
            <br>
            <br>
            [iem_mp3]
            <br>
            <br>
            Which will then go in and trigger the setup routine for
            mp3play~, so
            <br>
            that you can then do this:
            <br>
            <br>
            [mp3play~]
            <br>
            <br>
            Both will create properly. I was able to play the test file
            and it
            <br>
            seemed to output something, though couldn't get my
            headphones to work
            <br>
            so I don't know if it sounded right.
            <br>
            <br>
            It appears there are no dependencies for this object, so if
            we add it
            <br>
            then it will work in the web app, too!
            <br>
            <br>
            I guess the first thing to do is look in Pd Vanilla and see
            if anyone
            <br>
            has done work on this object since 2003.
            <br>
            <br>
            -Jonathan
            <br>
            <br>
            <blockquote type="cite">Any ideas - suggestions about an
              available and working [MP3 file reader/player] object?
              <br>
              Thank you.
              <br>
              - - - - - - - - - - - - - - - - - - - -
              <br>
              Best,
              <br>
              Joseph Gastelais
              <br>
              LINUX ♥ ROUEN ♥ Normandie
              <br>
              - - - - - - - - - - - - - - - - - - - -
              <br>
              _______________________________________________
              <br>
              L2Ork-dev mailing list
              <br>
              <a class="moz-txt-link-abbreviated" href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a>
              <br>
              <a class="moz-txt-link-freetext" href="https://disis.music.vt.edu/listinfo/l2ork-dev">https://disis.music.vt.edu/listinfo/l2ork-dev</a>
              <br>
            </blockquote>
            _______________________________________________
            <br>
            L2Ork-dev mailing list
            <br>
            <a class="moz-txt-link-abbreviated" href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a>
            <br>
            <a class="moz-txt-link-freetext" href="https://disis.music.vt.edu/listinfo/l2ork-dev">https://disis.music.vt.edu/listinfo/l2ork-dev</a>
            <br>
          </blockquote>
          _______________________________________________
          <br>
          L2Ork-dev mailing list
          <br>
          <a class="moz-txt-link-abbreviated" href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a>
          <br>
          <a class="moz-txt-link-freetext" href="https://disis.music.vt.edu/listinfo/l2ork-dev">https://disis.music.vt.edu/listinfo/l2ork-dev</a>
          <br>
        </blockquote>
        _______________________________________________
        <br>
        L2Ork-dev mailing list
        <br>
        <a class="moz-txt-link-abbreviated" href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a>
        <br>
        <a class="moz-txt-link-freetext" href="https://disis.music.vt.edu/listinfo/l2ork-dev">https://disis.music.vt.edu/listinfo/l2ork-dev</a>
        <br>
      </blockquote>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
L2Ork-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:L2Ork-dev@disis.music.vt.edu">L2Ork-dev@disis.music.vt.edu</a>
<a class="moz-txt-link-freetext" href="https://disis.music.vt.edu/listinfo/l2ork-dev">https://disis.music.vt.edu/listinfo/l2ork-dev</a></pre>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Ivica Ico Bukvic, D.M.A.
Director, Creativity + Innovation
Co-Director, Human Centered Design iPhD
Institute for Creativity, Arts, and Technology

Virginia Tech
Creative Technologies in Music
School of Performing Arts – 0141
Blacksburg, VA 24061
(540) 231-6139
<a class="moz-txt-link-abbreviated" href="mailto:ico@vt.edu">ico@vt.edu</a>

<a class="moz-txt-link-abbreviated" href="http://www.icat.vt.edu">www.icat.vt.edu</a>
<a class="moz-txt-link-abbreviated" href="http://www.performingarts.vt.edu">www.performingarts.vt.edu</a>
l2ork.icat.vt.edu
ico.bukvic.net</pre>
  </body>
</html>