Hi I´ve a question because I don´t know own make in Glbasic.
I want make a sound sequencer but I don´t know how touch the sound internally, in example pitch, velocity, and more properties of the sounds.
A solution I think is just charge in memory the sounds, but I don´t want to do this.
Another question what library of audio uses Glbasic, Open Al.?¿
And another quetion. For make the pitch and this other FX sounds I can mix Glbasic whit Xcode?¿, but in this case in another platforms don´t works.
Thanks, for your time.
Kinds Regards,
Iván J.
You can't pitch sounds played with PLAYSOUND, yet. The problem is, that SDL_mixer does not support it. Writing my own x-platform sound engine is something I'd like to avoid.
You can however write a temporary WAV file and load that. I'll try to do that with the SEUCK program. That way I hope to be able to implement SFXR.
You can access the midi sequencer in a pc to adjust all those things...but youre limited to the standard midi instrument list.
These is a midi lib somewhere in the forums, but i think you will need to learn the midi format to understand it...moru wrote it.
SFXR as part of GLB? Excellent!
My midilib is only for writing midi files, you can't play tones directly. I would like to be able to do that...
Quote from: Kitty Hello on 2010-Aug-25
You can't pitch sounds played with PLAYSOUND, yet. The problem is, that SDL_mixer does not support it. Writing my own x-platform sound engine is something I'd like to avoid.
You can however write a temporary WAV file and load that. I'll try to do that with the SEUCK program. That way I hope to be able to implement SFXR.
SDL_mixer ?
I am soon about to relase som stuff, but ... SDL as an foundation in GLBasic ?
Isn't SDL GPL Licensed ?
http://www.libsdl.org/license.php
Perhaps there is a generic wav file creation/manipulation library that can to this? :o
One other reason why I currently would like internal sound creation/storage so that there are no media files, just an exe with the creation or storage of data. For example, simply storing image and sound data as DATA text in the code and then writing it to the app user folder to be uses when needed. This could be the same issue for fonts where the font file should be able to be created in run-time.
Does GLB allow creation of blocks of memory that you can peek and poke? I don't remember. I think I might be getting confused with another language I have which I used to use.
Yes, I'll try to create some sort of MEM2SOUND function that can load sounds from a wave-array. Might need some time, though. iPhone bugfix is priority #1.
The shame is, I have no iPhone 3GS, nor does the iPad support multitasking. :/
Quote from: MrTAToad on 2010-Aug-26
http://www.libsdl.org/license.php
Thanks MrTAToad :good:
Then business will proceed as usual for me :)