Quantcast
Channel: Processing Forum
Browsing all 1768 articles
Browse latest View live

Re : the constructor UGen.UGenInput() is unidentified

I don't know much about minim, but this appears to be a feature in the next beta, not the current version of minim:...

View Article


Re : the constructor UGen.UGenInput() is unidentified

I fought with the Forum's formatting on that URL, but could not get it to display properly and highlight the minim-beta part...

View Article


Piano Roll

Hello,I have been working on this project to generate a way to read a jpeg version of a piano roll into sound. I have been using the Minim library. Eventually I would like to switch to midi bus but as...

View Article

Image may be NSFW.
Clik here to view.

Re : Piano Roll

Your Note.hole() method doesn't make any sense.Your code line ->      int c = color(0, 255);      local variable c always get the same value. That is -> #000000.And obviously, it's greater than...

View Article

Re : Piano Roll

Hello GotoLoop,Thank you for your reply. I see your point on the local variable. But then how do you check for the black the parts (hole in piano roll) verse the white (the paper) .. This is what it...

View Article


Re : Piano Roll

To read a pixel's color from a coordinate pair, use method -> get().

View Article

Re : the constructor UGen.UGenInput() is unidentified

Yes, changing formatting of part of an URL breaks the URL...And indeed, I had a quick look at the JavaDoc of Minim, the one shipped with Processing, since this has been posted in the Core Libraries...

View Article

Image may be NSFW.
Clik here to view.

Re : Piano Roll

But you need to keep in mind, what is the quality of your original image. You mentioned "JPG" in the beginning. Usually lines in JPG are very much "corrupted" by the JPG algorithm (JPG is not meant for...

View Article


Re : Open() dont work!

That open a direct access that is named chrome and opens the google chorome, and is in the sketch's folder.Sorry because my english I am spanhis!

View Article


Re : the constructor UGen.UGenInput() is unidentified

I don't think you're supposed to call the UGenInput(...) constructor. It is an internal class of UGen that represents the point at which other UGens can be connected upstream (inputs). In the UGens...

View Article

Re : Open() dont work!

Do you use a hardlink or something like that? I am not sure it works with open(). You should use the real path to Chrome.

View Article

Image may be NSFW.
Clik here to view.

Carried nodes along to music RHYTHM

Hi, I am making the game that along to the rhythm of music carried rectangulars are coming, remove rectangulars. but I don't know about how to make the carride rectangulars According to the rythm of...

View Article

Reading XON/XOFF from serial communication

Hi.I'm currently using an thermal printer.It receives data via RS232, so I'm using serial library with Serial-RS232 cable.I send data to the printer repeatedly, and I need to pause sending when XOFF is...

View Article


Re : Open() dont work!

I have already used that, but it gives me an error. This is what I have done:open("C:\Users\Juan\AppData\Local\Google\Chrome\Application\chrome.exe");And it gives me this error:Unexpected char: 'U'

View Article

Re : Open() dont work!

Yes, backslash is a special character in strings, it is used to make newlines \n, carriage return \r and similar special characters.Even on Windows, you can use forward slashes: C:/Users/Juan/...

View Article


playing a sound file on a mac 10.6.8 with processing 2.01

This seems as simple as I can find. The file does not play. All I get is a snippet of sound and it stops.Like one drum beat or maybe 3 drum beats.  It is not always the same sound when I hit play....

View Article

Re : playing a sound file on a mac 10.6.8 with processing 2.01

Is the file in the data folder of the sketch? Do you have any message in the console?

View Article


Re : playing a sound file on a mac 10.6.8 with processing 2.01

Yes, the mp3 file is in the data folder. No I do not get a message in the console. Processing is finding something since I hear a sound. Just not reading or playing the whole thing or even just the...

View Article

Re : Open() dont work!

Now it works!! Thank you very much!!!

View Article

Re : playing a sound file on a mac 10.6.8 with processing 2.01

Have you tried with another MP3 file? Mimin has trouble with some of them.

View Article
Browsing all 1768 articles
Browse latest View live