<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Actionscript on Marcello Barnaba</title>
    <link>https://sindro.me/tags/actionscript/</link>
    <description>Recent content in Actionscript on Marcello Barnaba</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Sat, 16 Oct 2010 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://sindro.me/tags/actionscript/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>The Myousica multitrack: audio mixing in the browser</title>
      <link>https://sindro.me/posts/2010-10-16-myousica-multitrack-audio-mixing-in-the-browser/</link>
      <pubDate>Sat, 16 Oct 2010 00:00:00 +0000</pubDate>
      <guid>https://sindro.me/posts/2010-10-16-myousica-multitrack-audio-mixing-in-the-browser/</guid>
      <description>&lt;div class=&#34;retrospective&#34;&gt;&#xA;  &lt;span class=&#34;retrospective-icon&#34;&gt;&amp;#x1f50d;&lt;/span&gt;&#xA;  &lt;div class=&#34;retrospective-body&#34;&gt;&#xA;    &lt;em&gt;2026 retrospective&lt;/em&gt;&lt;br&gt;&#xA;    For the big picture — why Myousica was ahead of its time and who does it today — see the &lt;a href=&#34;https://sindro.me/posts/2026-04-11-myousica-eighteen-years-later/&#34;&gt;2026 retrospective&lt;/a&gt;.&#xA;  &lt;/div&gt;&#xA;&lt;/div&gt;&#xA;&#xA;&lt;p&gt;This is the second post in the &lt;a href=&#34;https://sindro.me/posts/2010-10-14-myousica-collaborative-music-remixing-platform/&#34;&gt;Myousica series&lt;/a&gt;. The &lt;a href=&#34;https://sindro.me/posts/2010-10-14-myousica-collaborative-music-remixing-platform/&#34;&gt;first one&lt;/a&gt; covered the Rails platform. This one dives into the multitrack editor — the Flash/Flex component where users actually mix music in the browser.&lt;/p&gt;&#xA;&lt;p&gt;The multitrack was initially developed by &lt;a href=&#34;https://vancura.design/&#34; target=&#34;_blank&#34;&gt;Vaclav Vancura&lt;/a&gt;, who built the original architecture, the UI component library, and the audio playback engine. I then took over and rewired it heavily — integrating recording, upload, the backend services, and the state machine that holds it all together. 81 ActionScript files, ~7,300 lines of code, &lt;a href=&#34;https://github.com/mewsic/mewsic-multitrack&#34; target=&#34;_blank&#34;&gt;129 commits&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Here&amp;rsquo;s &lt;a href=&#34;https://dribbble.com/shots/192454-Myousica-remix&#34; target=&#34;_blank&#34;&gt;Vaclav&amp;rsquo;s original screenshot&lt;/a&gt; showing the remix view — where songs connect and branch into new remixes:&lt;/p&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://sindro.me/posts/2010-10-16-myousica-multitrack-audio-mixing-in-the-browser/myousica-remix-dribbble.png&#34; alt=&#34;Myousica remix view — songs branching into remixes&#34;&gt;&lt;/p&gt;&#xA;&lt;h2 id=&#34;what-it-does&#34; id=&#34;what-it-does&#34;&gt;What it does&lt;a class=&#34;heading-anchor&#34; href=&#34;#what-it-does&#34; aria-label=&#34;Link to this section&#34;&gt;¶&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;The editor loads in the browser as a Flash SWF. You can:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Load up to 16 audio tracks simultaneously&lt;/li&gt;&#xA;&lt;li&gt;Play them all in sync with a single transport&lt;/li&gt;&#xA;&lt;li&gt;Adjust per-track volume and balance&lt;/li&gt;&#xA;&lt;li&gt;Record your own track from the microphone, synchronized to the playback&lt;/li&gt;&#xA;&lt;li&gt;See waveforms for every track&lt;/li&gt;&#xA;&lt;li&gt;Search for tracks to add to your mix (via the Rails API)&lt;/li&gt;&#xA;&lt;li&gt;Save and publish the result&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;All of this happens client-side in Flash Player 9, with the heavy lifting (encoding, storage) offloaded to the backend services.&lt;/p&gt;&#xA;&lt;h2 id=&#34;the-dimensions&#34; id=&#34;the-dimensions&#34;&gt;The dimensions&lt;a class=&#34;heading-anchor&#34; href=&#34;#the-dimensions&#34; aria-label=&#34;Link to this section&#34;&gt;¶&lt;/a&gt;&#xA;&lt;/h2&gt;&#xA;&lt;p&gt;&lt;img src=&#34;https://sindro.me/posts/2010-10-16-myousica-multitrack-audio-mixing-in-the-browser/multitrack-tracks.png&#34; alt=&#34;The track area — instrument icons, BPM, per-track volume and pan knobs&#34;&gt;&lt;/p&gt;&#xA;&lt;p&gt;Everything is pixel-precise. The editor runs in a 690px wide stage with fixed proportions:&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
