๐ umjammer portal
umjammer / vavi-sound-sandbox Goto Github PK
View Code? Open in Web Editor NEW๐ต Sound sandbox (JSyn synth, CoreAudio synth, opl3 synth, OPUS Java soud SPI, etc...)
๐ต Sound sandbox (JSyn synth, CoreAudio synth, opl3 synth, OPUS Java soud SPI, etc...)
Tracking issue for:
Tracking issue for:
Tracking issue for:
Dear Naohide Sano,
I've found the bug:
in line 977 of SSRC2.java there should be some change
rawoutbuf.limit(dbps * nch * (nsmplwrt2 - delay)); >>>
rawoutbuf.limit(dbps * nch * (nsmplwrt2));
The same issue is for downsample() method.
Now after this correction the output is similar to the C version of SSRC
(number of output samples is the same).
-------- Original Message --------
Subject: SSRC implementation in java
Date: Wed, 14 Jul 2010 01:02:01 +0200
From: Maksim Khadkevich [email protected]
Organisation: FBK
To: [email protected]
Dear Naohide Sano,
First of all, thank you very much for the developing vavi-sound
open-source project! There are a lot of useful tools for audio signal
processing.
Recently I've tried to use your port of SSRC resampler to java. It works
nice, except for one thing: the output audio file is cut for a number of
samples that depends on the input and output sampling rates.
delay = (int) ((double) n1 / 2 / ((double) fs1 / dfrq) + (double) n2
/ 2 / ((double) fs2 / dfrq));
The delay in samples calculated in this line is missing from the
beginning of the output file. At the same time C implementation of SSRC
does not have this shortcoming.
If you have some time, please, could you investigate this issue and let
me know, if it can be fixed.
Thanks in advance for the answer! And again, thanks a lot for your
amazing tools!
--
Best regards,
Maksim Khadkevich
Tracking issue for:
macos-13 rococa
java.lang.ArrayIndexOutOfBoundsException: Index 2 out of bounds for length 2
at com.sun.jna.Function.invoke(Function.java:345)
at com.sun.jna.Function.invoke(Function.java:318)
at org.rococoa.internal.MsgSendHandler.invoke(MsgSendHandler.java:192)
at com.sun.jna.Library$Handler.invoke(Library.java:268)
at jdk.proxy2/jdk.proxy2.$Proxy16.syntheticSendMessage(Unknown Source)
at org.rococoa.Foundation.send(Foundation.java:240)
at org.rococoa.Foundation.send(Foundation.java:216)
at org.rococoa.Foundation.send(Foundation.java:212)
at org.rococoa.internal.ObjCObjectInvocationHandler.sendOnThisOrMainThread(ObjCObjectInvocationHandler.java:251)
at org.rococoa.internal.ObjCObjectInvocationHandler.invokeCocoa(ObjCObjectInvocationHandler.java:218)
at org.rococoa.internal.ObjCObjectInvocationHandler.intercept(ObjCObjectInvocationHandler.java:175)
at vavix.rococoa.avfoundation.AVAudioFormat$$ByRococoa.initWithStreamDescription(Unknown Source)
at vavix.rococoa.avfoundation.AVAudioFormat.init(AVAudioFormat.java:45)
at vavix.rococoa.avfoundation.AVFoundationTest.test01(AVFoundationTest.java:62)
Tracking issue for:
Tracking issue for:
macos-14 wtf?
[INFO] -------------------------------------------------------
[INFO] T E S T S
[INFO] -------------------------------------------------------
[INFO] Running org.klab.packetcast.audio.AmplitudeAudioInputStreamTest
2024-02-12 06:29:35,421 [FINE] enter available: 1764044
at vavi.sound.sampled.alac.AlacAudioFileReader.getAudioFileFormat(AlacAudioFileReader.java:74)
2024-02-12 06:29:35,425 [FINE] error exit available: 1764044
at vavi.sound.sampled.alac.AlacAudioFileReader.getAudioFileFormat(AlacAudioFileReader.java:79)
2024-02-12 06:29:38,115 [FINE] enter available: 1764044
at vavi.sound.sampled.alac.AlacAudioFileReader.getAudioFileFormat(AlacAudioFileReader.java:74)
2024-02-12 06:29:38,117 [FINE] error exit available: 1764044
at vavi.sound.sampled.alac.AlacAudioFileReader.getAudioFileFormat(AlacAudioFileReader.java:79)
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.009 s -- in org.klab.packetcast.audio.AmplitudeAudioInputStreamTest
[INFO] Running MmlTest
Warning: Tests run: 1, Failures: 0, Errors: 0, Skipped: 1, Time elapsed: 0.002 s -- in MmlTest
[INFO] Running vavi.sound.sampled.opus.OpusTest
2024-02-12 06:29:40,144 [INFO] Time was 103ms
at vavi.sound.sampled.opus.OpusTest.test(OpusTest.java:117)
2024-02-12 06:29:40,144 [INFO] Done!
at vavi.sound.sampled.opus.OpusTest.test(OpusTest.java:[120](https://github.com/umjammer/vavi-sound-sandbox/actions/runs/7868088543/job/21464741612?pr=16#step:5:121))
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.168 s -- in vavi.sound.sampled.opus.OpusTest
[INFO] Running vavi.sound.sampled.opus.OpusFormatConversionProviderTest
2024-02-12 06:29:40,469 [FINE] enter available: [127](https://github.com/umjammer/vavi-sound-sandbox/actions/runs/7868088543/job/21464741612?pr=16#step:5:128)120
at vavi.sound.sampled.opus.OpusAudioFileReader.getAudioFileFormat(OpusAudioFileReader.java:72)
2024-02-12 06:29:40,474 [FINE] finally available: 127120
at vavi.sound.sampled.opus.OpusAudioFileReader.getAudioFileFormat(OpusAudioFileReader.java:93)
2024-02-12 06:29:40,476 [INFO] IN: OPUS 48000.0 Hz, unknown bits per sample, stereo, unknown frame size, unknown frame rate
at vavi.sound.sampled.opus.OpusFormatConversionProviderTest.test0(OpusFormatConversionProviderTest.java:49)
2024-02-12 06:29:40,477 [INFO] OUT: PCM_SIGNED 48000.0 Hz, 16 bit, stereo, 4 bytes/frame, little-endian
at vavi.sound.sampled.opus.OpusFormatConversionProviderTest.test0(OpusFormatConversionProviderTest.java:56)
2024-02-12 06:29:40,610 [FINE] โ
1 info: Rococoa Mixer, version 0.0.1
at vavi.sound.sampled.rococoa.RococoaMixerProvider.getMixer(RococoaMixerProvider.java:34)
Skipping non audio packet org.gagravarr.opus.OpusInfo@1b45c0e mid audio stream
Skipping non audio packet org.gagravarr.opus.OpusTags@11f0a5a1 mid audio stream
2024-02-12 06:36:41,806 [INFO] Start
at vavi.sound.sampled.opus.OpusFormatConversionProviderTest.lambda$test0$0(OpusFormatConversionProviderTest.java:64)
Error: The operation was canceled.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.