cybercase / webminidisc Goto Github PK
View Code? Open in Web Editor NEWUpload your Music to NetMD MiniDisc devices thanks to WebUSB and WASM
License: GNU General Public License v2.0
Upload your Music to NetMD MiniDisc devices thanks to WebUSB and WASM
License: GNU General Public License v2.0
I recently acquired a Sharp IM-DR420 NetMD recorder. When uploading a track, it always reports "Error uploading to device" no matter if it's SP, LP2 or LP4.
I have similar problem with netmdcli, so I suppose there is a protocol problem. The device works fine using Sonic Stage and I have USB traces at hand. It would be nice if somebody could point me in the right direction.
A similar issue was created at linux-minidisc/linux-minidisc#65, I don't know where this is best kept.
Hi!
I like the application and use it a lot with my N505.
Recently started to use a N910 and it does not show up in the device list to connect on Windows 10.
On Mac OS 12 on my Mac Mini 2018 it works fine for both the N505 and N910.
Any thoughts?
Willing to share more information when required, please let me know.
Thanks, Emiel
Thanks for adding media tags support! 👍
But unfortunately, they do not seem to work for FLAC files, even though jsmediatags says it supports it.
So I am getting a accessed denied when I hook it up. It does see it, but when it has the hi-md disc in it. However it does work with a regular disc.
I think it would be useful to have a confirmation on the Wipe Disc menu item. This would have the double purpose of:
I'm not sure how often the second point happens, but I know from personal experience that I've clicked "Wipe Disc" a few times when I've been wanting to click "Rename". That's likely down to my pour mouse control or clicking too soon.
I believe that the impact would be relatively small and would only require changing one piece of code. Perhaps simply adding a method in the handleWipeDisc method to prompt for confirmation would be all that is required.
Hi!
Prior to the introduction of drag and drop reordering of tracks, full-width titling and groups it was possible to select all the text inside the application to copy the track titles and lengths as text into the clipboard.
Is there a way to achieve that functionality now? I used it extensively while making copies of music I've found on used MDs to archive them.
Thanks in advance for your help!
I wanted to get a desktop solution for using WebMD instead of using my portable unit. I picket up the NetMD compatible unit the LAM-1. When I select connect I can see the LAM-1 listed as "Net MD - Paired" but choose it I get the error: "Unable to set device configuration."
Is there anything I can do to get this unit to play nice with WebMD?
Can connect to and playback from device no worries.
Hi, thanks for this tool. I'm unable to write to older discs. Getting error: "Error uploading to device. There might not be enough space left." on all discs, including blank discs.
Tried to wipe disc and getting: "Oops… Something unexpected happened."
Player: MZ-N510, Windows 10
The app used to work fine until it froze recording a disc and now no longer works with the below error:
Oops… Something unexpected happened.
Try to restart the app. If the error persists, try the followings:
Use your browser in incognito mode.
Use a blank MiniDisc.
Try to use Web MiniDisc on another computer.
If this does not solve the error, your unit might not be supported yet or you have encountered a bug. The full error is reported in the JS console.
If anyone knows how to resolve it, please let me know (tried clearing cookies, reinstalling the app, incognito window, same result)
This NetMD player has the USB connector on the charge stand, and it doesn't get found by the Web MiniDisc at all - just get a "no supported devices found". The same installation works fine with the sam USB cable on the Sony MZ-N910 (although this one has the USB connector directly on the player itself).
Not sure if this is an issue with drivers, or the USB connector on the device/charge stand, an issue with Web MiniDisc, but if someone have this player, and have gotten it to work, I would love to hear your solution.
The blue add button doesn't appear when you're using Chrome on Windows. Otherwise works perfectly.
OSX 10.11.6 (Max upgrade)
iMac (20-inch, Mid 2009)
Using Chrome Version 83.0.4103.116 (Official Build) (64-bit)
My Sony MZ-N505 Type-R will not complete connection. The error message I get is "Unable To Claim Interface." Anyone have any insights? My MZ-NE410 hooks up just fine, but it has a "NoDisc" issue, and won't read discs. How frustrating.
I've struck a weird problem with an MP3 file where it plays at super-fast speed on the MD.
The source file is a 60 minute (19MB) spoken-word MP3 file with the following characteristics:
Audio file with ID3 version 2.3.0, contains:MPEG ADTS, layer III, v2, 64 kbps, 22.05 kHz, Monaural
Using webminidisc, conversion to WAV seems to work file, and the file downloads to MD fine too but playback is hilariously super-fast (think Chipmunks talking).
I've repeated this using a WAV source (used ffmpeg to convert the MP3 to WAV) and the same thing happens.
I'm clueless about what to do.
Hi,
I'm really excited about this project & looking to source my first MD recorder as we speak (MZ-710).
However, it just occurred to me that a few of the albums I plan to use have seamless/gapless tracks.
Is it currently possible with WebMinidisc to have "gapless" albums transferred (e.g. from MP3's that have no gaps at end/beginning)?
If not, is that something that's possible/could be added to the "Wish List"?
Many thanks
Paul
Hey, thank you for making this! I've made so many discs with it and it's really great.
I was thinking, perhaps it would be neat to have an option to get a web notification when the current queue is done transferring? Especially in SP mode, transfers can take a lot of time.
Not something necessary or high priority, but I believe it would be neat.
After running the npm start command, the console shows such errors:
ookris@webminidisc:~/webminidisc$ npm build
npm WARN build `npm build` called with no arguments. Did you mean to `npm run-script build`?
ookris@webminidisc:~/webminidisc$ npm run-script build
> [email protected] build /home/ookris/webminidisc
> react-scripts build && cat public/extra-service-worker.js build/service-worker.js > build/final-service-worker.js
Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run the following command: `yarn upgrade`
<--- Last few GCs --->
[18821:0x3ac7e20] 209171 ms: Scavenge 485.6 (492.8) -> 485.2 (493.0) MB, 5.8 / 0.0 ms (average mu = 0.163, current mu = 0.011) allocation failure
[18821:0x3ac7e20] 209178 ms: Scavenge 485.9 (493.0) -> 485.4 (493.5) MB, 4.5 / 0.0 ms (average mu = 0.163, current mu = 0.011) allocation failure
[18821:0x3ac7e20] 210006 ms: Mark-sweep 486.2 (493.5) -> 482.6 (493.5) MB, 825.0 / 0.0 ms (average mu = 0.165, current mu = 0.167) allocation failure scavenge might not succeed
<--- JS stacktrace --->
==== JS stack trace =========================================
0: ExitFrame [pc: 0x140a859]
1: StubFrame [pc: 0x13eb1bb]
Security context: 0x1005957008d1 <JSObject>
2: split [0x10059570cd51](this=0x0a215e4f2029 <String[95]: /home/ookris/webminidisc/node_modules/@material-ui/lab/esm/ToggleButtonGroup/isValueSelected.js>,0x0a215e4f4dc1 <JSRegExp <String[#3]: \/+>>)
3: normalize [0xefcd8bde521] [/home/ookris/webminidisc/node_modules/source-map/lib/util.js:~80] [pc=0x3d047960b1da](this=0x...
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 0xa18150 node::Abort() [node]
2: 0xa1855c node::OnFatalError(char const*, char const*) [node]
3: 0xb970be v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
4: 0xb97439 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
5: 0xd546b5 [node]
6: 0xd54d46 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
7: 0xd61605 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node]
8: 0xd624b5 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
9: 0xd64f6c v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
10: 0xd2b98b v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
11: 0x106df5e v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
12: 0x140a859 [node]
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `react-scripts build && cat public/extra-service-worker.js build/service-worker.js > build/final-service-worker.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/ookris/.npm/_logs/2021-02-13T19_51_50_242Z-debug.log
2021-02-13T19_51_50_242Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'run-script', 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle [email protected]~prebuild: [email protected]
6 info lifecycle [email protected]~build: [email protected]
7 verbose lifecycle [email protected]~build: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]~build: PATH: /usr/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/ookris/webminidisc/node_modules/.bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle [email protected]~build: CWD: /home/ookris/webminidisc
10 silly lifecycle [email protected]~build: Args: [
10 silly lifecycle '-c',
10 silly lifecycle 'react-scripts build && cat public/extra-service-worker.js build/service-worker.js > build/final-service-worker.js'
10 silly lifecycle ]
11 silly lifecycle [email protected]~build: Returned: code: 1 signal: null
12 info lifecycle [email protected]~build: Failed to exec build script
13 verbose stack Error: [email protected] build: `react-scripts build && cat public/extra-service-worker.js build/service-worker.js > build/final-service-worker.js`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:314:20)
13 verbose stack at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:314:20)
13 verbose stack at maybeClose (internal/child_process.js:1022:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:287:5)
14 verbose pkgid [email protected]
15 verbose cwd /home/ookris/webminidisc
16 verbose Linux 4.15.0-135-generic
17 verbose argv "/usr/bin/node" "/usr/bin/npm" "run-script" "build"
18 verbose node v12.20.2
19 verbose npm v6.14.11
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] build: `react-scripts build && cat public/extra-service-worker.js build/service-worker.js > build/final-service-worker.js`
22 error Exit status 1
23 error Failed at the [email protected] build script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Hi folks,
I have a windows 10 PC, I access the Web Minidisc app using Chrome but the app doesn't detect my MZ N710 when I click connect.
Ironically the app detects my HI MD recorder (even though it provides an access denied), which I understand to be a USB issue.
Can anyone help me please?
Thank you.
thank you mate for being
how can see mine minidisk n510
Hi there,
Hal has been deprecated in Fedora since at least F16 and therefore when following;
https://github.com/glaubitz/linux-minidisc/tree/master/netmd/etc
You have nowhere to put 20-netmd.fdi as /usr/share/hal/fdi/information/20thirdparty/ doesn't exist.
Does this need to be used in current versions of Fedora or is this file no longer used?
Thanks!
Sometimes the encoder will just hang on a file - this is unavoidable AFAIK, as the encoder still isn't perfect for eg. LP4. When this happens the only way forward is to back out of the app and go back into it. It would be nice if the app handled this better.
MZ-RH1 has track upload with downloadhack.py. It's buggy but works.
Can you support it?
Maybe also MP3 to pc (Hi-MD).
Hello,
I get the "Oops… Something unexpected happened." when trying to use the LAM-Z05 (USB ID: 054c, 0101 ). I have tried the device on a seperate computer and the issue persists. I have even tried the netMD testing app for decks (https://github.com/deenine/netmd_test) and it seems to work without issue. Here is the output:
Found NetMD: Bus 003 Device 023: ID 054c:0101 Sony Net MD
Found 1 netmd_devs
Acquire Device ....OK
Get Status ....OK
Get Disc Flags ....OK
Get Disc Title ....OK
Sex & Food
Get Disc Capacity ....OK
Time used: 00:43:40+000 (53.92%)
Get Track Count ....OK
12 tracks
Get Length track 2 ....OK
Get Encoding Track 2 ....OK
Get Flags Track 2 ....OK
Move Track 1 to Track 2 ....OK
Play ....OK
Skip forward ....OK
Pause ....OK
Play ....OK
Get position ....OK
Stop ....OK
Enter Secure Session ....OK
Get Leaf ID ....OK
Leave Secure Session ....OK
Release Device ....OK
I am kind of at a loss to why this is happening. The LAM-Z03 (pretty much the same thing) is supposed to function without issue.
per the UTOC layout at https://www.minidisc.org/md_toc.html, minidisc titling (half-width) is limited to 1785 characters total. I managed to hit this on my mz-n707 and started having issues uploading additional tracks.
would it be possible to keep track of this usage and possibly warn/alert if you're near the limit?
Can you support Hi-MD?
-MP3download.c is already in the original linux-minidisc repo. Standard XOR encryption. Works with Zadig driver.
-ATRAC3 / 3+ will be harder since Atracdenc only supports Atrac3 for now, not yet 3+ (Hi-SP / Hi-LP)
Hi.
I've tried transferring tracks from my Samsung tablet.online & offline .
To mz nhf800 & mz n505 .but unable to do so .
Disc erase & inserting disc title works fine.
Kindly help if any one faced the same problem & resolved.
Thank you
The SonicStage software allows the creation of folders/groups. It'd be nice to have this as a feature.
First of all thank you for this initiative! I'd love to be able to download files from my MZ-RH1 digitally, would that be a possibility?
suddenly got
title.flac: Error uploading to device. There might not be enough space left.
md n710. recording via line-in is working.
Hi,
would it possible to add CUE support?
I read somewhere that Atrac/Minidisc support Gapless through TOC. would it be possible to add a full album/single file then convert CUE as TOC information?
Thanks for the great code! Magic! Is there any method of using this offline on an android phone?
Hello!
I’ve noticed that the tracks recorded with the record function from my Net MD unit are 48 kHz .wav files, however, MiniDisc holds audio at 44.1 kHz
This is despite my Line In being set at 44.1 kHz (see pictures)
I don’t know if I’m doing something wrong, or if it’s just Web MiniDisc’s recording’s encoding doing that by default.
If this is the latter’s case, I think it would be nice if Web MiniDisc recorded audio at the sound input’s sample rate if possible, as the result file would be slightly smaller if encoded at 44.1 kHz in the first place, and also given that upsampling/downsampling between 44.1 and 48 kHz is a lossy process.
Thank you for your consideration! And once again thank you very much for your work.
Hi there,
I noticed a bug when naming titles using half-width katakana. Words that contain a dakuten ゛
or handakuten ゜
like ロンドン
or キャプテン
should be transliterated into ロンドン
and キャプテン
respectively. However, any daktuen or handakuten will be omitted (resulting in ロント ン
and キャフ テン
). However, regular full-width kana and kanji seem to work just fine.
On a different note, please let me express HOW HAPPY I am about this brilliant piece of work.
Thank you so much for your effort, Stefano!
Really neat app to update MD's. Would it be possible to update it so that if you edit a track name it goes to the next track when you press enter?
As an aside, is there a way to give you something for your efforts. Really appreciate that this app exists.
Hi,
I found another minor issue. I ripped a CD without gaps between tracks (any live CD will have the same issue). I used EAC to extract the files into the WAV format. I have written the tracks in SP mode to MD.
When playing the MD there now is a small gap between the tracks. Nothing critical, the gap is very short, but hearable.
All my early MD units and my full size decks would date and time stamp the recordings, could this be implemented ?
Mozilla's stance is that webUSB should be avoided. Is there an option to isolate the processing that webminidisc does so that my minidiscs don't get a virus?
I feel like it would be helpful if "Title - Artist" was a choice for naming songs added.
Also, any idea why some songs end up showing as Unknown Title but are titled in iTunes ?
When I try to transfer .wma files to 74 min blank disc, this message is shown
Error uploading to device. There might not be enough space left.
I use MZ-N920.
Thanks so much for this beautiful piece of software. Really enjoy it.
My request would be an option to change the text from lowercase to uppercase with the touch of a button. Now I find myself retyping everything ;-)
Not sure if you think that this is a good idea, but I feel like I usually do SP recording, so for me, having the SP selected by default makes sense. What could be done is using localStorage to store the setting for mode and title, so it will remember what you used last.
Hello,
I am trying to connect my recorder to this software. The unit is 'seen' but when I click on 'NetMD' the programme greys out and a wheel turns as though it is trying to connect but never does. Can this be overcome?
Thanks all,
Ad
Thanks for this, it's amazing!
Can you add the ability to delete a track? Thank you.
真夜中のジョーク.mp3
https://stefano.brilli.me/webminidisc/
and click connect
真夜中のジョーク.mp3
I have an assumption that either the JS version of FFMPEG used doesn't support non-Roman characters, or that there is some WebAssembly magic happening which wipes out the non-Roman characters.
Hi,
when trying to change disc title I get an "Oops" message with above stated NetMD recorder.
OS is Windows 10 PRO. Writing tracks, editing track title works. So this is not the end of the world, but maybe this can be fixed.
store.ts:16 Error: Rejected
at t [as constructor] (netmd-interface.ts:101)
at new t (netmd-interface.ts:113)
at e.<anonymous> (netmd-interface.ts:182)
at 2.958ae84d.chunk.js?__WB_REVISION__=78f1097eea47067158d7:2
at Object.next (2.958ae84d.chunk.js?__WB_REVISION__=78f1097eea47067158d7:2)
at o (2.958ae84d.chunk.js?__WB_REVISION__=78f1097eea47067158d7:2)
(anonymous) @ store.ts:16
Thanks for such great software!
Jörg
Any chance for a DSF file support? At the moment file browser doesn't recognise those files at all. DSF files work in Platinum-MD so I think it should be possible feature.
I was wondering if support for 24-bit audio could be added, at least for SP mode? I know that type-R and later recorders can do 24-bit through the optical, but I'm not sure if Sony's NetMD protocol is limited to 16-bit.
Edit: As a followup, I think every NetMD (released 2001) recorder is type-R (released 1999). So hopefully that indicates it could be supported.
Hello! First of all I want to thank you for making this app, I’m new to the MD world and I found it really easy and seamless to use, which to my understanding wasn’t much the case before
I’m writing this issue to suggest that, when recording a track, instead of naming the resulting file "wav.wav", it would instead be named "[track name].wav" or if it doesn’t have a title, something like "track [number].wav", so that risks of overwriting is lower when archiving a lot of minidiscs. I’m currently archiving a lot of unique and personal things recorded on MD, and it would definitely make things easier.
Thanks for your consideration, and have a nice day!
I have a brand-new, blank 74 min disc. I can't even copy a single, 3 min track without getting this error. I've tried from both FLAC and mp3 source files. It will convert and start copying, then fail about half way through. It also presents an error saying "The disc's title seems to be corrupted, do you wish to erase it? None of the tracks will be deleted."
Here is the full Chrome console output:
https://pastebin.com/GBfNVMU5
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.