feat: Add intelligent_dnb, trip_hop, and boom_bap genres #52
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary
Adds three new genre presets to the PatternGenerator service, each with complete pattern generation, drum patterns, and basslines.
New Genres
🎵 Intelligent DnB (160-175 BPM)
Style: LTJ Bukem, Good Looking Records, early 90s atmospheric DnB
breaks165from dirt-samplesCm9 → Fm9 → Bbm9 → Ebmaj7)gm_epiano1), strings (gm_strings)Aliases:
liquid_dnb,atmospheric_dnb,bukem,intelligent,liquid,atmospheric🌙 Trip Hop (80-100 BPM)
Style: Portishead, Massive Attack, Flying Lotus
Aliases:
triphop,portishead,massive_attack,flying_lotus💥 Boom Bap (85-100 BPM)
Style: DJ Premier, Alchemist, Daringer, Hit-Boy
Aliases:
boombap,golden_era,premier,alchemist,daringer,hitboyChanges
src/services/PatternGenerator.tsgenerateIntelligentDnB()methodgenerateTripHop()methodgenerateBoomBap()methodgetInterval,getFourth,getFifth, etc.)generateDrumPattern()with new genre patterns (3 complexity levels each)generateBassline()with new genre basslinesgenerateCompletePattern()to route to specialized generatorspatterns/examples/intelligent-dnb.js- Full atmospheric DnB example (170 BPM, C minor)trip-hop.js- Dark trip hop example (90 BPM, D minor)boom-bap.js- Golden era hip hop example (92 BPM, E minor)README.mdpatterns/examples/README.mdUsage Examples
Testing
All patterns tested in strudel.cc and produce valid output.
Related