Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Castanets w/ ATRAC Type-R (Read 9922 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Castanets w/ ATRAC Type-R

In the following thread, I tested ATRAC Type-R's performance on a castanet sample. At the request of Guruboolez, I've uploaded the Type-R encoding and the original, both edited to be the same length (and normalized).

((EDIT: Please scroll down to KikeG's reply for an edited download of the clip))

Castanets w/ ATRAC Type-R

Reply #1
The ATRAC-R sample phase is inverted compared to the original.

Edit: also,  the left channel of the ATRAC-R sample is 0.7 dB louder than the original.

Edit: removed "warning". from message, see below.

Castanets w/ ATRAC Type-R

Reply #2
If that was the only difference between two samples, would it be ABX'able in itself?

Castanets w/ ATRAC Type-R

Reply #3
Quote
If that was the only difference between two samples, would it be ABX'able in itself?
[a href="index.php?act=findpost&pid=230245"][{POST_SNAPBACK}][/a]


Really, it shouldn't.  I shouldn't had written "warning", sorry. But the 0.7 dB channel difference maybe could be ABX'able by itself. (*)

(*) Edit: I don't know if replaigaining fixes channel imbalance.

Castanets w/ ATRAC Type-R

Reply #4
Quote
(*) Edit: I don't know if replaigaining fixes channel imbalance.
[a href="index.php?act=findpost&pid=230247"][{POST_SNAPBACK}][/a]


I hope not. Surely, if a change is made by replaygain it's done to both channels.
daefeatures.co.uk

Castanets w/ ATRAC Type-R

Reply #5
Hmmm, that's interesting. I wonder what happened when I capured the sample in Audacity? Unfortunately, I don't have a digital input on my laptop soundcard, so the capture had to be via the line-out of the recorder (set on 'line out" mode to bypass the internal amp).

In any case, I've checked the ATRAC sample and I can't perceive a difference in volume or phase, but that's definitely a (possible) confound variable in the tests. I also guess it depends how you attempt to ABX the sample...I wasn't listening for a "difference," per say, but a specific type of artifact between 2 and 3 seconds. That's probably also why I didn't notice the smearing that Guruboolez heard on the guitar part of the passage.

If the sample is not satisfactory from a research standpoint, would somebody else with better equipment be willing to encode the castanets sample digitally and upload it?

Castanets w/ ATRAC Type-R

Reply #6
Here is the ATRAC-R sample time and level-aligned, both channels. There's not much difference from my point of view.

Castanets w/ ATRAC Type-R

Reply #7
Quote
Here is the ATRAC-R sample time and level-aligned, both channels. There's not much difference from my point of view.
[a href="index.php?act=findpost&pid=230348"][{POST_SNAPBACK}][/a]


Thank you, Kike G. 

For the future, what might I do differently to avoid this from happening again? Or are the problems possibly a function of the line-out of the recorder and line-in of my soundcard?

(Edit: I removed the mis-aligned version from the top of the thread and directed readers to the corrected clip)

Castanets w/ ATRAC Type-R

Reply #8
How about ABX'ing ATRAC3plus? Bitrate is a bit lower though at 256kpbs instead of 292
Right now I don't have any sophisticated wav editor so I can only record and trim...

Castanets w/ ATRAC Type-R

Reply #9
Quote
How about ABX'ing ATRAC3plus? Bitrate is a bit lower though at 256kpbs instead of 292
Right now I don't have any sophisticated wav editor so I can only record and trim...
[a href="index.php?act=findpost&pid=230462"][{POST_SNAPBACK}][/a]


I can't personally test ATRAC3plus because a) I am on OS X and Sonicstage crashes when one tries to encode under VPC 6.1, and b) I don't own a "Hi-MD" recorder and wouldn't buy one anyway  . So, if you'd like me to ABX some samples, you'll have to encode them in SonicStage 2.0 and upload them to the board. It would make for an interesting test, though.

Castanets w/ ATRAC Type-R

Reply #10
Like I said, I can upload a non-corrected sample
Anyone can "fix" it for me?

Castanets w/ ATRAC Type-R

Reply #11
Quote
For the future, what might I do differently to avoid this from happening again? Or are the problems possibly a function of the line-out of the recorder and line-in of my soundcard?


It's possibly your sound card or the MD inputs, or a combination of both.

Quote
(Edit: I removed the mis-aligned version from the top of the thread and directed readers to the corrected clip)


I'm posting here your original castanets sample, because it's time and level-aligned with the ATRAC-R sample, and the PCABX sample is not.

Castanets w/ ATRAC Type-R

Reply #12
Quote
Like I said, I can upload a non-corrected sample
Anyone can "fix" it for me?
[a href="index.php?act=findpost&pid=230602"][{POST_SNAPBACK}][/a]


I can.

Castanets w/ ATRAC Type-R

Reply #13
Quote
It's possibly your sound card or the MD inputs, or a combination of both.


[a href="index.php?act=findpost&pid=230656"][{POST_SNAPBACK}][/a]


Ok, but I guess my question is a) using Audacity, how might I detect these errors, and b) how might I correct them. I wanted to encode a bunch of killer samples, but I need to figure out how to get accurate samples from my equipment.

Thank you very much for all your help with the samples, posting new ones, etc. 

Castanets w/ ATRAC Type-R

Reply #14
The castanets.wav sample encoded with SonicStage 2.0 on ATRAC3+ at 256 kbps.

Note that this file was generated by dlb for his unlucky listening test:
http://www.hydrogenaudio.org/forums/index....c=20485&hl=test

ATRAC3+ at 256 kbps is replacing ATRAC (type-R) at 292 kbps on modern MD device.
Wavpack Hybrid: one encoder for all scenarios
WavPack -c4.5hx6 (44100Hz & 48000Hz) ≈ 390 kbps + correction file
WavPack -c4hx6 (96000Hz) ≈ 768 kbps + correction file
WavPack -h (SACD & DSD) ≈ 2400 kbps at 2.8224 MHz

Castanets w/ ATRAC Type-R

Reply #15
Quote
The castanets.wav sample encoded with SonicStage 2.0 on ATRAC3+ at 256 kbps.

Note that this file was generated by dlb for his unlucky listening test:
http://www.hydrogenaudio.org/forums/index....c=20485&hl=test

ATRAC3+ at 256 kbps is replacing ATRAC (type-R) at 292 kbps on modern MD device.
[a href="index.php?act=findpost&pid=230681"][{POST_SNAPBACK}][/a]


 

I'll put the results of my ABX in a seperate thread. ATRAC3plus was exceedingly easy to ABX, 20/20. Sony, are you listening? 

Castanets w/ ATRAC Type-R

Reply #16
a little off topic. what about the atrac dsp type-s?

Castanets w/ ATRAC Type-R

Reply #17
Quote
a little off topic. what about the atrac dsp type-s?
[a href="index.php?act=findpost&pid=230741"][{POST_SNAPBACK}][/a]


ATRAC Type-S is just a combined, one-chip DSP for the ATRAC Type-R codec used for SP mode and the ATRAC3 codec used for MDLP modes, so there's nothing new to test. Supposedly, Type-S increases the SNR of LP2 and LP4 encodings by 6dB upon playback, but doesn't offer any improvement for SP encodings.

Castanets w/ ATRAC Type-R

Reply #18
Quote
a) using Audacity, how might I detect these errors, and b) how might I correct them. I wanted to encode a bunch of killer samples, but I need to figure out how to get accurate samples from my equipment.


