Git Product home page Git Product logo

netmd-js's People

Contributors

aaronamm avatar andyboeh avatar asivery avatar blttll avatar cybercase avatar dependabot[bot] avatar fgallop avatar guerrerocarlos avatar thp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

netmd-js's Issues

Will there be support to decrypt OMG files?

Dear Asivery

Many years ago I recorded my own concerts with a Sony Minidisc and then transferred the audio to a Windows PC (using the Software Sonic Stage) as *.OMG file.
What I did not know by then was, they I needed to save the key which was hidden and stored on the Windows PC.
Nowadays I can no longer play these files.
Are you planning to work on OMG-files as well?

Unable to access MDS-NT1 with web minidisc

Hello,

I posted in the web minidisc github about this, but it seems like it would best fit here.

My MDS-NT1 is unable to be accessed by the web minidisc application. It is visible, and I can start a connection, but it ends up with just a grey spinning circle forever.

It was mentioned that the vendor and product ID may help, they are as follow:
VendorID: 054c
ProductID: 0081

If I can help out in any other way please let me know.

Unknown Device for Sony CMT-M333NT/M373NT

Would you be able to add Sony CMT-M333NT/M373NT bookshelf unit for device identification?

{ vendorId: 0x054c, deviceId: 0x00e7, name: 'Sony CMT-M333NT/M373NT' }

All functions seem to work fine on this unit so I don't think anything else is needed.
Thanks for your great work on this project.

Does ATRAC compression happen inside a Sony recorder?

Hello everyone

I would like to make sure if ATRAC compression happens inside a Sony recorder?
Given this example:
I have uploaded a raw PCM with 16bit depth, 44100 Hz sampling frequency to a Net MD recorder with the following command.

netmdcli upload song.raw -f sp

I can play a song on a disc without any issues.
I am pretty sure an ATRAC compression happens inside a Net MD recorder.
However, I would like you to confirm if a Net MD recorder does ATRAC compression and netmdcli does nothing about ATRAC compression.

why does the MD device require a 16bit/44.1khz input file for recording in SP mode? If there is Net MD specification, I would be glad if you could show it to me.
FYI, I have uploaded a WAV file with 16bit depth, 44100 Hz to a Net MD recorder (bypassing Web MiniDisc) and it worked as well.

According to this question, if ATRAC compression happens inside a Sony recorder, will recording 1:1 with optical input produce the same result as Net MD recording?

Given this scenario:

  • We use a recorder that supports both optical input recording and Net MD recording, e.g. Sony MDS-S500.
  • We use a wav file 16bit depth, 44100 Hz as an input file for both two methods.
  • We write the input file to a CD and use a CD player to get optical out for 1:1 optical input recording.
  • We upload the input to a recorder with netmdcli and SP mode.

Are two ATRAC outputs on an MD identical or bit by bit match? If not, will it be very different that we can detect by our ears?

Thank you so much.

Feature Request: German Umlaut Transliteration

When importing music from a file, it would be super helpful to have Web MiniDisc automatically transliterate German umlauts and the ß-ligature as follows:

  • Ä → Ae
  • ä → ae
  • Ö → Oe
  • ö → oe
  • Ü → Ue
  • ü → ue
  • ß → ss

For instance, Hey, süßes Mädchen! should become Hey, suesses Maedchen!.

Unfortunately I don't know about the rules for umlauts in Turkish or Norwegian e.g., but German with its seven diacritics in total should be a quick fix, and the transliterations given above are the official German rules when diacritics aren't available in a typeface.

Thanks!

Please update netmd-js to support Victor SS-NT1MD.

Hello everyone,

My friend has just got Victor SS-NT1MD which is a Net MD component set.
However, Web MiniDisc does not support it.

I added a venderId and deviceId of this model to netmd.ts file with the following code:

    { vendorId: 0x04F1, deviceId: 0x6101, name: 'Victor SS-NT1MD' },

