Ok. I have a work now. I am going to take a look at this code.
Thank you. Have a nice day!
Search found 14 matches
- Fri Mar 27, 2020 12:19 pm
- Forum: Coding Questions
- Topic: Writing an audio file?
- Replies: 8
- Views: 2299
- Tue Mar 24, 2020 11:46 am
- Forum: Coding Questions
- Topic: Writing an audio file?
- Replies: 8
- Views: 2299
Re: Writing an audio file?
Thank you very very much. I'm going to take a look of this.
Have a great day.
Have a great day.
- Tue Mar 24, 2020 4:49 am
- Forum: Coding Questions
- Topic: Writing an audio file?
- Replies: 8
- Views: 2299
Re: Writing an audio file?
A WAV file is no problem (search for RIFF here in the forum)
MP3 needs an external lib
Ogg should be possible if you import the needed functions with Import from
vorbisfile.lib and ogg.lib
Thank you infratec. It helps for a wav file. Do you know the name of an mp3 lib? And where are the ...
MP3 needs an external lib
Ogg should be possible if you import the needed functions with Import from
vorbisfile.lib and ogg.lib
Thank you infratec. It helps for a wav file. Do you know the name of an mp3 lib? And where are the ...
- Sun Mar 22, 2020 4:29 am
- Forum: Coding Questions
- Topic: Writing an audio file?
- Replies: 8
- Views: 2299
Writing an audio file?
Hello!
I would like to know if there is a way to encode and write an audio file? Is there a framework for PB? I want to write mp3 or ogg files...
Thank you and have a nice day.
I would like to know if there is a way to encode and write an audio file? Is there a framework for PB? I want to write mp3 or ogg files...
Thank you and have a nice day.
- Thu Jun 06, 2019 7:16 pm
- Forum: The PureBasic Form Designer
- Topic: SplitterGadget whith mouse.
- Replies: 7
- Views: 9694
Re: SplitterGadget whith mouse.
It doesn't works because I can't choose the parent. It give me only window_0 as possible parent. Follow the order indicated: (draw containers first)
1. Draw Container_0 and Container_1
2. Draw Gadget(s)
3. For each gadget, select 'Parent' (you see Container_0 and Container_1 in dialog box)
4. Draw ...
1. Draw Container_0 and Container_1
2. Draw Gadget(s)
3. For each gadget, select 'Parent' (you see Container_0 and Container_1 in dialog box)
4. Draw ...
- Thu Jun 06, 2019 4:30 am
- Forum: The PureBasic Form Designer
- Topic: SplitterGadget whith mouse.
- Replies: 7
- Views: 9694
Re: SplitterGadget whith mouse.
The Form Designer "ejects" gadgets when you put a splitter around a ContainerGadget. (Bug?)
To counter this, you can do
- Take back each gadget and give it the Parent property to the desired container, because it has been ejected from ContainerGadget.
The gadgets in the containers are well ...
To counter this, you can do
- Take back each gadget and give it the Parent property to the desired container, because it has been ejected from ContainerGadget.
The gadgets in the containers are well ...
- Mon Jun 03, 2019 2:11 pm
- Forum: The PureBasic Form Designer
- Topic: SplitterGadget whith mouse.
- Replies: 7
- Views: 9694
Re: SplitterGadget whith mouse.
The Form Designer "ejects" gadgets when you put a splitter around a ContainerGadget. (Bug?)
To counter this, you can do
- Make the container
- Put the gadgets (with the Parent property in the desired container)
- Trace the splitter
- Take back each gadget and give it the Parent property to the ...
To counter this, you can do
- Make the container
- Put the gadgets (with the Parent property in the desired container)
- Trace the splitter
- Take back each gadget and give it the Parent property to the ...
- Sun Jun 02, 2019 8:07 pm
- Forum: The PureBasic Form Designer
- Topic: SplitterGadget whith mouse.
- Replies: 7
- Views: 9694
SplitterGadget whith mouse.
Hello,
I'm trying to setup a splittergadget and it is not working as expected. I need help because I don't know how to do what I want.
Problem: I have one container which contains a text label an a text editor. I duplicate this container. So I have 2 containers with a text label and a text editor ...
I'm trying to setup a splittergadget and it is not working as expected. I need help because I don't know how to do what I want.
Problem: I have one container which contains a text label an a text editor. I duplicate this container. So I have 2 containers with a text label and a text editor ...
- Mon Jan 21, 2019 12:50 pm
- Forum: Coding Questions
- Topic: MIDI file writer or wav or ogg?
- Replies: 9
- Views: 2246
Re: MIDI file writer or wav or ogg?
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.
Are you sure? Because I use the version that I have downloaded from my user account. I ...
Are you sure? Because I use the version that I have downloaded from my user account. I ...
- Mon Jan 21, 2019 12:36 pm
- Forum: Coding Questions
- Topic: MIDI file writer or wav or ogg?
- Replies: 9
- Views: 2246
Re: MIDI file writer or wav or ogg?
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.
Are you sure? Because I use the version that I have downloaded from my user account. I ...
Are you sure? Because I use the version that I have downloaded from my user account. I ...
- Mon Jan 21, 2019 11:25 am
- Forum: Coding Questions
- Topic: MIDI file writer or wav or ogg?
- Replies: 9
- Views: 2246
Re: MIDI file writer or wav or ogg?
I guess u are using a older version or the demo.
Add this and it should work:
Structure WAVEFORMATEX
wFormatTag.u
nChannels.u
nSamplesPerSec.l
nAvgBytesPerSec.l
nBlockAlign.u
wBitsPerSample.u
cbSize.u
EndStructure [/quote]
Thank you for the structure. But where can I find the new version ...
Add this and it should work:
Structure WAVEFORMATEX
wFormatTag.u
nChannels.u
nSamplesPerSec.l
nAvgBytesPerSec.l
nBlockAlign.u
wBitsPerSample.u
cbSize.u
EndStructure [/quote]
Thank you for the structure. But where can I find the new version ...
- Sun Jan 20, 2019 4:01 pm
- Forum: Coding Questions
- Topic: MIDI file writer or wav or ogg?
- Replies: 9
- Views: 2246
Re: MIDI file writer or wav or ogg?
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. :wink:
I am sorry very much. The source code is the first you have given to me. https://www.purebasic.fr/english/viewtopic.php?p=412988#p412988
I don't know ...
There are so many codes insided the links, it cost me simply to much time to check all of them. :wink:
I am sorry very much. The source code is the first you have given to me. https://www.purebasic.fr/english/viewtopic.php?p=412988#p412988
I don't know ...
- Sun Jan 20, 2019 2:00 pm
- Forum: Coding Questions
- Topic: MIDI file writer or wav or ogg?
- Replies: 9
- Views: 2246
Re: MIDI file writer or wav or ogg?
Thank you for the link. I have this error: Structure not found: WAVEFORMATEX while trying to run the program. Perhaps you could say me why this error?
Thank you.
Thank you.
- Sun Jan 20, 2019 10:12 am
- Forum: Coding Questions
- Topic: MIDI file writer or wav or ogg?
- Replies: 9
- Views: 2246
MIDI file writer or wav or ogg?
Hello, is there a library to create midi files, or wav files or ogg files in PB?
Thanks
Thanks