11 ms·
Recreating Daft Punk's Da Funk with Overtone and Leipzig
- creullin 10y agoHaha. This is awesome. I wonder what the final output would be. A full song?
- zdkl 10y agoThink of it more as emulating a recording studio (instruments, amps, effects the whole thing) modeled as code. This works beautifully in the composition first paradigm of lisps/clojure. The APIs are a bit hard to wrap your head around if you intend to use Overtone for the entire production process but I've had lots of fun with using it as the mother of all synthesis engine
- jeremy7600 10y agoI was a bit disappointed by the output. Is this the quality of music that is produced regularly by this software? The only thing that sounded good to my ears was the baseline piece, by itself. It sounded true to the original. The rest sounded like a Casio keyboard from the 80s. Not flattering to the depth of Da Funk. I was expecting something closer to the original, not something with the same tones measures and BPM but sounding totally flat overall. Granted, this is my only exposure to music produced by this software. I wonder if there are other examples, that don't sound like a computer making music? Fruity Loops makes better music than this.
- bjackman 10y agoSynthesisers are really complicated. This example takes about 4 steps from a pure saw wave, it's a demonstration of principles. This is the exact same sort of sound you'd get if you picked up any DAW or hardware studio and tried to recreate the song in a few moments. It's almost certainly possible to create something true to the original, but there's no way it would be suitable for a "recipe" for showing people how Overtone/SuperCollider works.
- TheOtherHobbes 10y agoIt's incredibly hard to make music with commercial production values with nothing but code. Commercial studios have racks full of boxes that start from $2000 each that fatten up and sweeten the sound, and a commercial track will patch every element through multiple boxes during mixing. The mixing desk itself will add its own sound. Most of the boxes have analog circuitry inside them. Modelling it is not easy, and good models can use so many cycles it's no longer possible to listen to their output in real time (at least, not without using external hardware acceleration). None of the mainstream music code environments - Overtone, SuperCollider, Csound, Max/MSP and so on - pay much attention to this. They mostly come with trivially simple DSP models which don't sound all that great. Surprisingly, they also make it hard to use more complicated models even if you know what you're doing. Mostly you can't just add the model in user land - you have to add it as an external, and rebuild. Commercial software from Korg, Yamaha, NI, UA, Access, and most pro and semi-pro VST makers puts more effort into sounding good, but the high quality models are somewhat proprietary and the code isn't often open sourced - although sometimes the models appear in papers from (e.g.) the ICMC.
- lotyrin 10y agoSignificantly better sounding synth sound is nowhere near that far out of reach. The sound he's trying to recreate is not something that comes out of a commercial stack of "$2000 boxes". Da Funk's lead can be reasonably approximated with cheaply available modeling software, or moderately priced analog synths. Here's someone getting decently close with Massive, which is around 200 dollars. https://www.youtube.com/watch?v=AB1_JxbT_1s https://www.youtube.com/watch?v=AB1_JxbT_1s The article's sound is just still too simple. I've not used Octave, but I'm sure that with some work, it could achieve quite a bit more.
- Double_Cast 10y agoI just looked at the original and the copy through my laptop's shitty default equalizer. The copy has unnecessary bass. Around the 1k hz range. This is probably the largest contributor to what makes it sound hollow. Also, just comparing them by ear. Over each note, the copy builds up and then builds down in volume in a <> shape. The original has a sharper attack and then fades gradually, which looks more like a > shape. I think the copy also has an unnecessary reverb effect, but I'm not sure. This is all malleable of course. None of this is the fault of the software. It's just a difficulty inherent to reverse engineering.
- hanoz 10y agoWell that's opened up a fascinating new world to me. Is there a name for that regular logarithmic by linear music notation in the first image? I suddenly feel like a whole lifetime of musical enjoyment has been denied to me by the utterly utterly ridiculous staff notation system.
- hit8run 10y agoThis Note Pattern View is standard in all major DAWs :)
- zeitpolizei 10y agoI believe it's usually called a 'piano-roll'.
- rorykoehler 10y agoIt's a representation of a midi step sequencer. It's pretty standard in all DAW (Digital Audio Workstation) software. Staff notation is way more nuanced than this. In order to represent all the details on the midi ui it requires layers (like photoshop) for all the different parameters. On staff notation it's all there on one page. Staff notation might be a bigger learning curve but it's also a far superior way of communicating musical pieces on paper.
- phonyphonecall 10y agoI recall some composers notes such as 'with great vigor' or 'like raindrops' on sheet music. Midi step sequences would have a hard time representing the "emotion" some composers are looking for.
- lwakefield 10y agoI was kinda bummed that they weren't referring to the iconic 303 bassline from da funk.
- dmoo 10y agoOff topic but Sam Aaron an overtone contributor and the creator of Sonic Pi is currently looking for advice re the funding of his work on Sonic Pi https://twitter.com/samaaron https://twitter.com/samaaron
- mathetic 10y agoYes, he has announced on Twitter that his project is running out of funding (it is a research grant). He has set up a Patreaon page [0] for those interested in contributing his live coding, development of Sonic Pi and Overtone. [0] https://www.patreon.com/samaaron https://www.patreon.com/samaaron
- vdnkh 10y agoNot knowing about Leipzig[0], I've been trying to come up with my own representation of music in JS to work with the Web Audio API. My biggest puzzle so far is how to a) keep a rhythm and b) allow musical "blocks", which are indeterminate in length, to fit into this rhythm. I was thinking that these blocks would be pre-defined functions which represent different aspects of music (bassline, riff, etc.) which could be repeated and inserted at arbitrary time in the composition. If anyone is interested on working on this drop me a pm/comment (it's just for fun) [0]https://github.com/ctford/leipzig https://github.com/ctford/leipzig
- deleted 10y ago[deleted]
- jimmcslim 10y agoThis is great, I hope there are more Overtone recipes in the future!
- arnklint 10y agoMight be relevant to the subject: Sonic Pi Daft Punk sample - https://www.youtube.com/watch?v=cydH_JAgSfg https://www.youtube.com/watch?v=cydH_JAgSfg
- baldfat 10y agoSonic Pi is another on of the new Live Music Programming Languages. Sonic Pi has a nicer GUI presently. Right now it is the early stages of these kind of musical tools for live music coding. I really look forward to the near future for these new tools. I know that we have had programming for music for decades but this is a different genre at least to me. Here is a video of Overture going over live coding from 3 years ago https://www.youtube.com/watch?v=imoWGsipe4k&nohtml5=False https://www.youtube.com/watch?v=imoWGsipe4k&nohtml5=False
- aimxhaisse 10y agoYou might also be interested in how this is made under the hood: https://mxs.sbrk.org/aerodynamic-en.html https://mxs.sbrk.org/aerodynamic-en.html
- clarkenheim 10y agoThat 303 just isn't a 303.
- lostgame 10y agoI had no idea they open-sourced their shit. That's amazing. They're one of my favourite groups.
- wodenokoto 10y agoIt is pretty cool that you can program a song in code, but it looks awfully verbose. Do people really compose this way?
- recursive 10y ago> The key is F major. Where is this coming from? It's pretty clearly G minor to me. The bass is playing G. The main phrase starts and ends on a G. > This 1.334 is a ratio of adding 5 semitones in hertz. This should sound like this. This harmonic overtone kills it for me. I know there are some overtones in the original, but not like this. 5 semi-tones is an interval of a perfect fourth. I think maybe a perfect fifth would work (7 semi-tones) but this overtone pretty much destroys it for me.
- pjagielski 10y agoHi, post author here. Thanks for pointing out! I know it's wrong and working on these improvements: https://www.reddit.com/r/Clojure/comments/4dl454/recreating_daft_punks_da_funk_with_overtone_and/d1sqcs5 https://www.reddit.com/r/Clojure/comments/4dl454/recreating_...
- recursive 10y agoCool. Those changes sound pretty dead-on.
- pjagielski 10y agoApplied the corrections, check the sound now :)
- recursive 10y agoIt sounds like a much better approximation than before. Thanks.
- andrewvc 10y agoYou're right. It's funny listening to this. They're playing the same song, but it's not even close to as good as the Daft version. The daft version is loud and has a bite. This version just sounds lethargic and boring.
- zenlikethat 10y agoI think the author is more concerned with hacking and exploring than perfectly duplicating the existing track.
- jonwot 10y agothe daft version is clearly mixed (eq'd, compressed, etc.) and probably done so in a nice "easy" to use DAW. i doubt he could get that sound (without working long hours) when hardcoding everything.
- deleted 10y ago[deleted]
- aerovistae 10y agoYou're not wrong, but it was needless to say. It's like going into a freshmen physics class and pointing out that a frictionless vacuum is hardly a valid simulation of reality. You're missing the point.
- agumonkey 10y agoI don't feel that way, it's close enough to my ears. And I take my ears are very well educated in that department.
- dep_b 10y agoThe original seems to have been made by creating a feedback loop between one of the outputs and the filter input of an analog synthesizer. The examples I've seen were done on a Yamaha CS-15 but a lot of monophonic old analogs allow you to do that, like a MiniMoog. However the filters on a CS-15 are quite unique, don't think you can even do this exact patch on an MS-20. https://youtu.be/W4PEAKNtbVw?t=184 https://youtu.be/W4PEAKNtbVw?t=184 A good explanation how it works https://www.youtube.com/watch?v=kdN43xfwV2U https://www.youtube.com/watch?v=kdN43xfwV2U Slightly better played
- gdubs 10y agoAmazing – nice find. Never played a CS-15 but it looks like a real powerhouse.
- whatok 10y agoFeedback loop normally called overdrive. Broke my Voyager improperly using the headphone output for that, haha. I've only ever heard of the MS20 being the source for the lead in the track though. Random Youtube demos seem to get it close enough.
- dep_b 10y agoWow, really? That shouldn't happen, lots of people do that! I do it with every synth that allows me to loop back into the filter. I don't think it's the MS-20 as it does come close but the MS-20 is slightly more nasal. Lots of moments I play with it and I think "this sounds ALMOST like The Funk" because with a big resonance on two filters it distorts pretty bad/good :). But perhaps if I try it with the same feedback technique it might get fuller.
- l33tbro 10y agoThe original was recorded on a Roland SH-101.
- thro1237 10y agoIs there any synthesizer that would sound like a real violin?
- Synaesthesia 10y agoHere's one I found: http://www.synful.com/SynfulOrchestra.htm http://www.synful.com/SynfulOrchestra.htm
- joshschreuder 10y agoHere's a recreation of One More Time that I saw on HN a few years back: https://www.youtube.com/watch?v=9sdtOpE_3aQ https://www.youtube.com/watch?v=9sdtOpE_3aQ And the follow up: https://www.youtube.com/watch?v=0kZy5qNrlks https://www.youtube.com/watch?v=0kZy5qNrlks
- randomacct44 10y agoIs there anything like this for JS + WebAudio? Have a mate who wants to be able to embed something like this in a website (endless generative music).
- fenomas 10y agoI hacked on this a while ago, and the best libraries I found were one called Wad for playing notes and applying effects, and another called Teoria for building chords and intervals and so on. I was hindered by not having any idea what I was doing but here's what I came up with: http://www.aphall.com/random/audio-test/ http://www.aphall.com/random/audio-test/ (clicks weirdly in firefox, no idea why.) Libraries: Wad: https://github.com/rserota/wad https://github.com/rserota/wad Teoria: https://github.com/saebekassebil/teoria https://github.com/saebekassebil/teoria
- dkns 10y agoThis is clojurescript but maybe it'll be of some use to your mate https://github.com/ctford/klangmeister https://github.com/ctford/klangmeister
- kevin_thibedeau 10y agoI once brought an interviewer to the brink of tears after she revealed how overloaded she was and how the EE team had effectively been eliminated for offshore workers. It was curious that all the other interviewers before her were MEs and systems engineers with no knowledge of the job I was interviewing for. They all kept referring to the "old product line" developed in house and how great it was to work on. The implication being that the new line was shit because nobody was around who new how it worked. All the money went into developing sexy enclosures and nothing into the actual electronics. There were lots of glossy trade brochures lionizing the founders and how great they were but it was apparent that they went public to cash out and were riding the growth roller coaster to drive the stock price at the expense of capable employees who can sustain the company long term.
- pacomerh 10y agoHow did I not know about Overtone. Clojure + Music, two things I love. Thanks for this.