A synthesizer in Unity, is it possible ...

Has any tired to code something like a synthesizer the user can use inside of a unity game …
I know its probably impossible, but it would be so amazing

Look up Physynth. It was built for the iOS by hippocoder. Pretty cool.

Very nice , is their a way to use to open source code from an existing open source snyth , in unity ?

I know this will be epic work, but I want to see whats doable …

No idea. Ask the hipster ( hippocoder ).

Its likely going to be a lot easier now with 3.5 opening up a lot more of the audio system.

Johnny, do I need Unity pro for that , like if the little game i make is successful( as in I can raise at least a few thousand from selling it) ill gladly pay for Pro .

Hmm, its on my to do list

Unity Pro’s limits have to do with certain graphical functions as well as external dll support. I didnt see any limits in the audio area.

This http://csharpsynthproject.codeplex.com/ looks very well done and a Unity port would be a natural extension.

Yo… mine is not a “genuine” synth, since it was made in 3.4 and we ran out of time to actually do synthy stuff with the design however it still synthesizes the sound pattern, note length etc…

In 3.5 you can make a proper one but I don’t know enough about the process. As I understand it you’ll need to pass an array of floats which will describe your sound :slight_smile:

Hmm, I was tinkering with the create audio code, and having a bit of fun editing the frequencies and pitch in the inspector , although it was basic being able to create audio is a starting point .

I’m more concerned about building a GUI for now , but if i’m able to keep performance good I may still look into this ,

I don’t have any applications in mind, however a synthesizer would be fun!

Would be cool and all that stuff but if anyone can tell me how to record audio inside unity I would appreciate it. Only thing I can think of (atm) is to build a basic sequencer and save your patterns to an xml file that you can open and play again next time you open the app. But thats not the holy water I’m looking for hehe. It’s nice to see I’m not the only one who’s cracking his skull how to make a musical apparatus in unity.

Btw this might be a potential problem you’re going to face when you want to make a synthesizer in unity. Good luck though :slight_smile:

Yes it is! See http://forum.unity3d.com/threads/130104-UnitySynth-full-Xplatform-midi-synth for a port of the previously mentioned C# synth.
Should be a great place to start.

Random- go ahead and play my game, if you look around you can see I have alot of the pattern stuff already step up to trigger drums and sounds- saving will be another issue though( i’ll need to find a a way to give each sound trigger a unique name , and do other complex save type stuff) …

Really nice, however it works a bit confusing. But cool you managed to get this far.

Coming from a audio engineering background, you must think carefully what you actually want to create. Remember that a synth is pre-defined wave patterns combined with frequency filters etc. The ideal application for Unity would be a Subtractive synthesizer that has two wave oscillators where you can choose wave patterns like sine, sawtooth, random etc, a noise generator and some frequency filters. If you can develop something like that, it would DRAMATICALLY increase the game audio possibilities especially for games like racing, flight sims etc. As an example, I often showed my audio engineering students how you can create amazing simulated sounds like choppers, boat engines and racing car engines by automating the parameters in a subtractive synth. So in your game, you would modigy the parameters via certain code conditions.

Hi guys,

Sorry about “raising the dead” (this thread), but I thought you might be interested in the synthesis project I’ve created and which is on the Asset Store.

http://forum.unity3d.com/threads/221974-Sound-Generator-Create-any-audio-for-your-game-RELEASED

I’m a synth developer and just released a full-featured native synthesizer (and sequencer) plugin on the store.

The standalone/VST version is Free/PWYW so you can check out what sounds you can make before getting the Unity plugin if you’d like: Helm by Matt Tytel

Sorry about dredging up an old thread!

1 Like

No no no… very cool share! Glad to see some pioneers working in this area!

1 Like

He necrod an early 2012 in early 2014 thread that you are answering in the end of 2017, that’s kind of funny