Go to advanced search

by narraccino
Sun Dec 17, 2017 10:28 am
Forum: General discussion
Topic: Raspberry pi for easy video call solution for old age people
Replies: 2
Views: 925

Re: Raspberry pi for easy video call solution for old age people

i've the same problem!


Did you find a solution?
by narraccino
Mon Dec 11, 2017 10:48 pm
Forum: General discussion
Topic: Videocall App for Raspberry 3
Replies: 4
Views: 6758

Videocall App for Raspberry 3

Hi,
are there videocall apps for Raspberry 3?

I can understand that Skype is heavy for Raspberry but i can use another app.
by narraccino
Tue Dec 05, 2017 3:57 pm
Forum: General discussion
Topic: [SOLVED] Real Time AUDIO chat
Replies: 9
Views: 1163

Re: Real Time AUDIO chat

Be careful. I am not "Hater", I am Heater. As I said, I am no Java expert. But the general idea in all these networking things, in whatever language, is: 1) Open a socket. Like when the program starts. 2) Receive and/or transmit a lot of stuff repeatedly. 3) Close socket. Like when you end the prog...
by narraccino
Wed Nov 01, 2017 9:11 pm
Forum: General discussion
Topic: [SOLVED] Real Time AUDIO chat
Replies: 9
Views: 1163

Re: Real Time AUDIO chat

No, I'm not a Java developer. I have used a lot of different languages over the years. Seen a lot of code that needed help. Made all those mistakes, and far more, myself. Have fun hacking on that. That is the important thing. I start to believe you have a good chance of getting it to work smoothly....
by narraccino
Mon Oct 30, 2017 11:08 am
Forum: General discussion
Topic: [SOLVED] Real Time AUDIO chat
Replies: 9
Views: 1163

Re: Real Time AUDIO chat

