MIDI file writer or wav or ogg?
Posted: Sun Jan 20, 2019 10:12 am
Hello, is there a library to create midi files, or wav files or ogg files in PB?
Thanks
Thanks
http://www.purebasic.com
https://www.purebasic.fr/english/
I am sorry very much. The source code is the first you have given to me. viewtopic.php?p=412988#p412988infratec wrote:About which source code you are writing?
There are so many codes insided the links, it cost me simply to much time to check all of them.
I guess u are using a older version or the demo.bloiiing wrote:I am sorry very much. The source code is the first you have given to me. viewtopic.php?p=412988#p412988infratec wrote:About which source code you are writing?
There are so many codes insided the links, it cost me simply to much time to check all of them.
I don't know understand why the structure is not defined in this source... But I have seen the link to the midi file specifications and I think I will use this way.
Thank you very much.
Code: Select all
Structure WAVEFORMATEX
wFormatTag.u
nChannels.u
nSamplesPerSec.l
nAvgBytesPerSec.l
nBlockAlign.u
wBitsPerSample.u
cbSize.u
EndStructureCode: Select all
Structure WAVEFORMATEX
wFormatTag.u
nChannels.u
nSamplesPerSec.l
nAvgBytesPerSec.l
nBlockAlign.u
wBitsPerSample.u
cbSize.u
EndStructureAre you sure? Because I use the version that I have downloaded from my user account. I registered PB few years ago. And It works with others programs. But I have forgotten to say you that I am under Linux. I am going to try under windows and I will come back to let you know if it works.NicTheQuick wrote:He guesses you are using the demo version of Purebasic. The demo version does not include any structures or constants from the Windows API. That the reason why the structur and constant can not be found.
I have just verified and it is the reason. It works fine on windows without changes. I had not seem there where windows constants.bloiiing wrote:Are you sure? Because I use the version that I have downloaded from my user account. I registered PB few years ago. And It works with others programs. But I have forgotten to say you that I am under Linux. I am going to try under windows and I will come back to let you know if it works.NicTheQuick wrote:He guesses you are using the demo version of Purebasic. The demo version does not include any structures or constants from the Windows API. That the reason why the structur and constant can not be found.
Thank you.