techlist.io

Midi

2 posts

Figma2024-11-253 min readCurated summary

Pablo Sánchez’s 7 Rules for Designing the Unexpected | Figma Blog

Pablo Sánchez argues that memorable digital products come from personal conviction, unexpected sources of inspiration, and a willingness to imagine alternatives to the present. His work on Ableton Note demonstrates this approach: instead of reproducing conventional music-production tools, the app emphasizes tactile, immediate experimentation through features like “Capture,” which loops phrases after they are played. ## Design for Yourself - Strong design begins with personal conviction rather than detached objectivity. - Designers should create something that inspires them, since personal enthusiasm can make the final product feel authentic. - For Ableton Note, Sánchez replaced an expected MIDI editor with directly playable instruments suited to mobile interaction. - User testing later validated the direction, and the app launched without a MIDI editor. - Note lets users tap rhythms on a 16-pad grid, play melodies and chords, and develop variations in Session View. ## Brainstorm Without References - Starting with existing design references can lock a team into familiar solutions. - Brainstorming without references encourages ideas drawn from personal experience and absorbed cultural influences. - Sánchez describes this process as creating an “assemblage” from the collective ideas designers carry with them. - Although Note’s influences were not copied directly, apps such as Samplr and Borderlands Granular contributed to its creative foundation. ## Look Beyond Design - Inspiration can come from literature, dance, nature, science, emotions, and personal memories—not only other interfaces. - Sánchez wanted Note to feel as immediate as picking up a guitar and experimenting. - He also drew from Brutalist architecture, particularly its emphasis on materiality, simplicity, and the removal of unnecessary ornament. - This led to a minimal interface that reduces the complexity of music production and lets users interact directly with sound. - Note includes features such as a microphone-based sampler and a visual sound interface. ## Design for Tomorrow - Sánchez distinguishes between: - **Affirmative design**, which solves existing problems and reinforces the current world. - **Critical design**, which questions current conditions and explores how the world could be different. - Unexpected design combines both approaches by imagining new possibilities while encouraging people to investigate them. - Designers are encouraged to speculate beyond present assumptions rather than simply repeating familiar patterns. - The article invokes xenofeminist thinking—“If nature is unjust, change nature!”—as an example of challenging supposedly fixed conditions. The excerpt presents unexpected design as a practice of trusting personal intuition, combining diverse influences, and designing toward possibilities that do not yet exist. Ableton Note illustrates how a focused, unconventional vision can produce a more playful and distinctive experience than simply implementing expected features.

OpenAI2019-04-244 min readCurated summary

MuseNet

# MuseNet: Generating Multi-Instrument Music with a Transformer OpenAI's MuseNet is a deep neural network that generates 4-minute musical compositions for up to 10 instruments and blends styles from country to Mozart to the Beatles. Rather than being programmed with music theory, it learned harmony, rhythm, and style by predicting the next token across hundreds of thousands of MIDI files, using the same general-purpose transformer approach as GPT-2. The post presents the model's controls, architecture, data encoding, and limitations, and shows that the same long-context modeling that works for text also works for music. ## Style Blending and Conditioning - The model can merge styles, such as starting from the first six notes of a Chopin Nocturne and generating a pop arrangement with piano, drums, bass, and guitar. - A simple mode offers pre-generated samples by composer or style, while an advanced mode lets users interact with the model directly and produce new pieces. - Composer and instrumentation tokens are prepended to training samples, so at generation time a prompt (such as a Rachmaninoff opening or a Journey-style band setup) steers the output. - t-SNE visualizations of the embeddings show how the model groups composers and styles by cosine similarity. ## Limitations - Requested instruments are strong suggestions, not guarantees, because each note is sampled from probabilities across all notes and instruments. - Unusual pairings, such as Chopin with bass and drums, produce less natural results. Choosing instruments close to the composer's or band's typical sound works better. ## Architecture and Long-Term Structure - MuseNet is a 72-layer Sparse Transformer with 24 attention heads and full attention over a 4096-token context, using the recompute and optimized kernels from the Sparse Transformer work. - The long context lets it keep structure over long spans, as seen in its Chopin and Mozart imitations. - Music is a useful test domain because it sits between text and images. It has text-like fluid token structure, yet errors in long-range structure, such as broken rhythm, are easy to hear, whereas a text model's brief tangent is less obvious. ## Training Data and Encoding - Data came from ClassicalArchives and BitMidi, several online collections spanning jazz, pop, African, Indian, and Arabic styles, and the MAESTRO dataset. - The team tested chordwise encodings (one token per simultaneous note combination) and note-onset encodings with byte pair encoding compression. - Time was marked either relative to tempo (in beats) or in absolute seconds. - The final encoding combines pitch, volume, and instrument into a single token, balancing expressiveness and conciseness. - Augmentations included transposition (reduced later in training to keep notes within instrument ranges), volume scaling, timing changes for the absolute-time encoding, and mixup in the token embedding space. - An inner critic predicts whether a sample is from the dataset or from the model's own past outputs, and this score is used to select samples at generation time. ## Embeddings - A learned timing embedding gives all notes sounding simultaneously the same time signal. - Per-note embeddings within a chord approximate relative attention, letting the model learn patterns like "note 4 looks back at note 3." - Two structural embeddings locate the sample within the piece: one divides the piece into 128 parts, and the other counts down from 127 to 0 as the end token approaches. ## Conclusion MuseNet shows that a general-purpose next-token transformer, given the right encoding, conditioning, and long context, can produce coherent multi-instrument music in many styles. The post invites musicians to experiment with the demo and contribute MIDI data, and notes that a live concert of previously unheard MuseNet pieces was streamed on April 25, 2019.