From quiqueiii@gmail.com Thu May 03 22:32:45 2012 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1SQ2he-0004KG-Un>; Thu, 03 May 2012 22:32:43 +0200 Received: from mail-pz0-f46.google.com ([209.85.210.46]) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1SQ2he-0004nX-G7>; Thu, 03 May 2012 22:32:42 +0200 Received: by dady13 with SMTP id y13so2343857dad.5 for ; Thu, 03 May 2012 13:32:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WRwNbXVWR2RIXV6SBBhaxZ7dKuD0HvfDF0plI7rKmg4=; b=wTvqyru48noT5kOimRubp8ZLbGwcI1t2aOyoRcikIU/GGTzStCL5RLuJdNmk2nWIHs yAnnMcJPiYodafkrfUcKnqtxYxdsjDcOVdnrU1yRnsRStJfL2vOduypNKBDCUbmtRGFg B86dcZPrZq8qUuGGyrmVo3u6p0+wjXdEY2WL3WAwEf880D1vX0rCN+AlVpZMm1i4KtXw dnfXcq7kLCjXQdNJlEdvS1CALM0oAgHGKMj48z0hiD7dVlKpdI27aT02PigwWNFTTSFZ Itd4sopilD365g/wlyEwWAdIxib6jZVbXogynWJNwuo32hI9iL69u84qyEuPe1KuI6dk zVcw== MIME-Version: 1.0 Received: by 10.68.134.228 with SMTP id pn4mr4067884pbb.78.1336077160023; Thu, 03 May 2012 13:32:40 -0700 (PDT) Received: by 10.68.14.233 with HTTP; Thu, 3 May 2012 13:32:39 -0700 (PDT) In-Reply-To: <20120416141955.GB31210@physik.fu-berlin.de> References: <20120416141955.GB31210@physik.fu-berlin.de> Date: Thu, 3 May 2012 22:32:39 +0200 Message-ID: From: Enrique Medina Gremaldos To: John Paul Adrian Glaubitz Content-Type: multipart/alternative; boundary=e89a8ffbaca384066004bf27b426 X-Originating-IP: 209.85.210.46 X-ZEDAT-Hint: A X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1336077162-00000D73-3F9583D9/0-0/0-0 X-Bogosity: Unsure, tests=bogofilter, spamicity=0.450560, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Dschibuti.ZEDAT.FU-Berlin.DE X-Spam-Level: x X-Spam-Status: No, score=2.0 required=5.0 tests=DNS_FROM_RFC_ABUSE, FU_BOGO_UNSURE,HTML_30_40,HTML_MESSAGE,RCVD_BY_IP,SPF_HELO_PASS, SPF_PASS Cc: linux-minidisc Subject: Re: [linux-minidisc] netmdcli sending an mp3 X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 03 May 2012 20:32:45 -0000 --e89a8ffbaca384066004bf27b426 Content-Type: text/plain; charset=ISO-8859-1 2012/4/16 John Paul Adrian Glaubitz > Hello Manuel, > > On Sun, Apr 15, 2012 at 09:21:06PM +0200, Manuel Molina Cuberos wrote: > > > I've built all the utilities under Debian GNU Linux and now I can use > > netmdcli > > It seems to work. > > You can also use the Ubuntu PPAs on Debian [1]. Just use the ones we > provide for Ubuntu Oneiric, they work fine on Wheezy. > > > crystalpalace:~/linux-minidisc/netmdcli# ./netmdcli > > Net MD Walkman > > Raw title: > > Disc Title: > > > > Track 0: UnPROT LP2 - 04:19:47 - Hola > > > > --Empty Groups-- > > > > > > But when I listen, it sounds like garbage. > > This is expected, NetMD Walkman do not support the playback of MP3 > audio tracks and you will have to convert them. Generally, most if not > all NetMD Walkman support ATRAC-SP, ATRAC-3 (LP2 and LP4) and PCM as > input, the latter will be recoded by the Walkman into ATRAC-SP (I > don't know whether the NetMD Walman also encodes LP2 and LP4 > on-the-fly, but I guess Michael knows). > > As for netmdcli, the software currently does not check the format of > the input files and just always assumes ATRAC-3 LP2 which is why your > track listing above reads "LP2". So netmdcli needs to be fixed to > properly recognize the input format and send the proper parameters to > the NetMD Walkman. Since there are no known encoders for ATRAC-SP or > ATRAC-3 LP2/LP4, any non-ATRAC files will have to be sent to the NetMD > Walkman as PCM files where they are encoded as ATRAC-SP by the Walkman. > > Fixing netmdcli in this regard is the next point on our TODO list. If > you know C, you can have a look at the code in netmdcli/netmdcli.c > yourself and play around with the code. > > Adrian > > [1] https://launchpad.net/~glaubitz/+archive/linux-minidisc > > _______________________________________________ > linux-minidisc mailing list > linux-minidisc@lists.fu-berlin.de > https://lists.fu-berlin.de/listinfo/linux-minidisc > I've been using python download, as it worked fine for me. I previusly convert mp3 to pcm and download in SP format. I've been taking a look at netmdcli, but as far as I understand, It currently supports atrac encoded LP2 files as input? I've modified netmdcli.c this way: /* send to device */ error = netmd_secure_send_track(devh, NETMD_WIREFORMAT_PCM, NETMD_DISKFORMAT_SP_STEREO, (data_size) / 2048, packets, packet_count, sessionkey, &track, uuid, new_contentid); It starts transfering but fails on last commands and track is not written. Is that change enought in order to support PCM transfers? Regards, Enrique --e89a8ffbaca384066004bf27b426 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

