Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

86
LINES

< > BotCompany Repo | #1027007 // Audio Output using aplay [dev.]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (7093L/36K).

java.lang.RuntimeException: Unknown token 2: <: 
Warning: session_start(): open(/var/lib/php/sessions/sess_cajfh8c99gjf6f6a7s8nach686, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
{"1000658":"print function (=System.out.println + logging in memory)","1000826":"withLabel","1001518":"l function (synonym of length), length of arrays, strings, lists, size of maps","1002178":"copyFields - now uses setOpt","1003308":"centerAndSouth (make BorderLayout)","1004686":"addAll - generalizes Collection.addAll + synonym of addComponents","1005370":"callMC - call function in main class","1005725":"liveSliderZeroToOne","1006626":"vstackWithSpacing - stack components vertically","1010136":"withLeftAndRightMargin","1010541":"jrightalignedline - synonym of jrightAlignedLine","1012040":"VF1 - void function with one argument","1013911":"doEveryAndNow - synonym of doEveryStartingNow","1015556":"SimpleLiveValue","1015811":"jLiveValueLabel","1015835":"notifyingList - synonym+ of listWithNotify - list is synchronized","1016205":"DynPrintLog - show program's print log as visualization - new version with fast log view","1016701":"clipShort - clip int\/double to range of short","1018246":"audio_makeSampleFromSources","1018676":"dm_playWAV","1018745":"dm_registerService","1018941":"ownResource - synonym of _registerAutoCloseable","1021647":"dm_registerAs - return this module on a certain message in VM bus (uses module ID)","1026890":"msToSamples - milliseconds to sample count","1027005":"StreamSoundToAPlay [OK, but needs handling for ended process, e.g. when audio device changes in raspbian]"} at main.fail(m1008705.java:1589) at main$jsonDecode_Y.fail_base(m1008705.java:14008) at main$jsonDecode_Y.fail(m1008705.java:14006) at main$jsonDecode_Y.parseExpr(m1008705.java:14058) at main$jsonDecode_Y.parse(m1008705.java:14012) at main.jsonDecode(m1008705.java:13990) at main.jsonDecodeMap(m1008705.java:12844) at main.getSnippetTitles(m1008705.java:10820) at main$JavaXHyperlinker.codeToHTML(m1008705.java:6209) at main.html2(m1008705.java:85) at main.html(m1008705.java:67) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.callOpt_withVarargs(m1008705.java:4387) at main.callOpt(m1008705.java:3326) at main.callHtmlMethod2(m1008705.java:11404) at main$MyHTTPD$1.get(m1008705.java:7337) at main$MyHTTPD$1.get(m1008705.java:1) at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104) at java.base/java.lang.reflect.Method.invoke(Method.java:577) at main.invokeMethod(m1008705.java:1601) at main.safeCallF(m1008705.java:642) at main.callF(m1008705.java:611) at main$MyHTTPD.serve(m1008705.java:7373) at main$NanoHTTPD.serve_2(m1008705.java:9572) at main$NanoHTTPD.serve(m1008705.java:9553) at main$NanoHTTPD$HTTPSession.execute(m1008705.java:8453) at main$NanoHTTPD$ClientHandler.run(m1008705.java:7829) at java.base/java.lang.Thread.run(Thread.java:833)

Author comment

Began life as a copy of #1016699

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027007
Snippet name: Audio Output using aplay [dev.]
Eternal ID of this version: #1027007/5
Text MD5: 18465ff50ead49ba99642cdc01f5fa06
Transpilation MD5: 2cc043245e8067c17d23de77b71dcdc4
Author: stefan
Category: javax / audio
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-02-06 23:14:32
Source code size: 2628 bytes / 86 lines
Pitched / IR pitched: No / No
Views / Downloads: 736 / 897
Version history: 4 change(s)
Referenced in: [show references]