Skip to content

Commit fe942bc

Browse files
Add Whisper service and its deps, and regen pom
1 parent 83d31f6 commit fe942bc

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
@@ -554,6 +554,22 @@
554554
</dependency>
555555
<!-- JMonkeyEngine end -->
556556

557+
<!-- Joystick begin -->
558+
<dependency>
559+
<groupId>net.java.jinput</groupId>
560+
<artifactId>jinput</artifactId>
561+
<version>2.0.9</version>
562+
<scope>provided</scope>
563+
</dependency>
564+
<dependency>
565+
<groupId>jinput-natives</groupId>
566+
<artifactId>jinput-natives</artifactId>
567+
<version>2.0.7</version>
568+
<scope>provided</scope>
569+
<type>zip</type>
570+
</dependency>
571+
<!-- Joystick end -->
572+
557573
<!-- KafkaConnector begin -->
558574
<dependency>
559575
<groupId>org.apache.kafka</groupId>
@@ -1657,6 +1673,15 @@
16571673
<!-- Duplicate entry for org.myrobotlab.audio-voice-effects-1.0 skipping -->
16581674
<!-- WebkitSpeechSynthesis end -->
16591675

1676+
<!-- Whisper begin -->
1677+
<dependency>
1678+
<groupId>io.github.givimad</groupId>
1679+
<artifactId>whisper-jni</artifactId>
1680+
<version>1.4.2-6</version>
1681+
<scope>provided</scope>
1682+
</dependency>
1683+
<!-- Whisper end -->
1684+
16601685
<!-- Wii begin -->
16611686
<!-- Duplicate entry for wiiusej-wiiusej-wiiusej skipping -->
16621687
<!-- 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)