One little wrinkle is that the initial post cannot be marked as a solution, so it doesn’t allow self-answers, like this:
In Linux I was getting this error when using the Beads audio library:
Exception in thread "Thread-1" java.lang.IllegalArgumentException: Line unsupported: interface SourceDataLine supporting format PCM_SIGNED 44100.0 Hz, 16 bit, stereo, 4 bytes/frame, big-endian
at java.desktop/com.sun.media.sound.PortMixer.getLine(PortMixer.java:131)
at beads.JavaSoundAudioIO.create(Unknown Source)
at beads.JavaSoundAudioIO$1.run(Unknown Source)
at java.base/java.lang.Thread.run(Thread.java:844)
Since I d…
Hi!
I was trying to figure out how to check if a device is connected to the internet, but couldn’t find any helpful results on google (this is the only thing I found). I eventually figured it out, and wanted to share my code, so that other beginners like me won’t have to google for hours. I’ve seen other people post stuff like this, so I hope this is not considered as a waste of space or anything.
boolean isConnected() {
String[] file; //creates a String that will be loaded with stuff from t…
I was using different text sizes in a recent project and was getting blurry fonts.
I solve this issue by setting the largest text size in setup() and problem solved!
Here is the code I used to test this:
/*
Project: Blurry Text
Author: GLV
Date: 2019-05-15
Version: 01
*/
void settings()
{
size(1024, 768, P3D);
}
void setup()
{
textSize(128); // Set to largest text size used to prevent blurring of text
}
void draw()
{
background(0);
text24();
t…
But overall it seems to be working well.
We might want to consider enabling the “Show a dropdown to filter a topic list” setting – currently the Advanced Search has no field for solved / unsolved.
3 Likes