2012/4/16 John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
Hello Manuel,

On Sun, Apr 15, 2012 at 09:21:06PM +0200, Manuel Molina Cuberos wrote:

> I've built all the utilities under Debian GNU Linux and now I can = use
> netmdcli
> It seems to work.

You can also use the Ubuntu PPAs on Debian [1]. Just use the ones we<= br> provide for Ubuntu Oneiric, they work fine on Wheezy.

> crystalpalace:~/linux-minidisc/netmdcli# ./netmdcli
> Net MD Walkman
> Raw title:
> Disc Title: <Untitled>
>
> Track =A00: UnPROT =A0 =A0LP2 - 04:19:47 - Hola
>
> --Empty Groups--
>
>
> But when I listen, it sounds like garbage.

This is expected, NetMD Walkman do not support the playback of MP3 audio tracks and you will have to convert them. Generally, most if not
all NetMD Walkman support ATRAC-SP, ATRAC-3 (LP2 and LP4) and PCM as
input, the latter will be recoded by the Walkman into ATRAC-SP (I
don't know whether the NetMD Walman also encodes LP2 and LP4
on-the-fly, but I guess Michael knows).

As for netmdcli, the software currently does not check the format of
the input files and just always assumes ATRAC-3 LP2 which is why your
track listing above reads "LP2". So netmdcli needs to be fixed to=
properly recognize the input format and send the proper parameters to
the NetMD Walkman. Since there are no known encoders for ATRAC-SP or
ATRAC-3 LP2/LP4, any non-ATRAC files will have to be sent to the NetMD
Walkman as PCM files where they are encoded as ATRAC-SP by the Walkman.

Fixing netmdcli in this regard is the next point on our TODO list. If
you know C, you can have a look at the code in netmdcli/netmdcli.c
yourself and play around with the code.

Adrian

[1] https://launchpad.net/~glaubitz/+archive/linux-minidisc<= br>
_______________________________________________
linux-minidisc mailing list
linux-minidisc@lists.f= u-berlin.de
https://lists.fu-berlin.de/listinfo/linux-minidisc


I've been using p= ython download, as it worked fine for me. I previusly convert mp3 to pcm an= d download in SP format. I've been taking a look at netmdcli, but as fa= r as I understand, It currently supports atrac encoded LP2 files as input? = I've modified netmdcli.c this way:

/* send to device */
error =3D n= etmd_secure_send_track(devh, NETMD_WIREFORMAT_PCM,
= NETMD_DISKFORMAT_SP_STEREO,
= (data_size) / 2048, packets,
packet_count, sessionkey,
= &track, uuid, new_contentid);=

It starts transfering but fails on last commands = and track is not written. Is that change enought in order to support PCM tr= ansfers?

