Search found 68 matches

by mguzdial
Dec 4th, '16, 18:49
Forum: Projects
Topic: soundExtension for manipulating samples
Replies: 1
Views: 8569

soundExtension for manipulating samples

I'm attaching the soundExtension that I've been working on, along with a makeEcho example. The soundExtension provides a set of new blocks for manipulating sound sample arrays. If you open it as a project, you can see a bunch of examples at the top of the script area. soundExtension.jpg If you open ...
by mguzdial
Nov 15th, '16, 16:35
Forum: Working with GP
Topic: Can I make expanding input blocks?
Replies: 2
Views: 8408

Re: Can I make expanding input blocks?

It does, thanks! "Repeat last section" didn't communicate to me that that's how we create flexible input. We might want to rephrase that prompt.
by mguzdial
Oct 19th, '16, 15:55
Forum: Working with GP
Topic: Can I make expanding input blocks?
Replies: 2
Views: 8408

Can I make expanding input blocks?

I want to create a mixer block that takes 2, 3, or 4 arrays of samples from sounds and returns a mixed sound. I've got the code working so that I accept three inputs and it will work with 1, 2, or 3 inputs -- but the "extra" inputs are still hanging around. Is there a way to create optional inputs a...
by mguzdial
Aug 5th, '16, 15:43
Forum: Requests
Topic: Loading multiple modules at once
Replies: 2
Views: 7977

Loading multiple modules at once

I can imagine that a GP user might want to load several modules, remixing from several sources. I can imagine sharing a project where I specify "You'll need to preload modules X, Y, and Z." How might we support this? Some ideas: - A "Modules/Extensions" folder, where all GP extensions in that folder...
by mguzdial
Jul 20th, '16, 02:33
Forum: Working with GP
Topic: Why is this loop running if the flag is 0?
Replies: 1
Views: 7312

Why is this loop running if the flag is 0?

I'm working on creating FFT and Sonogram views of sound as they're being recorded. I'm storing the current sound input in a shared variable soundseg, then adding all segments together (for later playback) and also creating a list of lists of segments (for a sonogram view). I have a separate instance...
by mguzdial
Jul 19th, '16, 22:38
Forum: Fixed Bugs
Topic: Is FFT broken? [FIXED]
Replies: 4
Views: 12575

Re: Is FFT broken?

Thanks -- that worked! It was a one-line change to AuthoringCommands.gp that let me use FFT with a list: to fftOfSamples samples { samples = (toArray samples) n = (count samples) if (n < 2) { return (array) } if (not (isPowerOfTwo n)) { fftSize = 2 while (and (fftSize < 8192) ((n >= (2 * fftSize))))...
by mguzdial
Jul 19th, '16, 22:31
Forum: Extending GP
Topic: Is it module time?
Replies: 1
Views: 10817

Is it module time?

I see a modules folder inside GP 050, and I can even read the .gpm files. Do you want us to start playing with creating modules?
by mguzdial
Jul 6th, '16, 21:33
Forum: Projects
Topic: SoundRecorder, but how do I do layout?
Replies: 6
Views: 10454

Re: SoundRecorder, but how do I do layout?

No, there's no layout bug. I just had a goTo:x:y lying around. <sigh>

This version is my most correct version yet.
by mguzdial
Jul 6th, '16, 20:30
Forum: Fixed Bugs
Topic: Typing in Workspace bug [FIXED]
Replies: 3
Views: 12069

Typing in Workspace bug [FIXED]

I finally was able to capture a UI bug I've been facing for awhile. I convert a stack of blocks to a text block and place the cursor in the middle of the word. (It only seems to happen in the middle of the word, not at the end of a word or when selecting a whole word with a double-click.) Workspaceb...
by mguzdial
Jul 6th, '16, 20:19
Forum: Fixed Bugs
Topic: Is FFT broken? [FIXED]
Replies: 4
Views: 12575

Re: Is FFT broken?

Okay, I think I've verified the bug in FFT. Now that GP is delivered as an application, I've lost the ability to edit the .gp files in the runtime library to find bugs and test fixes. I edited the FFT code in the runtime lib, but the fft block was unchanged when I restarted GP. Is there some way to ...