Search found 20 matches

by 12val12newakk
Sep 02, 2020 18:05
Forum: Beginners
Topic: How a parse from Html
Replies: 4
Views: 186

Re: How a parse from Html

thanks for answers
OS win7 or win10
you moved me in the right direction
by 12val12newakk
Sep 01, 2020 18:14
Forum: Beginners
Topic: How a parse from Html
Replies: 4
Views: 186

Re: How a parse from Html

How to apply this code ?
by 12val12newakk
Aug 30, 2020 15:23
Forum: Beginners
Topic: How a parse from Html
Replies: 4
Views: 186

How a parse from Html

How a parse number of players
from this http://217.25.231.209:26906/static/index.html

the value is here
<span id="stats_players">21</span>
Xpath /html/body/div[1]/div[2]/div[1]/span[2]
by 12val12newakk
Aug 13, 2020 6:24
Forum: Tips and Tricks
Topic: Recording sound with FB.
Replies: 4
Views: 2490

Re: Recording sound with FB.

An example is possible for 16 bit audio. ?
Not worked normally
MyFormat=InitWaveFormatEx(PCMFormat,44100,16,1)'change it
Line -(i,RecBuffer(work).lpData.lp16[i]*0.01),2 'lp16[i]*scale
by 12val12newakk
Aug 12, 2020 14:00
Forum: Projects
Topic: Recording audio
Replies: 7
Views: 1133

Re: Recording audio

How to get rid of the unnecessary from this code
(get rid of * .wav)?
Just after the event, write 10 seconds of sound to the array
1 channel 16 bit
by 12val12newakk
Jul 02, 2020 15:02
Forum: Beginners
Topic: print using questions
Replies: 3
Views: 391

print using questions

How print 208 585 224 782
As 208.5E9
need E9 (gigapaskal)
This
print using "Modul_U= ###.# ^"; Modul_U
printing parasite "%" befor
by 12val12newakk
Dec 29, 2019 10:34
Forum: Beginners
Topic: Uint (float) to color fradient
Replies: 6
Views: 322

Re: Uint (float) to color fradient

Function CLR_Gradient (Byval highest As single , Byval CLR As single ,Byval lowest As single ) As uInteger dim as uInteger temp ,grad dim as single st1 st1 =(highest - lowest ) /1024 temp = (CLR - lowest)/st1 if temp <0 then temp= 0 if temp >1023 then temp = 1023 Select Case temp Case 0 to 255 grad...
by 12val12newakk
Dec 29, 2019 7:49
Forum: Beginners
Topic: Uint (float) to color fradient
Replies: 6
Views: 322

Uint (float) to color fradient

how as the most effective convert some variable to color gradient like this ? https://i.stack.imgur.com/MDJt8.png or https://drive.google.com/file/d/1B0q4gRMf35WuQyuYJT0pTWLGXheoKW9U/view?usp=sharing 0 .... 100 to (dark?) BLUE 100 .... 200 200 ... 300 300 .... 400 400 .... 500 to GREEN 500 .... 600 ...
by 12val12newakk
Dec 21, 2019 23:55
Forum: Libraries
Topic: OpenCL (Open Coumputer Language) for FreeBASIC .
Replies: 46
Views: 6914

Re: OpenCL (Open Coumputer Language) for FreeBASIC .

Temporarily abandoned float4 I can’t expand your examples .. no way Trying to add the number of transferred arrays cloning (arguments) in kernel everything falls apart. I tearfully ask for bidirectional parameter transfer (ReadWrite) for such a simplified kernel __kernel void SimpleKernel ( __global...
by 12val12newakk
Dec 21, 2019 22:48
Forum: Libraries
Topic: OpenCL (Open Coumputer Language) for FreeBASIC .
Replies: 46
Views: 6914

Re: OpenCL (Open Coumputer Language) for FreeBASIC .

D.J.Peters ----- your examples do some direct copying.i can't use it array host_ pos (float4 ) to CreateReadWriteBuffer array host_vel (float4 ) to CreateReadWriteBuffer iteration calculation CreateReadWriteBuffer to array host_ pos (float4 ) CreateReadWriteBuffer to array host_vel (float4 ) please ...
by 12val12newakk
Dec 21, 2019 7:52
Forum: Libraries
Topic: OpenCL (Open Coumputer Language) for FreeBASIC .
Replies: 46
Views: 6914

Re: OpenCL (Open Coumputer Language) for FreeBASIC .

D.J.Peters Thank you for your help ! I could not run this code But test01 and test02 work well " Unable to build program C:\Users\I54590~1\AppData\Local\Temp\\OCL6836T1.cl:1:15: error: kernel cannot be called 'main' __kernel void main( __global float4 *dst, uint width, uint height) { ^ 1 error...
by 12val12newakk
Dec 20, 2019 12:14
Forum: Libraries
Topic: OpenCL (Open Coumputer Language) for FreeBASIC .
Replies: 46
Views: 6914

Re: OpenCL (Open Coumputer Language) for FreeBASIC .

Please can a working example
with transfer to the kernel and back two or three float4 ?
by 12val12newakk
Dec 17, 2019 17:14
Forum: Beginners
Topic: Need speedup
Replies: 23
Views: 1761

Re: Need speedup

D.J.Peters you know how to do it
from me public gratitude on all network resources
by 12val12newakk
Dec 17, 2019 16:03
Forum: Beginners
Topic: Need speedup
Replies: 23
Views: 1761

Re: Need speedup

rem======================================= rem datalist input output from sub ( all single (float32)) rem dt ,dfmax , Rmin rem global x (16384) :dim shared as single y (16384) rem global vx (16384) :dim shared as single vy (16384) rem global ax (16384) :dim shared as single ay (16384) sub Lannard_1...
by 12val12newakk
Nov 16, 2019 14:48
Forum: Beginners
Topic: Need speedup
Replies: 23
Views: 1761

Re: Need speedup

this worked sub Dr_Peters ( dt as single) dim as single df,dx,dy,df_N,df_M dim as single dfx_N,dfy_N dim as single dfx_M,dfy_M dim as single Rg ,Rgquadro,Rglue dim as single reciprocQDR,reciprocSQR dim as single dyR,dxR dfMAX=0 for n=0 to Nmass-1 for m = n+1 to Nmass df_N=0:df_M=0 : dfx_N=0:dfy_N=0 ...

Go to advanced search