vknow360
(Sunny Gupta)
June 10, 2023, 8:37am
#1
1. Introduction
Description: Using this extension, you can create audio visualisation effects such as Wave , Bar, Hifi, Circle, etc.
Latest Version: 1
Released: 2023-06-09T18:30:00Z
Last Updated: 2023-06-09T18:30:00Z
Permissions: android.permission.RECORD_AUDIO
2. Blocks
3. Usages & Docs
Init Player
Attach Player component to visualizer
Init visualizers
Show/Hide by id
Remove visualizer
Increase/Decrease visualizer quality
Default: 0.25
animSpeed:
SLOW, MEDIUM, FAST
style:
FILL, OUTLINE
gravity:
TOP, BOTTOM
4. Previews
Blast:
Wave;
Circle:
Hifi:
Bar:
5. Download
Aix:
com.sunny.visualize.aix (33.2 KB)
Hope it helps!
14 Likes
Md_Tohaa
(Md Toha)
June 10, 2023, 1:50pm
#2
Can i do this using youtube video player?
vknow360
(Sunny Gupta)
June 10, 2023, 2:08pm
#3
You want to visualize audio from YouTube player?
vknow360
(Sunny Gupta)
June 10, 2023, 5:06pm
#5
It seems but it might not be possible as well.
I’ll check tomorrow.
1 Like
H_Player
(H Player)
September 25, 2023, 9:35pm
#6
vknow360
(Sunny Gupta)
September 26, 2023, 6:48am
#7
If player can play audio from url then extension works with online source too.
Extension doesn’t ask you to specify audio file anyway.
1 Like
i get this error
Cannot initialize Visualizer engine, error: -3
thank y for help
vknow360
(Sunny Gupta)
January 28, 2024, 12:24pm
#9
Ok, I never mentioned but extension needs android.permission.RECORD_AUDIO
permission.
sp4ubw
(Darek T)
February 3, 2024, 10:32am
#11
How to use exoplayer?
When I try to use exoplayer, I get an error, and only this one works properly and I cannot use another one instead.
vknow360
(Sunny Gupta)
February 3, 2024, 2:07pm
#12
sp4ubw:
How to use exoplayer?
Since Kodular is closed source so I don’t have access to ExoPlayer component’s source. I need at least exoplayer field’s name to use reflection.
Can you help? @pavi2410
sp4ubw
(Darek T)
February 3, 2024, 2:14pm
#13
I didn’t know that the encoder was closed. I don’t follow the posts.
Ok, what exactly should I give you?
Is an error message with visible entries enough?
vknow360
(Sunny Gupta)
February 3, 2024, 2:22pm
#14
Nothing for you to do.
Just wait until Pavi replies.
jjteban114
(jean teban)
February 14, 2024, 3:30pm
#16
Good morning
how to reduce audioVisualize line to have like this, thank you
image size 150x90
vknow360
(Sunny Gupta)
February 14, 2024, 5:27pm
#17
Like this. (Line Visulaizer)
jjteban114
(jean teban)
February 14, 2024, 9:35pm
#18
when I put line and wave have an error message : setCaptureSize() called in wrong state: 2
Note: You will not see another error reported for 5 seconds.
jjteban114
(jean teban)
February 14, 2024, 9:37pm
#19
and I would like to have a small wave. I reduced the arrangement but nothing changed
[ vknow360 ]( Sunny Gupta) can you read this
opened 12:25PM - 06 Sep 18 UTC
closed 06:45AM - 08 Sep 18 UTC
Hi,
I am using your library and got more than 1k bugs from different devices … in crashlytics.
```java
Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{coders.hub.fm.radio/com.radios.india.RadioStationActivity}: java.lang.IllegalStateException: setCaptureSize() called in wrong state: 2
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2875)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2950)
at android.app.ActivityThread.-wrap11(Unknown Source)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1616)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6759)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
```
and second logcat:-
```java
Caused by java.lang.IllegalStateException: setCaptureSize() called in wrong state: 2
at android.media.audiofx.Visualizer.setCaptureSize(Visualizer.java:315)
at me.bogerchan.niervisualizer.NierVisualizerManager.init(Unknown Source:11)
at com.radios.india.RadioStationActivity.setVisual(Unknown Source:15)
at com.radios.india.RadioStationActivity.onCreate(Unknown Source:340)
at android.app.Activity.performCreate(Activity.java:6980)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2828)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2950)
at android.app.ActivityThread.-wrap11(Unknown Source)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1616)
at android.os.Handler.dispatchMessage(Handler.java:105)
at android.os.Looper.loop(Looper.java:164)
at android.app.ActivityThread.main(ActivityThread.java:6759)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:240)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:770)
```
Other one...
```java
Fatal Exception: java.lang.NoSuchMethodError: android.media.audiofx.Visualizer.setScalingMode
at me.bogerchan.niervisualizer.NierVisualizerManager.init(Unknown Source)
at com.radios.india.RadioStationActivity.setVisual(Unknown Source)
at com.radios.india.RadioStationActivity.onCreate(Unknown Source)
at android.app.Activity.performCreate(Activity.java:4470)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1053)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:1934)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:1995)
at android.app.ActivityThread.access$600(ActivityThread.java:128)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1161)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loop(Looper.java:137)
at android.app.ActivityThread.main(ActivityThread.java:4517)
at java.lang.reflect.Method.invokeNative(Method.java)
at java.lang.reflect.Method.invoke(Method.java:511)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:993)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:760)
at dalvik.system.NativeStart.main(NativeStart.java)
```
Please check and let me know.
For" setCaptureSize() called in wrong state: 2"error
Thanks you.