It works well with yarn run cli devices (I have updated the project on my local computer to use Yarn) and shows the connected device name as:

PS C:\projects\netmd-js> yarn cli devices      
yarn run v1.22.15
$ ts-node src/cli.ts devices
Found Device: Victor SS-NT1MD
Done in 3.28s.

However, when I tried to wipe a disc with yarn cli wipe --verbose, I got this error message.

NetMDRejected [Error]: Rejected
    at NetMDRejected.NetMDError [as constructor] (C:\projects\netmd-js\src\netmd-interface.ts:128:9)
    at new NetMDRejected (C:\projects\netmd-js\src\netmd-interface.ts:140:9)
    at NetMDInterface.<anonymous> (C:\projects\netmd-js\src\netmd-interface.ts:314:23)
    at step (C:\projects\netmd-js\src\netmd-interface.ts:46:23)
    at Object.next (C:\projects\netmd-js\src\netmd-interface.ts:27:53)
    at fulfilled (C:\projects\netmd-js\src\netmd-interface.ts:18:58)
error Command failed with exit code 1.

The NetMDRejected exception was thrown when reading a reply status in
https://github.com/cybercase/netmd-js/blob/master/src/netmd-interface.ts#L314

In addition, I couldn't upload a raw music file to the device and got the same error message as:

NetMDRejected [Error]: Rejected
    at NetMDRejected.NetMDError [as constructor] (C:\projects\netmd-js\src\netmd-interface.ts:128:9)
    at new NetMDRejected (C:\projects\netmd-js\src\netmd-interface.ts:140:9)
    at NetMDInterface.<anonymous> (C:\projects\netmd-js\src\netmd-interface.ts:314:23)
    at step (C:\projects\netmd-js\src\netmd-interface.ts:46:23)
    at Object.next (C:\projects\netmd-js\src\netmd-interface.ts:27:53)
    at fulfilled (C:\projects\netmd-js\src\netmd-interface.ts:18:58)
error Command failed with exit code 1.

I think adding a venderId and deviceId is not enough, we may need to deal with a low level API to get this work.
I hope you can help to me get Victor SS-NT1MD works with netmd-js.
Thank you so much.

FYI, here is a picture of Victor SS-NT1MD.
277458684_401921838438468_1179207107126513485_n

CC @asivery

NH600D listed with USB ID of 0187

Just got a NH600D for testing, and somehow it has an ID of 0187 (as reported by Zadig), which is not 0186 as listed within netmd.ts. Much appreciated if you can look into this.

Add Kenwood MDX-J9 to the list?

Hi can you add the Kenwood MDX-J9 to the netmd.ts
Here is the PID and VID

Device Address : 5
Manufacturer : Kenwood Corp.
Device Name : Net MD
Vendor Id : 2856
Product Id : 4100

Those are from Platinum MD. from the Google Device Log it loks like this

USB device added: path=\?\usb#vid_0b28&pid_1004#6&2b607cbb&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed} vendor=2856 "KENWOOD ", product=4100 "Net MD ", serial="", driver="WinUSB", guid=03fa1357-45e6-43be-9195-b74e9f8265f3

Failed to build

How to reproduce:

npm install
npm run build

Error Output:

8299 verbose stack RangeError: Maximum call stack size exceeded
8299 verbose stack     at RegExp.test (<anonymous>)
8299 verbose stack     at isDepOptional (/usr/local/lib/node_modules/npm/lib/install/deps.js:421:27)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:437:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8299 verbose stack     at failedDependency (/usr/local/lib/node_modules/npm/lib/install/deps.js:453:9)
8300 verbose cwd /Users/carlos/Repositorios/netmd-js
8301 verbose Darwin 19.4.0
8302 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"
8303 verbose node v12.16.2
8304 verbose npm  v6.14.4
8305 error Maximum call stack size exceeded
8306 verbose exit [ 1, true ]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.