Search found 646 matches
- Apr 23, 2018 22:48
- Forum: General
- Topic: [solved]fbc and *.bas ?
- Replies: 3
- Views: 37
Re: fbc and *.bas ?
Does fbc [!_]*.bas work?
- Apr 23, 2018 21:25
- Forum: Libraries
- Topic: fbsound 1.0 Linux Windows 32/64-bit (wav mp3 ogg mod it xm s3m)
- Replies: 225
- Views: 44750
Re: fbsound 1.0 Linux Windows 32/64-bit (wav mp3 ogg mod it xm s3m)
... Thanks, I was already on the right track apparently. With fbs_Play_Sound(hSound, 1) : fbs_Get_SoundLoops(hSound, @nLoops) seems do do the job for me most convenient. Before 0, during 1, ended 0 fbs_Get_SoundPosition(hSound, @sPos) requires a rewind, otherwise: Before 0.0, during 0.0 ... 1.0, en...
- Apr 22, 2018 23:11
- Forum: Libraries
- Topic: fbsound 1.0 Linux Windows 32/64-bit (wav mp3 ogg mod it xm s3m)
- Replies: 225
- Views: 44750
Re: fbsound 1.0 Linux Windows 32/64-bit (wav mp3 ogg mod it xm s3m)
May I ask a short question here?
How do I check that a sound object is being played?
E.g. On press "h", I want to sound a horn, but only if the horn is not already active.
How do I check that a sound object is being played?
E.g. On press "h", I want to sound a horn, but only if the horn is not already active.
- Apr 21, 2018 12:31
- Forum: Libraries
- Topic: fbsound 1.0 Linux Windows 32/64-bit (wav mp3 ogg mod it xm s3m)
- Replies: 225
- Views: 44750
Re: fbsound 1.0 Linux Windows 32/64-bit (wav mp3 ogg mod it xm s3m)
I had to install some additional 'libasound' libraries, but I hear sound now! Thanks!
Fbc 1.04.0 32-bit, Ubuntu Mate 16.04 64-bit.
I'll run all the tests later today...
Edit: All examples run as expected.
Fbc 1.04.0 32-bit, Ubuntu Mate 16.04 64-bit.
I'll run all the tests later today...
Edit: All examples run as expected.
Re: Squares
I've read that the U.S. Govt. was able to maintain a 16 minute orbit..So a 16 minute orbit must be about 150 miles up , with my ether theory?? Where did you read that? A Donald Trump tweet? I think it was fake news. Fastest orbital period for Earth is just above the surface (ignoring air resistance...
- Apr 15, 2018 14:32
- Forum: Libraries
- Topic: fbsound 1.0 Linux Windows 32/64-bit (wav mp3 ogg mod it xm s3m)
- Replies: 225
- Views: 44750
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
From what I read here (https://stackoverflow.com/questions/2901694/programmatically-detect-number-of-physical-processors-cores-or-if-hyper-threadin) and here (https://wiki.osdev.org/Detecting_CPU_Topology_(80x86)) CPUID function aex=1 gives the ' logical core count'. See links for 'physical' core co...
- Apr 14, 2018 21:00
- Forum: Libraries
- Topic: fbsound 1.0 Linux Windows 32/64-bit (wav mp3 ogg mod it xm s3m)
- Replies: 225
- Views: 44750
Re: fbSound for Linux x86 Win32 (wav mp3 ogg mod it xm s3m)
GenuineIntel, X86, 16 cpu cores, CPUID, FPU, RDTSC, CMOVxx, FCMOVxx, MMX I,II, SSE,2,3,4.1,4.2 ~2593 MHz (fbc = 1.04.0 32-bit, Windows 8.1) GenuineIntel, X86, 16 cpu cores, CPUID, FPU, RDTSC, CMOVxx, FCMOVxx, MMX I,II, SSE,2,3,4.1,4.2 ~2593 MHz (so same) (fbc = 1.04.0 32-bit, Ubuntu Mate 64bit) cat ...
- Apr 13, 2018 16:24
- Forum: General
- Topic: Access inside objects
- Replies: 18
- Views: 390
Re: Access inside objects
To reduce these kind of pointer problems, I mostly chose the pointer names in such a way that I know that it is a pointer. E.g.: pCanvas or canvasPtr.
- Apr 12, 2018 21:36
- Forum: General
- Topic: Access inside objects
- Replies: 18
- Views: 390
Re: Access inside objects
This part is suspicious: GridStr [ ((Yr-1)*Cwijd)+Xr ] Cwijd is -2791790 when printing "H" of "Hello" Do some min/max checks here. Probably anything that uses [ ] is suspicious. I don't think freebasic range checking (with -exx) does not work for this. Probably safer to use redim...
- Apr 12, 2018 20:17
- Forum: General
- Topic: Access inside objects
- Replies: 18
- Views: 390
Re: Access inside objects
Here it crashes when trying to print "a" of "Vera" (last character). edit: Above is maybe wrong. But: For lus=0 to Len(Value)-1 GDisplay(asc(mid(Value,lus,1))) next Should be: For lus = 1 to Len(Value) GDisplay(asc(mid(Value,lus,1))) next Or (simpler): For lus = 0 to Len(Value)-1...
Re: Squares
I agree. Albert seems intentionally obfuscating things.
Re: Squares
I quit. This is useless. Good luck.
Re: Squares
Earths Gravity pulls objects in at 9.8 meters a second... at the surface, due to the earth's mass As long as you are free falling you have no weight.. Only the acceleration of gravity. yes You don't feel weight , till you land on a surface. and possibly break some bones or worse Once you land on a ...
Re: Squares
The term 'weight' can better left be out. It is not very well defined. Wikipedia: "In science and engineering, the weight of an object is related to the amount of force acting on the object, either due to gravity or to a reaction force that holds it in place." Unit: Newton (N). In daily us...
Re: Squares
albert wrote:I'm getting myself confused!!!
Clearly, because every following statement is completely wrong.