File tree Expand file tree Collapse file tree 3 files changed +52
-0
lines changed
src/main/java/org/myrobotlab/service Expand file tree Collapse file tree 3 files changed +52
-0
lines changed Original file line number Diff line number Diff line change 554
554
</dependency >
555
555
<!-- JMonkeyEngine end -->
556
556
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
+
557
573
<!-- KafkaConnector begin -->
558
574
<dependency >
559
575
<groupId >org.apache.kafka</groupId >
1657
1673
<!-- Duplicate entry for org.myrobotlab.audio-voice-effects-1.0 skipping -->
1658
1674
<!-- WebkitSpeechSynthesis end -->
1659
1675
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
+
1660
1685
<!-- Wii begin -->
1661
1686
<!-- Duplicate entry for wiiusej-wiiusej-wiiusej skipping -->
1662
1687
<!-- Wii end -->
Original file line number Diff line number Diff line change
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
+ }
Original file line number Diff line number Diff line change
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
+ }
You can’t perform that action at this time.
0 commit comments