Midimaster
New member
- Joined
- Jun 20, 2020
- Messages
- 4
Hi, I was very active on blitzforum until two years ago. Now I'm happy to see that the monkey project is still alive. At the moment I try to transfer a blitzmax app to android and want to use CERBERUS X. But unfortunately I see, that there are nearly no modules to manipulate sounds like it was possible on BlitzMax. What I would need is a loader for WAV audio samples and a way to manipulate them. At the end I would like to use this RAM block as a source for the PlaySound command as it was possible in BlitzMax:
The Audiofiles have a length of typically 3-5min. and size of 10-20MB, 16bit-MONO 48kHz or 44.1kHz. Does anybody have experiences with this in CERBERUS?
Code:
Local Sample:TAudioSample=LoadAudioSample(FileName$)
Local Work:TStream= CreateRamStream(Sample.samples,Sample.Length*2,1,1)
....
ReadySound:TSound=LoadSound(Sample)
Channel:TChannel=PlaySound(ReadySound)
The Audiofiles have a length of typically 3-5min. and size of 10-20MB, 16bit-MONO 48kHz or 44.1kHz. Does anybody have experiences with this in CERBERUS?