HNHacker News
TopNewBestAskShowJobs

pantelisk

1,143 karma · joined September 6, 2019

Say hi to me @pkalogiros on twitter/x.

In the sidelines buiding open-source: - https://audiomass.co (a full-blown audio editor in just 60kb of frontend js)

- https://github.com/bldbrne-vr/bldbrne-vr a full re-imagination of Bloodborne as a VR game

- https://pantel.is/projects/css3d/ (an old timey 3d adventure rendered entirely in CSS)

submissionscomments
pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
Author here. License is pretty much do whatever you want with it (free as in free information and free beer), I suppose the closest one to that would be MIT, but I don't like its serious legalese tone. I prefer the whimsical "free as in..." phrase
pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
you can click and drag to select part of the audio (and then drag the edges of the selection region that has appeared if you want to adjust it), and then apply the effect. All effects prioritize the current selection first, and if no selection is present then get applied on the entire track.
pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
Hey HN. Thanks again for featuring this project :) this is my favorite community on the internet and my go to site to visit, almost by reflex, when I have idle time, so it feels me with joy to have made something well received here.

I 'll be heading off soon, so decided to write some features included in this release that might not be apparent right away (still working on improving the UX).

- Drag n drop multiple audio files into multitrack = multiple channels automatically created

- Double click on a waveform box in multitrack, opens it in the original audio editor (for more precise editing)

- Copying (command+c, or shift+c) works between multitrack and regular editor. So for example, you can open a file in original editor tweak it, and then copy all or part of it and paste it in multitrack in a specific channel.

- Most effects have already pre-made presets to make them easier to use

- You can make your own effect presets by clicking the 3 dots after having made a modification in an effect (stored in localstorage)

- Zero crossing selection is under "Edit"

- There is a tempo tools section in View. You can automatically detect tempo of a track, tap to guess a tempo and play with metronome

- There is also an id3 tag viewer (for mp3 files) there as well

- You can right click or press M to add markers (makes it easier to highlight sections of a track, especially when working with longer audio tracks)

- Seamless Loop tool (under Edit): crossfade preview, silence trim, repeat loop, open loop in a new editor tab.

- Offline/PWA support: Help > store offline version, will open a new page that will trigger a service worker that will make the site work offline as well.

- Session export as .amss file for multitrack. If you aren't done working on a session you can export all of its audiofiles and configuration in an LZMA compressed container file (will still be pretty big though). For single audio mode, mp3/wav/flac export is available.

- Pressing X in multitrack when 2 waveform boxes overlap, makes them crossfade smoothly (denoted by an "XF" label at the top right - undocumented behavior but can be quite useful, will keep improving it)

- You can open the menu by pressing the ~ key and then navigate it with arrow keys (left/right for sections, bottom up for selections, enter to trigger an action and esc to close) for a tiny bump in speed of getting things done. Similarly the time controls are clickable and open a mini menu where a time can be specified to jump quickly to it (arrow keys to go between minutes/s/ms)

And finally my favorite feature of them all (though not a new one per se),

- In "View" select "Frequency analyzer" or "Multitrack mixer" and then press the dock button. Audiomass supports the ability to extract elements of it into new pop up windows. So you could have parts of the application on a different monitor keeping the main app in the main tab. It's a very old trick, but I find it kinda cool :)

Thanks again and hope you enjoyed the sample music! (edit: formatting)

pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
Oh.. I 'm mindblown! I was wrong, this is the great tracker we were missing
pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
I think this git but for music you are suggesting is quite interesting (or more like a figma for music maybe). My musician friends still use dropbox and google drive to push around files to each other. Honestly, I would be all for it but I have a feeling that musicians are a tough crowd when it comes to these services. So maybe if somebody like Bandcamp who has already demonstrated good will with the community steps up and builds something that would be a delight.
pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
Oh, that's fantastic to know.

Did you load it into multitrack, or the regular editor? (in multitrack it does not scale currently, but working on it). On regular editor it should in theory try to zoom.

