Sunday, 8 September 2019

Recovering a corrupted wave file

I was trying to edit a wave file today, but in Audacity it was just silence. In VLC and other audio players when you pressed play it would just stop immediately, as if the file had no length. The file was about 1GB in size, and when opened in a hex editor it certainly looked like it was full of data (i.e. not just NUL bytes).

In researching how to open / recover the file, I found this very helpful video: Fix a Corrupt Wav Audio File in Audacity - Data Recovery Using VLC. The guide there says that in Audacity you need to go to File > Import > RAW. Then to find the settings needed, check the file's properties in VLC.

Unfortunately for me, VLC didn't give any information about the file's properties / codec. I have other WAV files recorded using the same setup, so I loaded one of those into VLC, but it still didn't give any information. Thankfully using foobar (and a previously recorded working file), I did manage to get the required information. (Though it didn't give me the endianess, but there's only 4 different options to try for that anyway).

Whereas in their video an offset of 100 bytes gave them the desired result, I still got static with that offset. But with an offset of 80 bytes, the file imported okay. Initially I thought it hadn't worked, and had just opened the file as silence, but once I Ctrl + F'd to view the full file, I could see it had imported okay, it was just the first minute or so of the file was silence.

Sunday, 4 August 2019

Odd case pricing on whybuynew.co.uk

After finishing repairing my Akai APC40 mk. 1 yesterday, I was looking for a suitable case for it. whybuynew.co.uk sell a range of 'Gorilla' branded flight cases that are suitable for DJ equipment, at quite competitive prices compared to most other DJ flight cases I've seen.

They sell generic cases, and then they also list the same generic cases as separate items for popular equipment that the cases fit. But the pricing between these doesn't always match up, despite being exactly the same case. If you look at the screenshot below, I've circled one design of case in red and another in blue.

As you can see, the 'Small DJ controller' case and 'Ableton Push' case are both the same, and the same price at £40. But for £10 less you can pick up the same case, only sold as a 'DSLR camera' case. Similarly, you can pick up a 'Medium DJ controller' case for £55, but if you instead go for the same thing but sold as being for a specific controller model, you can save £10 and get it for £45 instead.

Personally, I'm not going to but any case at the moment (there are two I want, and both are just sold as generic ones), but am hoping eBay will do a 10-20% discount off everything again at some point, then will purchase the cases via whybuynew's eBay store.

Saturday, 3 August 2019

Replacing faders on Akai APC40 Mark 1

I purchased an Akai APC40 Mk I from eBay that had several broken faders. In hindsight, given the amount of time it took me to repair it, I would have been much better off to just pay the extra money for a fully working one. However, this is mainly because I'm not experienced at soldering / solder removal. I guess at least it gave me some useful experience with this, and it is more environmentally friendly to get it back to working order than just have it thrown away.

First off, there is a very useful video on youtube that covers how to replace a fader on the APC40: Akai APC40 Volume Fader Replacement

I spent quite a while trying to find the replacement faders for the APC40 at a reasonable price. The easy solution is via MPCStuff.com, where you can just select a replacement fader for the APC40 mark 1, i.e. be sure you are getting the right item.

After quite a bit of research I determined that what I probably needed was a 6cm length Dual 10K linear Slide Potentiometer. I purchased this set of 5 For pioneer AKAI Mixer B10K B103 Straight Slide Potentiometer Fader / Total Length 60mm Travel 45mm / Stereo Fader B10Kx2 for $12.10 and 1PCS ALPS 6CM B10KX2 10K DJM600 600 439C-10KBX2 DCV1010 Slide Potentiometer for $4.07. The ALPS branded one seemed to be a good quality one, while the others are much cheaper. So I thought with both, if the cheap ones were no good I could at least test the ALPS one and then order more if necessary.

