Search found 68 matches

by mguzdial
Jul 6th, '16, 19:52
Forum: Projects
Topic: SoundRecorder, but how do I do layout?
Replies: 6
Views: 10550

Re: SoundRecorder, but how do I do layout?

Yup, Stephen was right -- stop all sounds works. I just hadn't set my Playing shared variable correctly so that I was stopping all sounds correctly. Attached version works. Still can't figure out how to get a morph to stay fixed in place. Does setAlpha change the position of the morph?
by mguzdial
Jul 6th, '16, 19:37
Forum: Fixed Bugs
Topic: Is FFT broken? [FIXED]
Replies: 4
Views: 13407

Is FFT broken? [FIXED]

I've not worked with FFT much, so I can't look at the FFT code to see if it's broken. I suspect that the FFT block is still expecting +/- 1.0, instead of +/- 32K. I've recorded a bunch of samples which I can play fine, but when I try to get the FFT of those samples, I get an error.
FFT-bug.png
by mguzdial
Jul 6th, '16, 19:25
Forum: Projects
Topic: SoundRecorder, but how do I do layout?
Replies: 6
Views: 10550

Re: SoundRecorder, but how do I do layout?

When I did shift-click, I could drag Record around. Play snapped to its side when I hit Go, but then was in a forever loop. It's the Status morph that I was dragging into place, but it wouldn't stay there. I just tried again. I can drag it into place next to the Play/Record buttons. But when I set A...
by mguzdial
Jul 3rd, '16, 16:13
Forum: Projects
Topic: SoundRecorder, but how do I do layout?
Replies: 6
Views: 10550

SoundRecorder, but how do I do layout?

Here's the working but ugly SoundRecorder project. Click Record to record a sound. The status will tell you that it's recording. Click Stop to stop the recording. Click Play to play the sound. The status will show you that it's playing. Click Stop to stop the playback -- but as Steve pointed out, it...
by mguzdial
Jul 3rd, '16, 16:05
Forum: Fixed Bugs
Topic: Unclickable Stop button (actually, stuck sound input) [FIXED]
Replies: 1
Views: 10381

Unclickable Stop button (actually, stuck sound input) [FIXED]

This may not be a bug as much as my misunderstanding of GP. As I mentioned, I'm working on a sound recorder. Here's the When Clicked script for the Record button: doesntWorkRecording.png (The say "Clicked!" is my debugging.) This would record successfully, but I could never get it to stop. Here was ...
by mguzdial
Jul 3rd, '16, 15:59
Forum: Bugs
Topic: Can't scroll to choose among my When's
Replies: 2
Views: 7599

Can't scroll to choose among my When's

I typed shift-click so that I could type code to select. I typed "when." I got a scrolling pane of "When" blocks to choose from. I wanted "When I receive" so I tried to scroll. BOOM! Bang! Crash! I got a cascade of error dialogues which took me awhile to get out of. (They were nested on top of one a...
by mguzdial
Jul 3rd, '16, 15:56
Forum: Projects
Topic: Click to Stop a Process (a spinning morph)
Replies: 2
Views: 7966

Re: Click to Stop a Process (a spinning morph)

I'm working on a sound recorder, where there is a Record button and a Play button, and a Stop button that stops either. Both of them have some cleaning up to do after the playing or recording is finished, so I want to send a signal to stop instead.
by mguzdial
Jul 2nd, '16, 20:57
Forum: Requests
Topic: blurry font [FIXED?]
Replies: 2
Views: 6932

Re: blurry font

I"ve noticed this, too. I think it's because the text is highlighted when you hit "Save"
by mguzdial
Jul 2nd, '16, 20:55
Forum: Projects
Topic: Click to Stop a Process (a spinning morph)
Replies: 2
Views: 7966

Click to Stop a Process (a spinning morph)

I was trying to figure out how to get a "Stop" button to work, and I kept getting it wrong. So I built this small example as a way to test out the ideas. It works, and I realized that it might be a useful example for someone else trying to understand how to make this work. Click "Go" to start it. st...
by mguzdial
May 31st, '16, 19:11
Forum: Bugs
Topic: Reliable crash: Don't make an array into a number or string!
Replies: 1
Views: 6031

Reliable crash: Don't make an array into a number or string!

I was playing with the sound blocks in 4.5 and found that I could reliably hang 4.5 by making an odd mistake. - Pull out the Play samples block. - Forget that you need to put an array in there, and instead, try to change the slot (by right-clicking) into either a number or string. GP goes away and n...