I use Cool Edit Pro, now called Adobe Audition, but I'm afraid I haven't ever used Audacity. CEP has a feature called "synchronize cursor across windows", which means that when you have several waves loaded, they all are represented on same time-basis, that is, using same time-axis zoom, and same zoomed area. This helps quite a bit on the process, but is not essential.

First thing you need to do is verify that samples are same phase. That can be done by looking at both waves on time domain, with low or no zoom, on some parts containing non-symmetrical shapes, and comparing similarity of those shapes "by eye". Of course, they must be same parts on both waves. Non symmetrical means that the part of the wave that is over zero is distinctively different from the part that is below zero. Look and compare at different parts of both waves, in order to verify that those shapes are similar, or are inverted vertically. If phase is inverted in one, just invert the whole sample so that phase is the same in both waves, and verify that shapes are now similar.

Now, once phase is the same in both samples, you must time-align both samples with precision. I believe ABC/HR Java tool can calculate time offset difference on two samples, so this might help you. However, I don't use it. I time-align samples also by hand, by zooming some characteristic part of one of the samples (some peak that is easily identifiable, for example), and then, locating that part in the other sample. Then, I calculate the difference in samples using the cursors (thanks to the fact that both samples are time-synchronized in CEP). Then I see which sample is delayed with respect to the other, and and delete the calculated nº of samples in it, so that the delay is reduced to zero. Another way of achieving this is deleting some samples "by eye" on the delayed sample, several times, until it is no more delayed with respect to the other. Ideally, this process should be done at last with a precision of just 1 sample, zooming the waves as needed, but if the precision is of a few samples if can be ok too.