There is a pyramid cache mechanism for long files, basically it tries to optimize with simple heuristics how many peak-lines to show for every zoom level. The renderer is pretty dumb right now - just old-school 2d canvas "ctx.lineTo" calls - no gpu, so enormous files can really make it slow, this is the reason for the drops (to ease load). So it might be dropping way too many samples in this case and then not switching properly to the next cache level because the zoom to duration/length ratio is enormous.

I 'll look into it. Thanks again

pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
All very good points, not much to say I agree with you. With loading plugins on demand it could grow in size without affecting load and experience (and since offline mode is a separate link that would still be fine to be a little larger since it's fetching the app locally).
pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
> https://news.ycombinator.com/item?id=23337091
pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
Yes, it's part of the fun. Original version was 65kb (with just the single editor mode and all the filters, mp3/wav export etc). But then having to add flac codec, tempo estimators and finally the multitrack mode, made it closer to 100.

When I started developing I was a little frustrated with how bloated the web felt back then so I took that direction, it's much better today though and it's no longer an issue, but I still find it fun to impose these constraints and try to work within or around them (there's this fascinating concept of constrained creativity)

pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
It's the audio track in a channel. A channel is the horizontal strip, a waveform box is a piece of audio somewhere across that strip. You can double click on one to enter single editor mode, or single click to make it active (once it's active you can drag it around, apply effects to it, move it on a different channel etc etc).

Sorry still working on improving the UX :)

EDIT: There's a short video here - https://x.com/pkalogiros/status/2053492761350046032

pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
I usually use it to edit audio tracks quickly up to 10 minutes long, though I have received nice emails from people who have used for 1hr+ podcasts successfully (though certain heavy operations wouldn't be very fun to use).

For multitrack sessions, there is the ability to export to a .amss file that contains all the settings, markers, tracks etc. For single track edit... it would just crash right now. There is already a feature for caching audio tracks in indexeddb (it's under >File), but honestly it's not a web api I have found to be super reliable. I don't blame the browser developers, because I 'm sure if it was more reliable certain websites would put it to use storing gigabytes of trackers on the user's machine :). For this reason, I haven't made it auto-save the session automatically yet, trying to be a good citizen on the user's computer, maybe that will change in the future if there's a strong need for it.

Also, right now there is no backend, once it loads there are no more requests made to the server, so it's bound to frontend limitations. This is by design, I want it to be an app that respects users, doesn't upload or leak information, no ads, etc, even if it means getting a small hit in functionality in other areas.

I think of it like photopea/pixlr are to photoshop. Quick and easy to use, get you at 90% of the way. If somebody wants to do a serious operation, then by all means go for a paid desktop pro-daw solution :)

edit: reason

pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
Thank you :) I 'll look into it, I am a little cautious of bloating up the filesize (right now it's at 98kb of js and 10kb of css), but if I can make something work efficiently I 'll give it a go.

On an unrelated note, I'm a little surprised there is no good open source web audio tracker (like Renoise but for the web) out there yet...

pantelisk··on Show HN: Audiomass – a free, open-source multitrack audio editor for the web
There is a little [ + ] button next to CHANNELS in the sidebar, it has no limit but right now so add as many as you like :)

It's using dom to render the multitrack waveform boxes currently so I would assume after a certain point it might start to slow down a bit. In the future might switch it all to be webgpu based to avoid such limits.