narraccino, I ran the java program on the shell (it hasn't GUI), but the audio is bad. I see you problem right there. Java is not so fast. Actually I'm surprised anyone would consider doing audio processing in Java. Or any kind of real-time processing for that matter. The Pi is not as fast as a cur...
by narraccino
Mon Oct 30, 2017 9:44 am
Forum: General discussion
Topic: [SOLVED] Real Time AUDIO chat
Replies: 9
Views: 1163

Re: Real Time AUDIO chat

narraccino, I ran the java program on the shell (it hasn't GUI), but the audio is bad. I see you problem right there. Java is not so fast. Actually I'm surprised anyone would consider doing audio processing in Java. Or any kind of real-time processing for that matter. The Pi is not as fast as a cur...
by narraccino
Mon Oct 30, 2017 8:27 am
Forum: General discussion
Topic: [SOLVED] Real Time AUDIO chat
Replies: 9
Views: 1163

[SOLVED] Real Time AUDIO chat

Hi, i have an audio chat program that works well on two PCs ( it is built on UDP packets). Speaker and microphone work perfectly, and each computer can hear and speak to the other. With raspberry 3, i have a spekear connected to the AUX and a USB microphone connected to the usb port. I ran the java ...
by narraccino
Sun Oct 29, 2017 5:43 pm
Forum: General discussion
Topic: Java - No line matching interface with USB
Replies: 10
Views: 1997

Re: Java - No line matching interface with USB

The program shows me this: line with format PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2 bytes/frame, little-endian not supported. so i have to search a shell command that lists to me all the audio format available for the usb audio card (with endianess, bit, frequency). That AudioFormat should be availab...
by narraccino
Sat Oct 28, 2017 2:22 pm
Forum: General discussion
Topic: Java - No line matching interface with USB
Replies: 10
Views: 1997

Re: Java - No line matching interface with USB

ok ok i found a Java program. import javax.sound.sampled.AudioSystem; import javax.sound.sampled.Line; import javax.sound.sampled.LineUnavailableException; import javax.sound.sampled.Mixer; import javax.sound.sampled.SourceDataLine; public class AudioFormat { public static void main(String[] args) t...
by narraccino
Sat Oct 28, 2017 9:07 am
Forum: General discussion
Topic: Java - No line matching interface with USB
Replies: 10
Views: 1997

Re: Java - No line matching interface with USB

It's still not clear to me why you can't use the audio from one of the Pi ports. If it sounds bad, it's because data is bad or the Pi doesn't have enough processor. Which model Pi do you have? Why you would need a sound card if you are using cryptographic algorithms is not clear either. I think the...
by narraccino
Fri Oct 27, 2017 9:11 am
Forum: General discussion
Topic: Java - No line matching interface with USB
Replies: 10
Views: 1997

Re: No line matching interface TargetDataLine

I don't know about your sound card and how the audio out works with that. You have two options with the Pi for audio out, the HDMI port and the audio output port on the Pi itself. You can set which output to use with the raspi-config program. I have tested my Intercom program with both HDMI out and...
by narraccino
Thu Oct 26, 2017 10:07 pm
Forum: General discussion
Topic: Java - No line matching interface with USB
Replies: 10
Views: 1997

Re: No line matching interface TargetDataLine

The problem is that in the Pi's audio system there are no microphone ports, I don't know why and it doesn't matter. You need to do as I suggested the last time you posted this and that is to just get a TargetDataLine and it will be the microphone. TargetDataLine line = AudioSystem.getTargetDataLine...
by narraccino
Wed Oct 25, 2017 9:36 pm
Forum: General discussion
Topic: Java - No line matching interface with USB
Replies: 10
Views: 1997

Java - No line matching interface with USB

I am using an USB Microphone with Java on Raspberry, but most of time i have this error. No line matching interface TargetDataLine supporting format PCM_SIGNED 8000.0 Hz, 16 bit, mono, 2bytes/frame, little-endian is supported I have tried the same code between two raspberrys but when i tried between...
by narraccino
Mon Oct 23, 2017 4:16 pm
Forum: Java
Topic: JVM clear cache from command line
Replies: 0
Views: 1334

JVM clear cache from command line

How can i clear the cache of JVM on raspbian?

I searched on the web and i saw that the command is:

Code: Select all

javaws -clearcache
javaws -uninstall
but javaws is not installed on Raspbian.
How can i install it?
Or, how can i clear the cache from command line (in other way) ?
by narraccino
Fri Oct 20, 2017 10:09 pm
Forum: General discussion
Topic: Execute JAR file at startup
Replies: 7
Views: 2582

Re: Execute JAR file at startup

It depends whether it uses the GUI. 1. systemd service file in /etc/systemd/system [No GUI, runs with any userid and/or group depending what you define] 2. line in /etc/rc.local [no GUI, runs as root] 3. @reboot line in crontab [no GUI, runs a pi] 4. auto start a desktop file in /home/pi/.config/au...
by narraccino
Thu Oct 19, 2017 8:10 pm
Forum: General discussion
Topic: Execute JAR file at startup
Replies: 7
Views: 2582

Re: Execute JAR file at startup

DougieLawson wrote:
Thu Oct 19, 2017 6:32 pm
That's illogical.
ok, can i run a jar automatically on start up?
how can i do it ?

thank you
by narraccino
Thu Oct 19, 2017 10:01 am
Forum: General discussion
Topic: Execute JAR file at startup
Replies: 7
Views: 2582

Re: Execute JAR file at startup

If your jar doesn't run without intervention then it's illogical to try to start it automatically. You either need to change the Java programs to hard-code the value you're inputting (unless it changes) or you have to accept that it can't be started automatically. Sorry, perhaps i did not express m...
by narraccino
Wed Oct 18, 2017 8:17 pm
Forum: General discussion
Topic: Execute JAR file at startup
Replies: 7
Views: 2582

Execute JAR file at startup

I want to execute a jar file at startup, and i need to taking the lead of the shell after the execution (because i need to type character into execution of the jar).
by narraccino
Wed Oct 18, 2017 8:13 pm
Forum: Media centres
Topic: Skype + Raspberry pi
Replies: 9
Views: 33019

Re: Skype + Raspberry pi

The de-facto Raspbian Stretch Operating System includes Chromium Web Browser, so Skype for Web may be worth trying ?? https://web.skype.com/ yes it's an idea, but it's so inconvenient because i want to use on the tv. SO, using the remote controller with Cromium it's a long shot. If you are connecti...
by narraccino
Wed Oct 18, 2017 8:07 am
Forum: Media centres
Topic: Skype + Raspberry pi
Replies: 9
Views: 33019

Re: Skype + Raspberry pi

I want to connect a webcam to raspberry and using skype on it. Since there isn't skype for smart TV nowaday, i want to use skype on my tv with raspberry. Is there a possibility? I would to use it with a remote control. Skype or other apps or other OS.-.. The de-facto Raspbian Stretch Operating Syst...
by narraccino
Tue Oct 17, 2017 9:15 am
Forum: Media centres
Topic: Skype + Raspberry pi
Replies: 9
Views: 33019

Skype + Raspberry pi

I want to connect a webcam to raspberry and using skype on it.
Since there isn't skype for smart TV nowaday, i want to use skype on my tv with raspberry.
Is there a possibility?
I would to use it with a remote control.

Skype or other apps or other OS.-..
by narraccino
Thu Oct 12, 2017 7:54 pm
Forum: Graphics, sound and multimedia
Topic: USB MIC AS DEFAULT
Replies: 1
Views: 2899

USB MIC AS DEFAULT

I have a USB MICROPHONE http://www.dx.com/p/mi-305-the-world-s-smallest-usb-2-0-microphone-black-285812#.Wd-90xOCxjc i want the default audio input to be USB Mic, and the default sound output to be the normal 3.5mm jack on the Raspberry Pi. I am not using a USB Audio Card. I just wanted to change th...
by narraccino
Wed Oct 11, 2017 3:28 pm
Forum: Java
Topic: ALSA - AudioSystem.isLineSupported FAILS with USB MIC
Replies: 2
Views: 1786

ALSA - AudioSystem.isLineSupported FAILS with USB MIC

Hi, i'm using an USB MIC on a Raspberry and i'm developing with the JAVA SOUND API but the Line is Not Supported, why? I've executed this code on a normal PC with Linux and it works (the Line is supported and the Mic works) What is missing? how can is get Line Supported? the cose is this: import jav...
by narraccino
Thu Sep 21, 2017 8:30 am
Forum: Java
Topic: LCD I2C 16x2
Replies: 1
Views: 1498

LCD I2C 16x2

Hi

i want to use this LCD i2c panel with java.
Where can i find a code example for this?

thank you
20170921_004321.jpg
20170921_004321.jpg (80.86 KiB) Viewed 1496 times
by narraccino
Thu Aug 03, 2017 8:14 pm
Forum: General discussion
Topic: Pi4J - Download package JAR wiringPi
Replies: 1
Views: 869

Pi4J - Download package JAR wiringPi

Hi, i want to use the JAR file of the package com.pi4j.wiringpi; but i can't find the JAR file on the website. I'm developing from computer and not from Raspberry Pi. Can someone send to me the instructions to find the package? For example i can't compile this from PC https://github.com/Pi4J/pi4j/bl...

Go to advanced search