Realtime Sound Synthesis?
BlitzMax Forums/BlitzMax Programming/Realtime Sound Synthesis?
| ||
What's the state of realtime synthesis in Blitzmax? I can see that Taron was working on some and came up with a Theremin-like interface with the aid of DrPetter. What I would really like is a realtime synthesizer that would take SFXR parameter lists as input. Can't be that hard... can it? You could have a command SynthSound() just like PlaySound that synthesizes and plays a Paramlist. You could also have it memoize the paramlist into a canned sound to make subsequent plays easier on the CPU. |
| ||
Check the TAudioSample object. There's not much in the way of functionality, but it's at least a solid foundation. |
| ||
Will do that. There is some code on here by Taron that works very nicely for realtime-- search the word theremin and it should bring up his post. It just has sine waves but maybe with some work it could get square waves. Another more ambitious idea is emulating the C64 SID. |
| ||
yep, it's fully possible. I've got a complete fairlight system running here all built with blitz, but I did have to heavily modify the source codes for audio though :) |
| ||
Explain fair light system. You emulated a Fairlight? |
| ||
Explain fair light system. You emulated a Fairlight? yep http://www.visualjockey.com/wave2/ it's aproximately the power of 32 Series III's |
| ||
Given TAudiosample are there any other ideas you might have about realtime synthesis? Think Defender and Robotron, games of that vintage. If it could do realtime music at the same time that would be all the better. |
| ||
Checkout the Codearchive and skidracers code for streamed audio. Using streaming you can "live" add your sounds. Does not work for me yet when using OGG-decoded data but for normal mono/stereo tones it works pretty well. bye Ron |