I'm going further by saying that those who don't have 4000 messages can't write
Search found 14 matches
- Thu Aug 14, 2025 12:33 pm
- Forum: Coding Questions
- Topic: why I cannot write a procedure in the loop event
- Replies: 19
- Views: 2396
Re: why I cannot write a procedure in the loop event
If there isn't window event (like move mouse) there isn't drawing.
I'm going further by saying that those who don't have 4000 messages can't write
I'm going further by saying that those who don't have 4000 messages can't write
- Wed Aug 13, 2025 2:15 pm
- Forum: Coding Questions
- Topic: win or Mac, this code crashes
- Replies: 6
- Views: 853
Re: win or Mac, this code crashes
It seems to get that with F5 which is the using of debugger by default (in my case).
I have used enableExplicit and all variable takes 8 bytes (.I or .d).
WhaitEvent() is used to get more reactivity.
I have to test it on Windows 11.
Here's the code
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; sndfile ...
I have used enableExplicit and all variable takes 8 bytes (.I or .d).
WhaitEvent() is used to get more reactivity.
I have to test it on Windows 11.
Here's the code
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; sndfile ...
- Wed Aug 13, 2025 2:12 pm
- Forum: Coding Questions
- Topic: why I cannot write a procedure in the loop event
- Replies: 19
- Views: 2396
Re: why I cannot write a procedure in the loop event
It seems to get that with F5 which is the using of debugger by default (in my case).
I have used enableExplicit and all variable takes 8 bytes (.i or .d).
WhaitEvent() is used to get more reactivity.
I have to test it on Windows 11.
I have used enableExplicit and all variable takes 8 bytes (.i or .d).
WhaitEvent() is used to get more reactivity.
I have to test it on Windows 11.
- Tue Aug 12, 2025 7:52 am
- Forum: Coding Questions
- Topic: why I cannot write a procedure in the loop event
- Replies: 19
- Views: 2396
Re: why I cannot write a procedure in the loop event
I have posted in "Coding questions". viewtopic.php?t=87295
Here the GitHub project :
https://github.com/AudioNiceMicroContro ... -show-play
Here the GitHub project :
https://github.com/AudioNiceMicroContro ... -show-play
- Tue Aug 12, 2025 6:52 am
- Forum: Coding Questions
- Topic: win or Mac, this code crashes
- Replies: 6
- Views: 853
win or Mac, this code crashes
Maybe you are interesting to solve
viewtopic.php?t=87290
here the GitHub project :
https://github.com/AudioNiceMicroContro ... -show-play
viewtopic.php?t=87290
here the GitHub project :
https://github.com/AudioNiceMicroContro ... -show-play
- Tue Aug 12, 2025 6:48 am
- Forum: Coding Questions
- Topic: on Mac freezes clicks if his frequency is too high
- Replies: 4
- Views: 688
Re: on Mac freezes clicks if their frequency is too high
Thanks.
I have answered in viewtopic.php?t=87290
and post in "Coding Questions"
viewtopic.php?t=87295
I have answered in viewtopic.php?t=87290
and post in "Coding Questions"
viewtopic.php?t=87295
- Mon Aug 11, 2025 5:15 pm
- Forum: Coding Questions
- Topic: on Mac freezes clicks if his frequency is too high
- Replies: 4
- Views: 688
on Mac freezes clicks if his frequency is too high
Hello,
I noticed that this version of the program on Mac freezes clicks if their frequency is too high.
You have to wait almost a second between each click...
; Constantes
#LARGEUR = 500
#HAUTEUR = 200
#HAUTEUR_BOUTON = 30
#ESPACEMENT = 10
; Création de la fenêtre principale
OpenWindow(0, 0, 0 ...
I noticed that this version of the program on Mac freezes clicks if their frequency is too high.
You have to wait almost a second between each click...
; Constantes
#LARGEUR = 500
#HAUTEUR = 200
#HAUTEUR_BOUTON = 30
#ESPACEMENT = 10
; Création de la fenêtre principale
OpenWindow(0, 0, 0 ...
- Mon Aug 11, 2025 4:59 pm
- Forum: Coding Questions
- Topic: why I cannot write a procedure in the loop event
- Replies: 19
- Views: 2396
Re: why I cannot write a procedure in the loop event
To be more precise, it blocks in the return of the function. It's like it doesn't like the context of the procedure in the loop.
During execution it put in red the line:
ProcedureReturn 0
from this code:
Debug "monCanva : "+Str(monCanva)
Procedure dessine(canva.i, x.l, Array moyennes.d(1)); 1 ...
During execution it put in red the line:
ProcedureReturn 0
from this code:
Debug "monCanva : "+Str(monCanva)
Procedure dessine(canva.i, x.l, Array moyennes.d(1)); 1 ...
- Mon Aug 11, 2025 3:52 pm
- Forum: Coding Questions
- Topic: why I cannot write a procedure in the loop event
- Replies: 19
- Views: 2396
Re: why I cannot write a procedure in the loop event
Yes, I have tried but without success. 100 value seems ok ...
- Mon Aug 11, 2025 12:56 pm
- Forum: Coding Questions
- Topic: why I cannot write a procedure in the loop event
- Replies: 19
- Views: 2396
Re: why I cannot write a procedure in the loop event
here the Mac code if you want. Just install port audio and libsndfile with brew.
Else compile portaudio with visual studio. I got the dll and .lib.and If you want I give the lib on GitHub. Tell me...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; sndfile ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; --- Constantes ...
Else compile portaudio with visual studio. I got the dll and .lib.and If you want I give the lib on GitHub. Tell me...
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; sndfile ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; --- Constantes ...
- Mon Aug 11, 2025 12:26 pm
- Forum: Coding Questions
- Topic: why I cannot write a procedure in the loop event
- Replies: 19
- Views: 2396
Re: why I cannot write a procedure in the loop event
here the code for windows
Bug code (from line 293).
Lib path are on lines 12 and 77
Wav path is in line 137
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; sndfile ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; --- Constantes libsndfile ---
#SFM_READ = $10 ; Mode lecture pour sf_open (0x10)
#SFM_WRITE = $20
#SFM ...
Bug code (from line 293).
Lib path are on lines 12 and 77
Wav path is in line 137
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; sndfile ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; --- Constantes libsndfile ---
#SFM_READ = $10 ; Mode lecture pour sf_open (0x10)
#SFM_WRITE = $20
#SFM ...
- Mon Aug 11, 2025 11:42 am
- Forum: Coding Questions
- Topic: why I cannot write a procedure in the loop event
- Replies: 19
- Views: 2396
why I cannot write a procedure in the loop event
Hello,
why I cannot write a procedure in the loop event (it crashes after 5-10 second). I have to write all the code from procedure in the loop.
It is just a procedure which takes the number of a gadget...
Crash code
Procedure dessine(canva.l, x.l, Array moyennes.d(1)); 1 pOUR VECTEUR ...
why I cannot write a procedure in the loop event (it crashes after 5-10 second). I have to write all the code from procedure in the loop.
It is just a procedure which takes the number of a gadget...
Crash code
Procedure dessine(canva.l, x.l, Array moyennes.d(1)); 1 pOUR VECTEUR ...
- Wed Jul 30, 2025 7:19 pm
- Forum: Coding Questions
- Topic: .dll portaudio bug import on win
- Replies: 2
- Views: 349
- Wed Jul 30, 2025 8:28 am
- Forum: Coding Questions
- Topic: .dll portaudio bug import on win
- Replies: 2
- Views: 349
.dll portaudio bug import on win
Hello,
I get this error with windows . (It is ok with MacOs, see https://www.purebasic.fr/french/viewtopic.php?t=19391)
From this line :
ImportC "C:|Users\detro\Downloads\portaudio_sndfile\portaudio-19.7.0\build\msvc|x64\Release\portaudio_x64.dl]"
I get
error:
C:\Users\detro\Downloads\portaudio ...
I get this error with windows . (It is ok with MacOs, see https://www.purebasic.fr/french/viewtopic.php?t=19391)
From this line :
ImportC "C:|Users\detro\Downloads\portaudio_sndfile\portaudio-19.7.0\build\msvc|x64\Release\portaudio_x64.dl]"
I get
error:
C:\Users\detro\Downloads\portaudio ...