Join us on Discord!
You can help CodeWalrus stay online by donating here.

Haskell Audio Synthesizer

Started by unknownloner, January 20, 2015, 06:56:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Dream of Omnimaga

Hmm interesting sound to say the least :P
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

unknownloner


  
/)

Dream of Omnimaga

Wait, are those generated by your synthetizer or are they pre-recorded wavs with support for WAV files added to your synthetizer? O.O
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

unknownloner


  
/)

Dream of Omnimaga

That is awesome then. By the way, do you have any plans to use this in a game or something? It would be cool to have a small computer game with old school graphics and sound. Or could this be ported to an old platform?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

unknownloner

Old platform: theoretically yes because there is a Haskell compiler which outputs C code, which can then be run on any system that supports C. In practice probably not, because any system GHC can't compile too directly is probably too slow to run it.

I have been wanting to use this to write a demo in the style of those demoscene demos where everything (textures/audio/models) are generated at run time. Generally those are 64K demos, but I can't get that small with haskell so I'd just ignore the filesize. Here's an example btw:

  
/)

Dream of Omnimaga

Ah yeah I know some of those. I remember seeing a 4K demo where the music and graphics were the same quality as many recent games. It was incredible. By the way if you ever make such demo do you plan to participate to contests?
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

unknownloner

#22
This is more me learning how to make nice synths than advances on the actual code, but I started messing around with creating synths with a combination of detuned oscillators, and I also moved into stereo! I messed with the attack to make it act a little like a string instrument I guess, in that it ramps up relatively slowly.


EDIT:
Added some bass

  
/)

Dream of Omnimaga

Ooh, the first one sounds very close to NES. :D

Although you plan to do demos with this, it would be cool if you wrote short covers of my songs :P (eg It's the end of agony intro)
  • Calculators owned: TI-82 Advanced Edition Python TI-84+ TI-84+CSE TI-84+CE TI-84+CEP TI-86 TI-89T cfx-9940GT fx-7400G+ fx 1.0+ fx-9750G+ fx-9860G fx-CG10 HP 49g+ HP 39g+ HP 39gs (bricked) HP 39gII HP Prime G1 HP Prime G2 Sharp EL-9600C
  • Consoles, mobile devices and vintage computers owned: Huawei P30 Lite, Moto G 5G, Nintendo 64 (broken), Playstation, Wii U

Powered by EzPortal