Now, the level-align issue. For this, after some experimentation, I have found that the more reliable and easiest method is what follows. First, you need to create, with the time-aligned samples, two new wave files, one with both left channels of the two samples to level-align, and another with both right channels. I do this by simply using copy & paste on a new blank wave file (of the same freq. and nº of bits than the samples at issue). So, I create first the left-channels new wave file. Then, I perform a FFT (spectral view or "Frequency Analysis" in CEP) of this new sample. Then, I can see a frequency graph of both left and right channels of this new sample at same time, being those left and right channels the left channels of the two samples to align. In order to have a good picture of levels vs. frequency in both channels, I use logarithmic view ("linear view" not checked), a  FFT size of 1024 points, a Blackmann, Blackmann-Harris or Hanning window (this doesn't matter much), and I average ("scan" in CEP) a portion of the wave with some loud content, in order to have an averaged, smoothed frequency graph. In case of castanets sample, I scanned the 4 castanets part of the sample. I use a dB range of around 40 dB or less, for a good visualization of small level differences. Then you should see that left and right channel graphs have nearly same shape, but being one of them displaced a few dBs of fractions of dB over the other. If they totally overlap, they are same level. However, for having best resolution of level differences I just take readings from the cursors at a several parts of the spectrum that are high amplitude, between say 100 and 5000 KHz, and just calculate the difference. Difference on those parts should be the same, or very similar. That difference is the level difference between both left channels of the samples, you must annotate it. If level difference is below or around 0.1 or even 0.2 dB, then it's ok, no corrections are needed. Then, repeat same process for right channels, and annotate difference. Of course, you must take note of which sample is louder, and such.

Here I post a screenshout of this last step. There's a 0.4 dB difference between both left channels of the samples at issue (in the graph, between left and righ channels). The reading is at 366 Hz.
[/quote]
I just wanted to help, thanks.

 

Castanets w/ ATRAC Type-R

Reply #19
Wow....that's a lot of info.  Thanks! Now I have to figure out if this stuff can be done in something like Audacity. The problem is that I'm on Mac OS X (and am very poor, being a student), so I am pretty much limited to it as opposed to payware. If I upload any more samples, I'll be sure to follow your advice and hope that you'll take a look at them to make sure they are ok. I've already found a few samples that I may want to try out, though the outcome is pretty much assured already 

I'm getting the impression from the many negative reviews I read of NetMD and the newer Hi-MD (in addition to the fact that a search on many MD forums shows many iPod converts) that MiniDisc is in its twilight as a format, so any further testing is just to quell people's curiosity.