The set of 5 cheap B10KX2 slide pots arrived within a couple of weeks. As I mentioned earlier, removing the old faders was very difficult, at least initially. To go through the full process (as per the video above):

  1. Remove all knob caps, nuts, and washers from the top of the APC40. Also remove the fader knobs.
  2. Remove all screws from the bottom, including the ones under the rubber feet.
  3. Remove the removable fader
  4. Remove the back of the unit, being careful with the cables attached to the main circuit board
  5. Remove all screws from the main circuit board.
  6. Take the main board out, disconnect the ribbon cable and the other connector from the board on the bottom of the unit if you haven't already.
  7. Use a solder wick and soldering iron to remove the solder from all the pins of the fader you need to replace. This is where I had a lot of trouble - I think the first solder wick I tried wasn't pre-treated with flux. I also found it easier after switching to a different soldering iron with a pointed tip instead of the wider chisel tip I was using to start with. You need to place the solder wick over the fader pin / leg, then hold the iron tip against the wick, pushing down onto / against the solder. The wick should then soak up the solder when it melts. It took several passes of each pin to soak up all the solder. Once the solder was removed from all the fader's pins it also required quite a bit of tugging and twisting the fader with some pliers to remove it.
  8. Once the old fader is removed there might still be some solder left in the holes you'll need to soak up to make it easier to insert the legs of the new fader.
  9. Insert the new fader. Temporarily hook back up the cables to the main board, connect the power and USB and check your new fader is working.
  10. (Optional) Solder the new fader in place. I found the faders worked fine and held fast without being soldered. And given how much work it was to unsolder the old faders, I just left them unsoldered - it will make them easier to replace again in the future if necessary.
  11. Screw everything back together, put all the washers, nuts, knobs, and caps back on.

For testing the faders, I used MIDIOX - this lets you see the midi signals sent as you move / press midi controls. I found that I was getting constant signals on channel 8's fader even when it wasn't being moved. I had already used my 5 cheap faders in replacing the broken faders (on ch 1-5) at this point, and the ALPS branded fader hadn't arrived. So I just removed the channel 8 fader and left it empty. In testing in Ableton Live I then found that the faders all worked okay, except that the channel 7 fader was also adjusting channel 8's volume.

I messaged Akai Support about this - I wasn't sure if the problem was a dodgy fader on channel 7, the fact that the channel 8 fader was missing, or a problem elsewhere on the board in how the signals from the channel 7 fader were being interpreted. I haven't had a reply from them yet, but thankfully the other fader arrived today. So I fitted that, and it seems to have fixed the issue.

I did find that the first part of the fader movement (at either end, but particularly at the bottom) has no effect. The movement also seems rather jumpy at the bottom end. But this is the same for the original faders.

This pic shows the board with the new faders fitted - channels 1-5 are the cheap ones, 6-7 are originals, 8 is the ALPS one, and the last one (master) is an original.

This next pic shows some of the replacements from the underside - you can see I only soldered one in, and you might also notice the board is a bit messed up around this one - it was the first one I did and took me absolutely ages.

This last pic shows the original channel 8 fader I removed (this one was the one sending out constant signals, all the others I removed had the control 'stick' broken off).

Hopefully this helps if you are wanting to replace damaged faders on your mark one APC40.

Saturday, 27 July 2019

UDG Creator Ableton Push 2 Hardcase Black U8442BL - not really a review

I recently purchased an Ableton Push 2 from eBay that came with this carry case included with it. Fitting the Push 2 into it, it seemed like the case was pretty pointless. So I searched for it to see if others' opinions were the same, or there was some 'reason for being' I had missed.

On Amazon, all the reviews seemed to be pretty positive though. So, as someone that doesn't really have a need for it or having used it, I thought I might as well give my (negative) opinion to add some balance.

Firstly, trying to fit the Push 2 into the UDG case was extremely tight. I guess that's good for keeping it well protected (rather than having it slopping about inside the case). but I would say it's a bit too tight.

Secondly, the foam padding on mine has started to pull away from the edge of the case. This is a case of better glue being needed, and also the tight fit causing too strain when fitting / removing the Push 2 into / from the case.

There's no space in the case for anything other than the Push 2. It's nice that's it quite a tight fit, i.e. the case isn't a lot larger than the Push 2 itself, but I would much prefer it had space for the power adapter and USB cable. What point is taking the Push 2 with you without the power and USB?

Okay, you could argue that the power and USB can just be carried in your standard bag. But (depending on the size of your bag), so could the Push. No, it wouldn't be as well protected as in the UDG Hardcase, but there's not really much on the Push that could easily be broken off in a bag (like faders). If you were concerned about the buttons and knobs, you could put a decksaver on it before you put it in your bag (the decksaver is cheaper than this bag).

You can't use the Push 2 in the bag - it's for transporting / storing the Push 2 only. A design that allows the top & rear area to unzip completely so the Push can be used in the bag, then the top just zipped back on when you're finished would be much better in my opinion.