pantelisk··on Ask HN: Have you found a good desk chair?
How does the Aeron compare to the Embody? I like chairs that are tough and firm on the back (I also prefer sleeping on the floor and use no padding) and get constantly disappointed by soft furniture.
pantelisk··on WebContainers: Run Node.js natively in the browser
I don't understand why you are downvoted. Filesystem access is another big one! Chrome has the technological advantage and sports an enormous kitchen sink of features. One has to make the hard decision, work on a concept that will work only on one browser, try to cut corners with graceful (or crippling) degradation, or wait potentially a long time until a spec is standardized and implemented. The latter may result in others hitting the market sooner, so it is understandable why we end up with web-apps that function in a single browser only. Hopefully this improves in the future.
pantelisk··on Ask HN: What are some tools / libraries you built yourself?
I built audiomass ( https://audiomass.co ). it is not a dev tool but a general productivity tool (allow people to record, edit and manipulate audio directly in the browser).

I just wanted something that works as promised and respects the user (open source, 70kb total payload size, no ads, no tracking, feature complete, etc)

pantelisk··on Show HN: Minimal 3D creative coding tool – control 8×8×8 dots with JavaScript
ha, awesome! I love how minimal the whole approach is

I call this, "Sweeping Vertigo" https://doersino.github.io/tixyz/?code=tan%28i%2Bt%29*random...

pantelisk··on Turkey bans use of cryptocurrencies for payments
A government antagonizing its own citizens, what an odd mindset. The rule always is "Stifle innovation -> Get left behind."
pantelisk··on Consciousness Is Just a Feeling
Yes, I am with you. I really like Joscha Bach's theory that our brains hallucinate ourselves, almost as a fantasy character that goes through life. (checkout his appearance on the Lex Fridman podcast, mind blowing talk by Joscha)
pantelisk··on Consciousness Is Just a Feeling
I believe that consciousness is a simulation our brain is running. Our brain is a computer that runs human simulations.

This is why we anthropomorphize everything. Why we buy our dogs a little dog-house that looks like a people house. Dog doesn't care. Why we play such different roles - a cruel boss may be a loving father a few hours later. Likewise, why when people adopt a nickname "What would X do?" they find courage, or get to act differently (common trick in sales). It is why religions made god in man's image. Gods that fit human archetypes, roles or feelings (the father, the mother, lust, war) etc.

And of course, why people with multiple personality disorder get to have such vast personality changes and ups and downs.

What is the evolutionary benefit? Empathy. If I can simulate what you feel, I get to understand what you are going through, I may be kinder to you. And this way we get to cooperate and build a civilization that is not based on swarm mechanics (like ants, or bees).

Consciousness will soon have it's Gallileo moment. And we will be shocked to discover there is nothing special about our current human-centric world of "consciousness".

pantelisk··on Ethereum on Amazon Managed Blockchain
But why are we celebrating centralization of systems that have "decentralization" as their biggest selling point?
pantelisk··on Francis Bacon: Revelations review – a landmark biography
The art style of Francis Bacon is fantastic, but the troubled life he led is maybe even more intriguing, mysterious and dark.

For those curious, here's a very well done documentary on Francis by BBC - https://www.youtube.com/watch?v=MgrO5za0lSY (warning, graphic themes)

pantelisk··on Google admits Kubernetes container tech is too complex
I agree with you. However, after spending years and years trying to compile software that came with cryptic install instructions. Or have the author insist that since it works on their machine I 'm just doing something stupid. Docker was largely able to fix that.

It's a somewhat odd solution for a too common problem, but any solution is still better than dealing with such an annoying problem. (source: made docker the de facto cross-teams communication standard in my company. "I 'll just give you a docker container, no need to fight trying to get the correct version of nvidia-smi to work on your machine" type of thing)

It probably depends on the space and types of software you 're working on. If it's frontend applications for example then its overkill. But if somebody wants you to let's say install multiple elasticsearch versions + some global binaries for some reason + a bunch of different gpu drivers on your machine (you get the idea), then docker is a big net positive. Both for getting something to compile without drama and for not polluting your host OS (or VM) with conflicting software packages.

pantelisk··on The future of web software is HTML over WebSockets
the energy utilization of keeping sockets open for every tab, can get out of control quickly. Usually if users are expecting it to (eg multiplayer game, or collaboration apps) that might be fine. But fetching a tiny page and then keeping a socket active just in case 2 hours later somebody goes back and clicks on some link is not so great. Sure one could close the connection and re-open when the user comes back, but again it feels a bit too much for something that simple as websites.

Nonetheless the idea is not bad. I just feel that HTTP/2 with its multiplexing is a nice middle ground and it comes for absolutely free.

pantelisk··on Recreating Real-World Terrain with React, Three.js and WebGL Shaders
Because of react's popularity, it's attractive to make a project that applies react's style of development to threejs.

Similarly, around 2013 threeQuery (threejs + jquery) was becoming somewhat popular too (it had a jquery "chain" api like syntax). It's good to see people experiment and attempt to improve developer efficiency. Who knows what new tricks will be discovered and what kind of benefit and new approaches will be created! However, I mostly agree with you.

I find threejs to be one of the most enjoyable libraries to work with (and its codebase is simple and beautiful too). I also highly recommend to everybody that wants to go into 3d graphics to dedicate some effort and learn the actual fundamentals (eg webgl, opengl, metal, matrix math, quaternions, etc). This way you gain domain specific knowledge that is applicable across platforms and across time. Abstractions are not future-proof, they are recycled and change according to the latest trends in development. Domain specific knowledge stays with you forever! If there is an intermediate ground on which people can meet (eg start with react-three or three.js and then dive deeper) that's a win too. Recently I have been advocating that web devs can start learning 3d graphic concepts by just playing with... CSS to familiarize with some of the concepts and then move from there. This way one can avoid all the overhead around the gl statemachines or various libs and focus on the basic concepts first

pantelisk··on Sequoia Capital says it was hacked
beyond the third page of google results
pantelisk··on Ultima VIII – How to destroy a gaming franchise in one easy step
Ultima 6 and 5 have been remade by modders for the Dungeon Siege engine (full remakes with functionality and systems not just a re-skin/tribute)

Ultima 6 - http://u6project.com/wp/ (sorry for non-https link)

Ultima 5 - https://wiki.ultimacodex.com/wiki/Ultima_V:_Lazarus

Worth a shot if somebody finds the originals too difficult to get into now. (Though gameplay is brutal regardless, I keep running out of food when adventuring - the map doesn't show your position, you need to use landmarks (eg; follow the edge of this lake) and the compass to orient yourself)

(disclaimer: I did some map/dungeon building some 15 years ago for the U6 one)

pantelisk··on Experience synesthesia: Google tool lets you 'hear' colors and shapes
Agreed, violins are green not red (not a joke, I 'm synaesthetic)
pantelisk··on Web Spectrogram using your Mic
it might be your speakers. Speakers are't neutral, they are optimized for a specific frequency response. Which means that the loudness might be "dropping significantly" rather than you not being able to listen to a specific frequency. Use pro headphones to properly test your hearing :)

(that's also why expensive studio monitors cost so much - the "this song sounds good on any type of speakers, from in ear-headphones, to cheap car radio speakers, to pro headphones to on cheap television", master once listen/play everywhere, used to be a big problem in the audio world. (it might still be, but I left that world -- consider the cheap car radio speakers as the Internet Explorer 6 of the audio world and you get the idea!)

pantelisk··on What's New in PHP 8.1
> dev recruitment is hard.

No way. It is pretty easy. To be fair it is harder in the Bay Area than let's say Europe, but it is still a non-issue. Also, the language is extremely easy to pick up, everyone is able to understand the code. This week for example I 've had an ios dev that is using Obj-C/Swift just dig into the code themselves to get clarity on an endpoint's execution.

> dev retention is hard.

Never really had an issue there.

> hard to find people that write clean, modern, performant PHP

This also has not been a problem in the past few years. For context, I 've had multiple devs excited and pushing to start using new PHP8 features, already (and I had to be the boring one and ask to wait for hotfixes, a version .1 or .2 and see how stable and secure 8.x is first).

> It does not enjoy the best reputation as a language.

This is true. I 've met people who refuse to even look at PHP code, even though they are paid to do so (they might even refuse at the detriment of their peers). I 've never seen a "this is beneath me" attitude with any other tool or language before. (except perhaps the hate SQL databases got in 2015-2016) So yeah, the hate runs deep.

← PreviousPage 2 of 5Next →