HI there, we are creating a new audio editor + sequencer and we heard that it’s done in Flash, has anyone figured out how to? We want to do something like Logic, Cubase or FL Studio. Thanks!

Dani AI

Generated

Quick update for — and a note on the replies from and : approaches that looked good in 2008 (Flash/Flex or a pure Java GUI) are largely obsolete for new projects. For a browser-based editor/sequencer use the Web Audio API with AudioWorklet for the real-time audio thread, and compile any existing C/C++ DSP into WebAssembly for performance and reuse. For a native, low-latency DAW-style product consider a C++ framework like JUCE.

A practical architecture:

  • UI in HTML/CSS/Canvas/WebGL (virtualized tracks, pre-rendered waveform overview).
  • Real-time audio in AudioWorklet; heavy DSP kernels in WebAssembly.
  • Precise scheduling with AudioContext.currentTime and pre-scheduled bufferSources; export/render with OfflineAudioContext.
  • Storage with IndexedDB and controller support via Web MIDI.

Small scheduling example (browser):

const ctx = new AudioContext({latencyHint: 'interactive'});
const src = ctx.createBufferSource();
src.buffer = myBuffer;
src.connect(ctx.destination);
src.start(ctx.currentTime + 0.1); // schedule slightly ahead to avoid glitches

Design and performance tips: pre-render/downsample waveforms for fast zooming, virtualize track DOM to handle large sessions, use requestAnimationFrame for UI animation, avoid heavy work on the main thread (use Web Workers), preallocate buffers to reduce GC stutters, and prefer AudioWorklet over deprecated ScriptProcessorNode. Be aware SharedArrayBuffer requires cross-origin isolation for very tight synchronization.

If plugin hosting, sample-accurate native I/O, or VST/AU support are required, prototype the UX in the browser and port the audio core to a native C++ host (JUCE). Useful references: Web Audio API, AudioWorklet, WebAssembly, and JUCE. Also note Flash has been discontinued and is not a viable option (Adobe Flash Player EOL).

Recommended Answers

All 2 Replies

Sure not Flash as it is difficult to integrate with other technologies beside web. You may try to provide interface in Flex as it let you do background coding in variety of programming languages and with help of ActionScript pass the values/events to Flex. C++, Python should be your prime languages, also you may try Java but I think that libraries are not so great there

You can do an editor and sequencer in java, but be prepared for many headaches.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.