Other than that, the bag seems fairly decent. Nice zips, decently comfortable handle (though I haven't actually carried it anywhere), well padded, and the case is 'hard' but not completely rigid.

If I was after a case myself I'd be much more likely to go with something like a Gorilla Ableton Push Instrument Case (affiliate link). This case looks like it has room for the power and USB and the Push 2 can be used in the case. It will also look smarter if you already have your other audio equipment in flight cases.

Sunday, 7 July 2019

Eating fruit with the skin

You can eat Kiwis with the skin, it doesn't feel furry when you eat it.

You can also eat Orange with the skin, but the taste of the skin is quite bitter. If you only eat a small proportion of the skin it is much more palatable, like eating marmalade. Easy peelers aren't too bad with the skin, though I would say they're nicer without the skin than with. Probably the skin is covered with harmful chemicals they spray on them while they're growing as well.

Grapefruit skin is like orange skin, only more pithy.

Banana skin is too tough.

Pineapple core can be a bit woody. The skin is 'okay' but I wouldn't purposefully eat it. If you do want to eat the skin I would suggest eating the flesh and skin together to reduce the taste of the skin. I suspect if a pineapple isn't very ripe then the core will be very woody and the skin probably taste worse than a nicely ripe one (the one I tried was ripe).

Sunday, 23 June 2019

AMD Radeon & NVIDIA Quadro graphics cards together

I recently purchased a Radeon Vega 56 graphics card to go in my PC. I already have a a Quadro M2000, which is good in that it does 10 bit OpenGL (i.e. Photoshop can use it for 10 bit output), but it isn't very good for running modern games. So I purchased the Radeon card for that purpose, and it should also work well for other tasks with its 8GB of HBM2 memory.

Before I purchased the card I spent quite a while researching if the two cards could be used together. There seemed to be various conflicting information. From what I read, it seems that with NVIDIA cards you used to be able to run a Geforce and a Quadro at the same time, but that is no longer possible. It also seems that running a Radeon and Radeon Pro in the same system is not possible. Running a Radeon and a Quadro seemed possible, so long as both are not in use at the same time.

The advice seemed to be to set up dual boot - one OS that has drivers for the Pro card while the non-pro card is disabled. Then another OS for the non-pro card, with the Pro card disabled.

Well, I installed the Radeon in my system, and it seems to work okay without any messing - I can have one monitor in my Quadro, one in the Radeon, and no crashes or anything. The card performance does seem rather limited and I did get crashing when I tried undervolting it. But I suspect this is down to silicon lottery / useless reference cooler rather than any driver clashes.

Something I haven't tried yet is connecting both cards to my main monitor (so I can switch input on the monitor to switch between which card the monitor is running off), but I can't see there being any issues.

Of course, I can't say that all Radeon cards work okay with all Quadros, but at least in my experience it works okay for the two cards I have on my system.

Alesis Multimix 16 USB 2.0 crackling over ASIO4All

I recently purchased an Alesis Multimix 16 USB 2.0 mixer, while this is quite an old and outdated mixer it has the benefit that it can send all 16 channels separately over USB to your PC (rather than just the mix like most modern mixers). In Ableton if you select ASIO as the audio driver type then you can only select 1 device, which is used for both input and output (as far as I know). But this isn't what I want - I want 16 channels in from the mixer, then audio out to my speakers, not back to the mixer.

So to get round this limitation I use ASIO4All. In ASIO4All I select the multimix as an input device, and my speakers as the output. In Ableton I then select ASIO4All as the ASIO device to use.

I was testing the multimix with a microphone input, and found that when I was talking into it there would be occasional crackling. Plugging headphones into the multimix there was no crackling. If I set ableton to use the multimix as the ASIO device, then there was no crackling (but getting the multimix to output only the signal received via USB is a right pain and latency was terrible).

I messed around with the buffer settings quite a bit, but it didn't seem to make any difference at all. Eventually I tried a different USB cable and USB port (one of the recommendations online was making sure you don't have it plugged in a USB hub, but straight into your PC). Amazingly this actually fixed the problem. The original USB cable works fine, but it seems the issue only occurs when plugged into the rear USB ports on my PC. Plugged into a USB (3) hub I get no issues at all.

What's especially strange about this is that whenever I have had issues with USB devices before, it has always been that they need to be plugged into a rear USB port, and that plugging into a front port or hub is the problem. But with the multimix it seems the issue is reversed.