Regards,
Enrique
--e89a8ffbaca384066004bf27b426-- From d-list@zacaw.com Wed May 16 03:56:29 2012 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1SUTTY-0002yH-Ab>; Wed, 16 May 2012 03:56:28 +0200 Received: from s141.n231.n6.n64.static.myhostcenter.com ([64.6.231.141] helo=vps.zacaw.com) by relay1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1SUTTX-0000Gf-U8>; Wed, 16 May 2012 03:56:28 +0200 Received: (qmail 27864 invoked from network); 15 May 2012 21:49:44 -0400 Received: from pool-96-252-62-176.bstnma.fios.verizon.net (HELO doms-imac.home) (96.252.62.176) by s141.n231.n6.n64.static.myhostcenter.com with (AES128-SHA encrypted) SMTP; 15 May 2012 21:49:44 -0400 From: Dom Cassone Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 15 May 2012 21:49:43 -0400 Message-Id: <1AA8AA3C-D58E-486C-8416-5184B693C639@zacaw.com> To: linux-minidisc@lists.fu-berlin.de Mime-Version: 1.0 (Apple Message framework v1278) X-Mailer: Apple Mail (2.1278) X-Originating-IP: 64.6.231.141 X-ZEDAT-Hint: G X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1337133388-00000D73-7A78B5F0/0-0/0-0 X-Bogosity: Unsure, tests=bogofilter, spamicity=0.509823, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Botsuana.ZEDAT.FU-Berlin.DE X-Spam-Level: xxxx X-Spam-Status: No, score=4.0 required=5.0 tests=FORGED_RCVD_HELO, FU_BOGO_UNSURE,FU_XZH_G,SPF_HELO_PASS,SPF_PASS X-Mailman-Approved-At: Wed, 16 May 2012 22:27:19 +0200 Subject: [linux-minidisc] Reading NetMD discs X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2012 01:56:29 -0000 I have a MZ-NH1 minidisc player and cannot figure out how to read the = standard discs into my Mac so I can retrieve the music. I have tried NetMDPython, but can only list the contents of the = minidisc, when I try to do the upload, it errors on the first track and = creates a 0 length file. I cannot find anywhere to ask questions on this = software I cannot find any other software that will read these discs and I have a = ton of music on non-HiMD discs It was suggested that I use netmdcli, but I cannot find it anywhere on = the web. Any suggestions would be very helpful as I would really like to retrieve = this music digitally. Thanks, Dom From Michael.Karcher@fu-berlin.de Wed May 16 22:37:55 2012 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1SUkyo-0006Fa-Lj>; Wed, 16 May 2012 22:37:54 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1SUkyo-0000V2-IX>; Wed, 16 May 2012 22:37:54 +0200 Received: from port-92-204-22-106.dynamic.qsc.de ([92.204.22.106] helo=[192.168.178.20]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1SUkyo-0005Lf-BZ>; Wed, 16 May 2012 22:37:54 +0200 Message-ID: <1337200750.29037.70.camel@localhost> From: Michael Karcher To: Dom Cassone Date: Wed, 16 May 2012 22:39:10 +0200 In-Reply-To: <1AA8AA3C-D58E-486C-8416-5184B693C639@zacaw.com> References: <1AA8AA3C-D58E-486C-8416-5184B693C639@zacaw.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-JhTJ3sAB1eZ/9OJw02JF" X-Mailer: Evolution 3.2.2-1 Mime-Version: 1.0 X-Originating-IP: 92.204.22.106 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1337200674-00000D73-F25A7443/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.025561, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Benin.ZEDAT.FU-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] Reading NetMD discs X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 May 2012 20:37:55 -0000 --=-JhTJ3sAB1eZ/9OJw02JF Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2012-05-15 at 21:49 -0400, Dom Cassone wrote: > I have a MZ-NH1 minidisc player and cannot figure out how to read the > standard discs into my Mac so I can retrieve the music. The MZ-NH1 is not capable of transferring data from a standard disc digitally to your computer. This is a limitation of the firmware of that device. The only device capable of transferring music from standard discs is the MZ-RH1 (and it's microphone kit variant). > I have tried NetMDPython, but can only list the contents of the > minidisc, when I try to do the upload, it errors on the first track > and creates a 0 length file. I cannot find anywhere to ask questions > on this software This is the right place to ask questions about that software. NetMDPython consists of three user-callable scripts. One is called lsmd, if I remember correctly, and is used to get the list of tracks. A second one is called upload, and that one is used to transfer music from standard MDs digitally into your computer. For the reason outlined above, it does not work with your MZ-NH1. The third script called dumpmd is a work-around for your situation. This script plays one track after the other by remote-controlling the minidisc player. At the same time, it records audio from the sound card to files called like the track titles on your MD. You need to connect an analog audio cable between the minidisc player and your soundcard, and set up the mixer (input selection, recording level) before you start that script. > I cannot find any other software that will read these discs and I have > a ton of music on non-HiMD discs. It was suggested that I use > netmdcli, but I cannot find it anywhere on the web. netmdcli, intended as successor to the NetMDPython stuff, is also included in the linux-minidisc project, but I am not aware whether there currently exists a version compiled for MacOS. In your case, it will not help you, because netmdcli can replace the functionality of the lsmd and the upload python scripts, but the functionality of the dumpmd script is not yet implemented. > Any suggestions would be very helpful as I would really like to retrieve = this music digitally. I am sorry to tell you that retrieving this music digitally is only possible with the Sony MZ-RH1, which is quite expensive even nowadays. Regards, Michael Karcher --=-JhTJ3sAB1eZ/9OJw02JF Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEABECAAYFAk+0EG4ACgkQzhek2R7EicpDtACgriKndBp8lCIKiNtkLQ8NQayH mrMAnR0K67et0rsP5ar+OnXWl4iEBFhC =Rywr -----END PGP SIGNATURE----- --=-JhTJ3sAB1eZ/9OJw02JF-- From Michael.Karcher@fu-berlin.de Thu May 17 16:55:26 2012 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1SV26v-0003h4-Pe>; Thu, 17 May 2012 16:55:25 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1SV26v-0002I8-N3>; Thu, 17 May 2012 16:55:25 +0200 Received: from port-92-204-27-204.dynamic.qsc.de ([92.204.27.204] helo=[192.168.178.20]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1SV26v-0003aa-GT>; Thu, 17 May 2012 16:55:25 +0200 Message-ID: <1337266542.5146.22.camel@localhost> From: Michael Karcher To: Dom Cassone Date: Thu, 17 May 2012 16:55:42 +0200 In-Reply-To: <3D8AEC86-FEF0-492E-B72E-81E9F1E14796@zacaw.com> References: <1AA8AA3C-D58E-486C-8416-5184B693C639@zacaw.com> <1337200750.29037.70.camel@localhost> <3D8AEC86-FEF0-492E-B72E-81E9F1E14796@zacaw.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2-1 Content-Transfer-Encoding: 7bit Mime-Version: 1.0 X-Originating-IP: 92.204.27.204 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1337266525-00000D73-8FC25312/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.368695, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Benin.ZEDAT.FU-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] Reading NetMD discs X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 14:55:26 -0000 Dom Cassone wrote: > I tried dump_md.py and it sort of worked. However, I think that it was > taking its input from the built-in microphone and not the line in > input. How do I tell dump_md where to get it's input from? You don't tell dump_md where to get the input from, you need to set the default input in the Mac OS System Settings on the Sound page. The same is true for the recording level. That is what I referred to when I was writing > > You need to connect an analog audio cable between the > > minidisc player and your soundcard, and set up the mixer (input > > selection, recording level) before you start that script. Regards, Michael Karcher From Michael.Karcher@fu-berlin.de Thu May 17 18:01:12 2012 Received: from outpost1.zedat.fu-berlin.de ([130.133.4.66]) by list1.zedat.fu-berlin.de (Exim 4.69) for linux-minidisc@lists.fu-berlin.de with esmtp (envelope-from ) id <1SV38Y-0005Xz-Sy>; Thu, 17 May 2012 18:01:10 +0200 Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1SV38Y-00014H-Nu>; Thu, 17 May 2012 18:01:10 +0200 Received: from port-92-204-27-204.dynamic.qsc.de ([92.204.27.204] helo=[192.168.178.20]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1SV38Y-0006ku-Hb>; Thu, 17 May 2012 18:01:10 +0200 Message-ID: <1337270489.5146.30.camel@localhost> From: Michael Karcher To: Dom Cassone Date: Thu, 17 May 2012 18:01:29 +0200 In-Reply-To: <8AAE1165-2E0F-453F-9D4C-2AD0659571C0@zacaw.com> References: <1AA8AA3C-D58E-486C-8416-5184B693C639@zacaw.com> <1337200750.29037.70.camel@localhost> <3D8AEC86-FEF0-492E-B72E-81E9F1E14796@zacaw.com> <1337266542.5146.22.camel@localhost> <8AAE1165-2E0F-453F-9D4C-2AD0659571C0@zacaw.com> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.2.2-1 Content-Transfer-Encoding: 8bit Mime-Version: 1.0 X-Originating-IP: 92.204.27.204 X-purgate: clean X-purgate-type: clean X-purgate-ID: 151147::1337270470-00000D73-44B5E3E7/0-0/0-0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.277922, version=1.2.2 X-Spam-Flag: NO X-Spam-Checker-Version: SpamAssassin 3.0.4 on Gabun.ZEDAT.FU-Berlin.DE X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=ALL_TRUSTED Cc: linux-minidisc@lists.fu-berlin.de Subject: Re: [linux-minidisc] Reading NetMD discs X-BeenThere: linux-minidisc@lists.fu-berlin.de X-Mailman-Version: 2.1.14 Precedence: list List-Id: Mailing list for the linux-minidisc project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2012 16:01:12 -0000 On Thu, 2012-05-17 at 11:39 -0400, Dom Cassone wrote: > One last question…What does it mean when dump_md displays an Hd: > followed by a number. The number changes, and then the Hd: display > goes away. I was not clipping, although I suspect close to it. The display during recording is generated by the recording utility we use, which is the open source program "sox". "Hd:" means "head room" and indicates how much decibels are still left before clipping. It is only displayed when you are close to clipping. > I am VERY grateful to you for your help! is there any better way to thank you? We have a PayPal donate button in the linux-minidisc Wiki on the front page. see https://wiki.physik.fu-berlin.de/linux-minidisc/doku.php If you feel like donating a small amount of money, feel free to do so. Thanks you for your success report, and kind regards Michael Karcher