Eric_WVGG

About

Username
Eric_WVGG
Joined
Visits
146
Last Active
Roles
member
Points
3,306
Badges
2
Posts
975
  • Spotify abandons AirPlay 2 support [u]

    LOL at Spotify’s inability to make a functioning product. 

    For those defending “how hard it is” to code for AirPlay, it seems to be a cakewalk for EVERYONE ELSE.… Even Tidal has had it for years now. 
    Tidal is a much younger app. It was almost certainly made with the correct audio API out of the gate, instead of being built on older APIs. That's why I was careful to describe Spotify as a "mature app"

    Japhey said:
    Thank you for this post. As usual, I learned more from the forum than from the actual article itself. I know this will probably open Pandora’s box here, but do you think Apple makes it so confusing and difficult intentionally? 
    Oh no, not at all. 

    I think a couple of typical developer bad habits are at play here. One, specific to Apple, is that their documentation is truly bad. They frequently act like developers can just read their minds or guess at shit, especially with complex low-level APIs like anything media or graphics related. 

    The other is, it's usually simpler and frankly more fun to say, "instead of rebuilding this old API, which was written using old patterns and old tech, we should just replace it with something simpler and modern." Specifically in the case of audio this seems to have happened three or four times.

    Let me give you a specific example of what I crashed into. I wanted to write a music player similar to Poolside.fm that would consume "Shoutcast" audio streams (an open format for "internet radio"), and playback with that goofy techno y2k psychedelic screensaver f/x. I thought it would make for a kind of fun AppleTV app, retro-futurism.

    Out of the three Apple audio APIs (that I'm aware of), only one can take in an audio buffer and let the developer analyze it in real time. This is necessary for audio visualizations (which I do), but also for things like voice enhancement or "smart speed" (which Overcast uses).

    But that API can't read Shoutcast streams. Only one API can, and that one is like the mega dumbed down simplified API, which is good for rudimentary apps but quickly becomes useless at the point where you want to do anything interesting. 

    I eventually got around this problem by finding a ludicrously hacked audio API that added streaming functionality to the "analyzable" API by writing the audio stream to a file in the the file system, and making the API analyze that file as it was being written in real time. It worked, but I suspected that it would be highly error prone — like, if one were to start playing and put their phone to sleep… would that stream keep writing reliably? But I never found out because I wound up axing the whole project for unrelated reasons…
    IreneW
  • Spotify abandons AirPlay 2 support [u]

    I was all set to jump on the “holy shit Spotify is completely inept” bandwagon (I personally ignored Spotify in favor of Beats Music because of the latter’s superior Mac software back in the day), but these tweets by Marco Arment — creator of the Overcast podcast app, Instapaper, and some social network called Tumbling or something — made me think twice. 

    “An app can support AirPlay 2 […] with a four-step process outlined on Apple's developer website.”
    Those “four steps” from developer.apple.com/documentation/… are:
    1. Set one flag. One line of code.
    2. Add the AirPlay picker to your UI. Probably already there.
    3. Respond to play/pause. Probably already do.
    4. Rewrite your ENTIRE AUDIO PLAYER to use a COMPLETELY DIFFERENT API
    …and that new API:
    - is barely documented
    - has no public sample code
    - is full of major gotchas
    - can’t change speeds seamlessly
    - doesn’t provide precise timing
    - requires much more complex logic
    - is less efficient, which can cause background CPU-overage terminations

    i spent about a month of last winter trying to make a music player in the vein of Poolside.fm. It turned out to be a total bust; iOS has (at least) three different audio APIs, with non-overlapping levels of functionality, and uniformly poor documentation. it fucking sucks.

    granted, Spotify has enough cash to buy all the talent it wants, but I’m not at all surprised to hear that Airplay 2 support could require a complete rewrite of the core functionality of a very mature app. Audio APIs represent Apple technology at their worst.
    williamlondonJapheyelijahgravnorodommuthuk_vanalingam
  • Google teases Pixel 6, Pixel 6 Pro with new Tensor AI chip

    They sure look cool though. Dig that yellow/blue one, I wonder if you could pick top/bottom colors at checkout?

    I'd take that bar over the wobbling that the squircle creates when you put your iPhone on a table. Probably makes it less likely for your thumb to enter the edge of a picture, too.
    byronlwilliamlondon
  • Face ID could reach Mac lineup within a 'couple of years'

    Hmmm I think there are some arguably good reasons. 

    As they currently exist, FaceID camera arrays (it’s not just one camera) are much too thick to fit in a MacBook lid. I’m sure Apple is hard at work debiggenning them but we have no idea how far along they are.

    also, FaceID hardware is used for more than just FaceID; the invisible infrared dot emitters are used for stuff like Portrait Mode and 3D scanning that just don’t have a lot of utility on the Mac.

    it’s sure to come along sooner or later but I don’t blame Apple for considering it a low priority.
    byronldewme
  • Playdate handheld game console preorders start July 29

    Hmmm...  both of my kids have a BittBoy for playing retro games.  At $179, the price is rather steep too.

    I am not sure what problem this device is trying to solve, or what niche it is trying to fill.
    What were they thinking? The games are all black and white like going back to the old GameBoy day? The device: who are they targeting consider everyone owns a smart phone with 3D/color games now a day? I don't understand where this device is fitting in today's market. It's cute BUT....
    This is the indie videogame equivalent of a limited edition vinyl being released by some band you've never heard of. It's hipster silliness. In fact, the manufacturer — Teenage Engineering — is renowned for their extremely weird and niche electronics.

    It's fine if you've never heard of people like Cable Sasser, Lucas Pope, or Keita Takahashi. Those of us who have can barely contain our excitement.

    Not everything is trying to sell ten million units or be a mainstream success. This is just a weird little device for indie game fanatics. 
    ravnorodomwatto_cobra