Skip to content

Commit fafa981

Browse files
Add Whisper service and its deps, and regen pom
1 parent 969eea7 commit fafa981

File tree

3 files changed

+52
-0
lines changed

3 files changed

+52
-0
lines changed

pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -550,6 +550,22 @@
550550
</dependency>
551551
<!-- JMonkeyEngine end -->
552552

553+
<!-- Joystick begin -->
554+
<dependency>
555+
<groupId>net.java.jinput</groupId>
556+
<artifactId>jinput</artifactId>
557+
<version>2.0.9</version>
558+
<scope>provided</scope>
559+
</dependency>
560+
<dependency>
561+
<groupId>jinput-natives</groupId>
562+
<artifactId>jinput-natives</artifactId>
563+
<version>2.0.7</version>
564+
<scope>provided</scope>
565+
<type>zip</type>
566+
</dependency>
567+
<!-- Joystick end -->
568+
553569
<!-- KafkaConnector begin -->
554570
<dependency>
555571
<groupId>org.apache.kafka</groupId>
@@ -1653,6 +1669,15 @@
16531669
<!-- Duplicate entry for org.myrobotlab.audio-voice-effects-1.0 skipping -->
16541670
<!-- WebkitSpeechSynthesis end -->
16551671

1672+
<!-- Whisper begin -->
1673+
<dependency>
1674+
<groupId>io.github.givimad</groupId>
1675+
<artifactId>whisper-jni</artifactId>
1676+
<version>1.4.2-6</version>
1677+
<scope>provided</scope>
1678+
</dependency>
1679+
<!-- Whisper end -->
1680+
16561681
<!-- Wii begin -->
16571682
<!-- Duplicate entry for wiiusej-wiiusej-wiiusej skipping -->
16581683
<!-- Wii end -->
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package org.myrobotlab.service;
2+
3+
import org.myrobotlab.framework.Service;
4+
import org.myrobotlab.service.config.ServiceConfig;
5+
6+
public class Whisper extends Service<ServiceConfig> {
7+
/**
8+
* Constructor of service, reservedkey typically is a services name and inId
9+
* will be its process id
10+
*
11+
* @param reservedKey the service name
12+
* @param inId process id
13+
*/
14+
public Whisper(String reservedKey, String inId) {
15+
super(reservedKey, inId);
16+
}
17+
}
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
package org.myrobotlab.service.meta;
2+
3+
import org.myrobotlab.service.meta.abstracts.MetaData;
4+
5+
public class WhisperMeta extends MetaData {
6+
public WhisperMeta() {
7+
addDescription("A local speech recognition service leveraging the popular whisper.cpp project.");
8+
addDependency("io.github.givimad", "whisper-jni", "1.4.2-6");
9+
}
10+
}

0 commit comments

Comments
 (0)